Polar MCP by usefulapi is an MCP server published by io.usefulapi, hosted at polar-sh.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 26 tools, including polar_list_organizations, polar_list_products, polar_get_product, polar_list_customers, polar_get_customer.
Products, customers, orders, subscriptions, benefits, revenue metrics and refunds.
4,433 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the organisations the token can act for. Start here — most other tools take an organization_id. Polar: GET /v1/organizations/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
{
"name": "polar_list_organizations",
"title": "List organisations",
"description": "List the organisations the token can act for. Start here — most other tools take an organization_id. Polar: GET /v1/organizations/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
}
}
},
"annotations": {
"title": "List organisations",
"readOnlyHint": true
}
}List products, optionally filtered by archived state, recurrence or a text query. Polar: GET /v1/products/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| query | string | Free-text search over product names. |
| is_archived | boolean | Only archived, or only live, products. |
| is_recurring | boolean | Only subscriptions, or only one-off products. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_products",
"title": "List products",
"description": "List products, optionally filtered by archived state, recurrence or a text query. Polar: GET /v1/products/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"query": {
"type": "string",
"description": "Free-text search over product names."
},
"is_archived": {
"type": "boolean",
"description": "Only archived, or only live, products."
},
"is_recurring": {
"type": "boolean",
"description": "Only subscriptions, or only one-off products."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List products",
"readOnlyHint": true
}
}Fetch a single product with its prices and attached benefits. Polar: GET /v1/products/{id}.
| Parameter | Type | Description |
|---|---|---|
| product_id * | string | The product's id. |
{
"name": "polar_get_product",
"title": "Get one product",
"description": "Fetch a single product with its prices and attached benefits. Polar: GET /v1/products/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"product_id"
],
"properties": {
"product_id": {
"type": "string",
"description": "The product's id."
}
}
},
"annotations": {
"title": "Get one product",
"readOnlyHint": true
}
}List customers, optionally by email or a text query. Polar: GET /v1/customers/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| string | Only the customer with this email. | |
| limit | integer | Page size, 1-100. |
| query | string | Free-text search over name and email. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_customers",
"title": "List customers",
"description": "List customers, optionally by email or a text query. Polar: GET /v1/customers/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"email": {
"type": "string",
"description": "Only the customer with this email."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"query": {
"type": "string",
"description": "Free-text search over name and email."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true
}
}Fetch a single customer by Polar id. Polar: GET /v1/customers/{id}.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | string | The customer's Polar id. |
{
"name": "polar_get_customer",
"title": "Get one customer",
"description": "Fetch a single customer by Polar id. Polar: GET /v1/customers/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "string",
"description": "The customer's Polar id."
}
}
},
"annotations": {
"title": "Get one customer",
"readOnlyHint": true
}
}Fetch everything about one customer in a single call — active subscriptions, granted benefits and entitlements. The best answer to 'what does this customer currently have?'. Polar: GET /v1/customers/{id}/state.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | string | The customer's Polar id. |
{
"name": "polar_get_customer_state",
"title": "Get a customer's full state",
"description": "Fetch everything about one customer in a single call — active subscriptions, granted benefits and entitlements. The best answer to 'what does this customer currently have?'. Polar: GET /v1/customers/{id}/state.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "string",
"description": "The customer's Polar id."
}
}
},
"annotations": {
"title": "Get a customer's full state",
"readOnlyHint": true
}
}Same as polar_get_customer_state, but looked up by YOUR external id rather than Polar's — the usual path when you hold your own user id. Polar: GET /v1/customers/external/{external_id}/state.
| Parameter | Type | Description |
|---|---|---|
| external_id * | string | Your own id for this customer. |
{
"name": "polar_get_customer_state_by_external_id",
"title": "Get a customer's state by your own id",
"description": "Same as polar_get_customer_state, but looked up by YOUR external id rather than Polar's — the usual path when you hold your own user id. Polar: GET /v1/customers/external/{external_id}/state.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"external_id"
],
"properties": {
"external_id": {
"type": "string",
"description": "Your own id for this customer."
}
}
},
"annotations": {
"title": "Get a customer's state by your own id",
"readOnlyHint": true
}
}List orders, filtered by customer, product, subscription, status or a date window. Polar: GET /v1/orders/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| status | string | Only orders in this state, e.g. paid, pending, refunded. |
| product_id | string | Only orders for this product. |
| customer_id | string | Only this customer's orders. |
| created_after | string | ISO-8601 lower bound on creation time. |
| created_before | string | ISO-8601 upper bound on creation time. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
| subscription_id | string | Only orders from this subscription. |
{
"name": "polar_list_orders",
"title": "List orders",
"description": "List orders, filtered by customer, product, subscription, status or a date window. Polar: GET /v1/orders/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"status": {
"type": "string",
"description": "Only orders in this state, e.g. paid, pending, refunded."
},
"product_id": {
"type": "string",
"description": "Only orders for this product."
},
"customer_id": {
"type": "string",
"description": "Only this customer's orders."
},
"created_after": {
"type": "string",
"description": "ISO-8601 lower bound on creation time."
},
"created_before": {
"type": "string",
"description": "ISO-8601 upper bound on creation time."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
},
"subscription_id": {
"type": "string",
"description": "Only orders from this subscription."
}
}
},
"annotations": {
"title": "List orders",
"readOnlyHint": true
}
}Fetch a single order with its line items, discount and tax. Polar: GET /v1/orders/{id}.
| Parameter | Type | Description |
|---|---|---|
| order_id * | string | The order's id. |
{
"name": "polar_get_order",
"title": "Get one order",
"description": "Fetch a single order with its line items, discount and tax. Polar: GET /v1/orders/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"order_id": {
"type": "string",
"description": "The order's id."
}
}
},
"annotations": {
"title": "Get one order",
"readOnlyHint": true
}
}List subscriptions, filtered by customer, product, status, active state or cancellation window. Polar: GET /v1/subscriptions/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| active | boolean | Only active, or only inactive, subscriptions. |
| status | string | Only subscriptions in this state. |
| product_id | string | Only subscriptions to this product. |
| customer_id | string | Only this customer's subscriptions. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
| cancel_at_period_end | boolean | Only those already set to cancel — your churn pipeline. |
{
"name": "polar_list_subscriptions",
"title": "List subscriptions",
"description": "List subscriptions, filtered by customer, product, status, active state or cancellation window. Polar: GET /v1/subscriptions/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"active": {
"type": "boolean",
"description": "Only active, or only inactive, subscriptions."
},
"status": {
"type": "string",
"description": "Only subscriptions in this state."
},
"product_id": {
"type": "string",
"description": "Only subscriptions to this product."
},
"customer_id": {
"type": "string",
"description": "Only this customer's subscriptions."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
},
"cancel_at_period_end": {
"type": "boolean",
"description": "Only those already set to cancel — your churn pipeline."
}
}
},
"annotations": {
"title": "List subscriptions",
"readOnlyHint": true
}
}Fetch a single subscription with its product, price and period. Polar: GET /v1/subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
| subscription_id * | string | The subscription's id. |
{
"name": "polar_get_subscription",
"title": "Get one subscription",
"description": "Fetch a single subscription with its product, price and period. Polar: GET /v1/subscriptions/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"subscription_id"
],
"properties": {
"subscription_id": {
"type": "string",
"description": "The subscription's id."
}
}
},
"annotations": {
"title": "Get one subscription",
"readOnlyHint": true
}
}Fetch revenue and subscription metrics over a date range, bucketed by interval — orders, revenue, MRR, active subscriptions. Polar: GET /v1/metrics/.
| Parameter | Type | Description |
|---|---|---|
| end_date * | string | End of the window, YYYY-MM-DD. |
| interval * | string | Bucket size for the series. |
| product_id | string | Only this product's metrics. |
| start_date * | string | Start of the window, YYYY-MM-DD. |
| customer_id | string | Only this customer's metrics. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_get_metrics",
"title": "Get revenue metrics",
"description": "Fetch revenue and subscription metrics over a date range, bucketed by interval — orders, revenue, MRR, active subscriptions. Polar: GET /v1/metrics/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date",
"interval"
],
"properties": {
"end_date": {
"type": "string",
"description": "End of the window, YYYY-MM-DD."
},
"interval": {
"enum": [
"hour",
"day",
"week",
"month",
"year"
],
"type": "string",
"description": "Bucket size for the series."
},
"product_id": {
"type": "string",
"description": "Only this product's metrics."
},
"start_date": {
"type": "string",
"description": "Start of the window, YYYY-MM-DD."
},
"customer_id": {
"type": "string",
"description": "Only this customer's metrics."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "Get revenue metrics",
"readOnlyHint": true
}
}List benefits — the things a product grants, such as licence keys, file downloads or Discord roles. Polar: GET /v1/benefits/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| type | string | Only benefits of this type. |
| limit | integer | Page size, 1-100. |
| query | string | Free-text search. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_benefits",
"title": "List benefits",
"description": "List benefits — the things a product grants, such as licence keys, file downloads or Discord roles. Polar: GET /v1/benefits/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"type": {
"type": "string",
"description": "Only benefits of this type."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"query": {
"type": "string",
"description": "Free-text search."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List benefits",
"readOnlyHint": true
}
}List who has been granted one benefit, and whether the grant is still active. Polar: GET /v1/benefits/{id}/grants.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| benefit_id * | string | The benefit's id. |
{
"name": "polar_list_benefit_grants",
"title": "List grants of a benefit",
"description": "List who has been granted one benefit, and whether the grant is still active. Polar: GET /v1/benefits/{id}/grants.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"benefit_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"benefit_id": {
"type": "string",
"description": "The benefit's id."
}
}
},
"annotations": {
"title": "List grants of a benefit",
"readOnlyHint": true
}
}List discount codes and their redemption limits. Polar: GET /v1/discounts/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| query | string | Free-text search over discount names and codes. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_discounts",
"title": "List discounts",
"description": "List discount codes and their redemption limits. Polar: GET /v1/discounts/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"query": {
"type": "string",
"description": "Free-text search over discount names and codes."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List discounts",
"readOnlyHint": true
}
}List refunds, filtered by order, subscription, customer or success. Polar: GET /v1/refunds/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| order_id | string | Only refunds against this order. |
| succeeded | boolean | Only successful, or only failed, refunds. |
| customer_id | string | Only this customer's refunds. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_refunds",
"title": "List refunds",
"description": "List refunds, filtered by order, subscription, customer or success. Polar: GET /v1/refunds/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"order_id": {
"type": "string",
"description": "Only refunds against this order."
},
"succeeded": {
"type": "boolean",
"description": "Only successful, or only failed, refunds."
},
"customer_id": {
"type": "string",
"description": "Only this customer's refunds."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List refunds",
"readOnlyHint": true
}
}List issued licence keys and their status. Polar: GET /v1/license-keys/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| status | string | Only keys in this state, e.g. granted, revoked, disabled. |
| benefit_id | string | Only keys from this benefit. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_license_keys",
"title": "List licence keys",
"description": "List issued licence keys and their status. Polar: GET /v1/license-keys/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"status": {
"type": "string",
"description": "Only keys in this state, e.g. granted, revoked, disabled."
},
"benefit_id": {
"type": "string",
"description": "Only keys from this benefit."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List licence keys",
"readOnlyHint": true
}
}List the usage meters that aggregate events into billable quantities. Polar: GET /v1/meters/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_meters",
"title": "List usage meters",
"description": "List the usage meters that aggregate events into billable quantities. Polar: GET /v1/meters/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List usage meters",
"readOnlyHint": true
}
}Fetch the aggregated quantities a meter has recorded over a window — what usage-based billing will charge for. Polar: GET /v1/meters/{id}/quantities.
| Parameter | Type | Description |
|---|---|---|
| interval * | string | Bucket size for the series. |
| meter_id * | string | The meter's id. |
| customer_id | string | Only this customer's usage. |
| end_timestamp * | string | ISO-8601 end of the window. |
| start_timestamp * | string | ISO-8601 start of the window. |
{
"name": "polar_get_meter_quantities",
"title": "Get a meter's quantities",
"description": "Fetch the aggregated quantities a meter has recorded over a window — what usage-based billing will charge for. Polar: GET /v1/meters/{id}/quantities.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"meter_id",
"start_timestamp",
"end_timestamp",
"interval"
],
"properties": {
"interval": {
"enum": [
"hour",
"day",
"week",
"month",
"year"
],
"type": "string",
"description": "Bucket size for the series."
},
"meter_id": {
"type": "string",
"description": "The meter's id."
},
"customer_id": {
"type": "string",
"description": "Only this customer's usage."
},
"end_timestamp": {
"type": "string",
"description": "ISO-8601 end of the window."
},
"start_timestamp": {
"type": "string",
"description": "ISO-8601 start of the window."
}
}
},
"annotations": {
"title": "Get a meter's quantities",
"readOnlyHint": true
}
}List the raw usage events ingested for metering, filtered by customer, meter, name or time. Polar: GET /v1/events/.
| Parameter | Type | Description |
|---|---|---|
| name | string | Only events with this name. |
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| meter_id | string | Only events matching this meter. |
| customer_id | string | Only this customer's events. |
| end_timestamp | string | ISO-8601 upper bound. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
| start_timestamp | string | ISO-8601 lower bound. |
{
"name": "polar_list_events",
"title": "List usage events",
"description": "List the raw usage events ingested for metering, filtered by customer, meter, name or time. Polar: GET /v1/events/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"description": "Only events with this name."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"meter_id": {
"type": "string",
"description": "Only events matching this meter."
},
"customer_id": {
"type": "string",
"description": "Only this customer's events."
},
"end_timestamp": {
"type": "string",
"description": "ISO-8601 upper bound."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
},
"start_timestamp": {
"type": "string",
"description": "ISO-8601 lower bound."
}
}
},
"annotations": {
"title": "List usage events",
"readOnlyHint": true
}
}List webhook delivery attempts with their HTTP results — the tool for 'why did my webhook not arrive?'. Polar: GET /v1/webhooks/deliveries.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| succeeded | boolean | Only failures, or only successes. |
| event_type | string | Only deliveries of this event type. |
| endpoint_id | string | Only deliveries to this endpoint. |
| end_timestamp | string | ISO-8601 upper bound. |
| start_timestamp | string | ISO-8601 lower bound. |
{
"name": "polar_list_webhook_deliveries",
"title": "List webhook deliveries",
"description": "List webhook delivery attempts with their HTTP results — the tool for 'why did my webhook not arrive?'. Polar: GET /v1/webhooks/deliveries.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"succeeded": {
"type": "boolean",
"description": "Only failures, or only successes."
},
"event_type": {
"type": "string",
"description": "Only deliveries of this event type."
},
"endpoint_id": {
"type": "string",
"description": "Only deliveries to this endpoint."
},
"end_timestamp": {
"type": "string",
"description": "ISO-8601 upper bound."
},
"start_timestamp": {
"type": "string",
"description": "ISO-8601 lower bound."
}
}
},
"annotations": {
"title": "List webhook deliveries",
"readOnlyHint": true
}
}List the configured webhook endpoints and their subscribed events. Polar: GET /v1/webhooks/endpoints.
| Parameter | Type | Description |
|---|---|---|
| page | integer | 1-based page number. |
| limit | integer | Page size, 1-100. |
| organization_id | string | Restrict to this organisation id. Needed when the token spans several organisations. |
{
"name": "polar_list_webhook_endpoints",
"title": "List webhook endpoints",
"description": "List the configured webhook endpoints and their subscribed events. Polar: GET /v1/webhooks/endpoints.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "1-based page number."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size, 1-100."
},
"organization_id": {
"type": "string",
"description": "Restrict to this organisation id. Needed when the token spans several organisations."
}
}
},
"annotations": {
"title": "List webhook endpoints",
"readOnlyHint": true
}
}Queue one webhook event for redelivery after your endpoint recovered. Polar: POST /v1/webhooks/events/{id}/redeliver.
| Parameter | Type | Description |
|---|---|---|
| event_id * | string | The webhook event to resend. |
{
"name": "polar_redeliver_webhook_event",
"title": "Redeliver a webhook event",
"description": "Queue one webhook event for redelivery after your endpoint recovered. Polar: POST /v1/webhooks/events/{id}/redeliver.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"event_id"
],
"properties": {
"event_id": {
"type": "string",
"description": "The webhook event to resend."
}
}
},
"annotations": {
"title": "Redeliver a webhook event",
"destructiveHint": true
}
}Refund an order, in full or in part. This moves real money back to the customer. Polar: POST /v1/refunds/.
| Parameter | Type | Description |
|---|---|---|
| amount | integer | Amount in the currency's minor unit (cents). Omit to refund the full order. |
| reason * | string | Why the refund is being issued. |
| comment | string | An internal note about the refund. |
| order_id * | string | The order to refund. |
| revoke_benefits | boolean | Also revoke the benefits the order granted. Defaults to false. |
{
"name": "polar_create_refund",
"title": "Refund an order",
"description": "Refund an order, in full or in part. This moves real money back to the customer. Polar: POST /v1/refunds/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id",
"reason"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Amount in the currency's minor unit (cents). Omit to refund the full order."
},
"reason": {
"enum": [
"duplicate",
"fraudulent",
"customer_request",
"service_disruption",
"satisfaction_guarantee",
"other"
],
"type": "string",
"description": "Why the refund is being issued."
},
"comment": {
"type": "string",
"description": "An internal note about the refund."
},
"order_id": {
"type": "string",
"description": "The order to refund."
},
"revoke_benefits": {
"type": "boolean",
"description": "Also revoke the benefits the order granted. Defaults to false."
}
}
},
"annotations": {
"title": "Refund an order",
"destructiveHint": true
}
}Cancel a subscription at the end of its current period. The customer keeps access until then. Polar: PATCH /v1/subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
| subscription_id * | string | The subscription to cancel. |
| customer_cancellation_reason | string | Why the customer is leaving, for your churn reporting. |
| customer_cancellation_comment | string | The customer's own words. |
{
"name": "polar_cancel_subscription",
"title": "Cancel a subscription",
"description": "Cancel a subscription at the end of its current period. The customer keeps access until then. Polar: PATCH /v1/subscriptions/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"subscription_id"
],
"properties": {
"subscription_id": {
"type": "string",
"description": "The subscription to cancel."
},
"customer_cancellation_reason": {
"type": "string",
"description": "Why the customer is leaving, for your churn reporting."
},
"customer_cancellation_comment": {
"type": "string",
"description": "The customer's own words."
}
}
},
"annotations": {
"title": "Cancel a subscription",
"destructiveHint": true
}
}Create a reusable checkout URL for one or more products — the link you put in a page or an email. Polar: POST /v1/checkout-links/.
| Parameter | Type | Description |
|---|---|---|
| label | string | An internal label for the link. |
| products * | array | Product ids the link sells. |
| discount_id | string | Apply this discount automatically. |
| success_url | string | Where to send the buyer after payment. |
| allow_discount_codes | boolean | Let the buyer enter a discount code. Defaults to true. |
{
"name": "polar_create_checkout_link",
"title": "Create a checkout link",
"description": "Create a reusable checkout URL for one or more products — the link you put in a page or an email. Polar: POST /v1/checkout-links/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"products"
],
"properties": {
"label": {
"type": "string",
"description": "An internal label for the link."
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "Product ids the link sells."
},
"discount_id": {
"type": "string",
"description": "Apply this discount automatically."
},
"success_url": {
"type": "string",
"description": "Where to send the buyer after payment."
},
"allow_discount_codes": {
"type": "boolean",
"description": "Let the buyer enter a discount code. Defaults to true."
}
}
},
"annotations": {
"title": "Create a checkout link",
"destructiveHint": true
}
}Tools for Polar, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "What was our revenue and MRR for the last 3 months?"; "List our cancelled subscriptions with their customer and cancellation date."; "List this week's orders with the customer and amount.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Polar data. Free plan: 50 tool calls per month. Run polar_sh_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run polar_sh_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run polar_sh_upgrade without a plan: it returns both plans, each with a payment link for the user to open. polar_sh_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.