Skip to main content
Glama

Stripe List Subscriptions

stripe_list_subscriptions
Read-onlyIdempotent

List subscriptions on a Stripe account via the Stripe API (api.stripe.com/v1/subscriptions), authenticated with a Stripe secret or restricted key passed as _apiKey, with optional customer id and status filters (active, canceled, past_due, trialing, unpaid) and a limit of 1-100. Returns each subscription id, customer, price and plan items, status, and current period start and end. Answers who is subscribed to a Stripe billing plan and on what terms.

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-100, default 10)
statusNoFilter by status (active, canceled, past_due, etc.)
_apiKeyYesStripe secret or restricted API key (sk_...)
customerNoFilter by customer ID

Output Schema

NameRequiredDescriptionDefault
urlNoAPI endpoint URL
dataNoArray of subscription objects
objectNoObject type (list)
has_moreNoWhether more results exist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "description": "Array of subscription objects",
      +      "items": {
      +        "properties": {
      +          "application": {
      +            "description": "Application ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "automatic_tax": {
      +            "description": "Automatic tax settings",
      +            "type": "object"
      +          },
      +          "billing_cycle_anchor": {
      +            "description": "Billing cycle anchor timestamp",
      +            "type": "integer"
      +          },
      +          "billing_thresholds": {
      +            "description": "Billing thresholds",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "cancel_at": {
      +            "description": "Cancel at timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "cancel_at_period_end": {
      +            "description": "Cancel at period end",
      +            "type": "boolean"
      +          },
      +          "canceled_at": {
      +            "description": "Canceled at timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "collection_method": {
      +            "description": "Collection method",
      +            "type": "string"
      +          },
      +          "created": {
      +            "description": "Creation timestamp",
      +            "type": "integer"
      +          },
      +          "currency": {
      +            "description": "Currency code",
      +            "type": "string"
      +          },
      +          "current_period_end": {
      +            "description": "Current period end timestamp",
      +            "type": "integer"
      +          },
      +          "current_period_start": {
      +            "description": "Current period start timestamp",
      +            "type": "integer"
      +          },
      +          "customer": {
      +            "description": "Customer ID",
      +            "type": "string"
      +          },
      +          "days_until_due": {
      +            "description": "Days until due",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "default_payment_method": {
      +            "description": "Default payment method ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "default_source": {
      +            "description": "Default source ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "default_tax_rates": {
      +            "description": "Default tax rates",
      +            "type": "array"
      +          },
      +          "description": {
      +            "description": "Subscription description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "discount": {
      +            "description": "Applied discount",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "ended_at": {
      +            "description": "Ended at timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Subscription ID",
      +            "type": "string"
      +          },
      +          "items": {
      +            "description": "Subscription items list",
      +            "type": "object"
      +          },
      +          "latest_invoice": {
      +            "description": "Latest invoice ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "livemode": {
      +            "description": "Live mode",
      +            "type": "boolean"
      +          },
      +          "metadata": {
      +            "description": "Custom metadata",
      +            "type": "object"
      +          },
      +          "next_pending_invoice_item_invoice": {
      +            "description": "Next pending invoice timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "object": {
      +            "description": "Object type (subscription)",
      +            "type": "string"
      +          },
      +          "on_behalf_of": {
      +            "description": "On behalf of account ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "pause_collection": {
      +            "description": "Pause collection settings",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "payment_settings": {
      +            "description": "Payment settings",
      +            "type": "object"
      +          },
      +          "pending_invoice_item_interval": {
      +            "description": "Pending invoice item interval",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "pending_setup_intent": {
      +            "description": "Pending setup intent ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "pending_update": {
      +            "description": "Pending update",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "schedule": {
      +            "description": "Schedule ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "start_date": {
      +            "description": "Start date timestamp",
      +            "type": "integer"
      +          },
      +          "status": {
      +            "description": "Subscription status",
      +            "type": "string"
      +          },
      +          "test_clock": {
      +            "description": "Test clock ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "transfer_data": {
      +            "description": "Transfer data",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "trial_end": {
      +            "description": "Trial end timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "trial_settings": {
      +            "description": "Trial settings",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "trial_start": {
      +            "description": "Trial start timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "has_more": {
      +      "description": "Whether more results exist",
      +      "type": "boolean"
      +    },
      +    "object": {
      +      "description": "Object type (list)",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "API endpoint URL",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-stripe_connect-api-key",
      +    "status": "active"
      +  },
      +  {
      +    "_apiKey": "your-stripe_connect-api-key",
      +    "customer": "cus_ABC123",
      +    "limit": 15,
      +    "status": "active"
      +  }
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and idempotentHint=true. The description goes beyond these by detailing authentication via _apiKey, the optional filters, the limit range, and the exact return fields (subscription id, customer, price/plan items, status, current period). It does not mention pagination or rate limits, but still adds meaningful behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences front-loaded with the primary action, followed by a compact listing of return fields and a concise user-facing summary. Every sentence contributes useful information without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose, authentication, filters, limit, and return content. Since an output schema exists and annotations are strong, the description provides all necessary context for an agent to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the baseline is 3. The description adds value by enumerating valid status values (active, canceled, past_due, trialing, unpaid), the limit range (1-100), and clarifying that _apiKey is a 'Stripe secret or restricted key.' This goes beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description specifies 'List subscriptions on a Stripe account via the Stripe API' with a clear verb+resource, and includes the user-facing goal 'Answers who is subscribed to a Stripe billing plan and on what terms.' It distinguishes itself from sibling tools by naming Stripe and the API endpoint.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear context: it operates on a Stripe account, requires an API key, and supports filters. However, it does not explicitly mention when to prefer this over sibling tools like list_subscriptions or stripe_list_invoices, so it falls short of full exclusions/alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.