Skip to main content
Glama

Stripe List Invoices

stripe_list_invoices
Read-onlyIdempotent

List Stripe invoices, optionally filtered by customer ID and/or status (draft, open, paid, void, uncollectible). Returns invoice ID, amount due, due date, and payment status.

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-100, default 10)
statusNoFilter by status (draft, open, paid, void, uncollectible)
_apiKeyYesStripe secret or restricted API key (sk_...)
customerNoFilter by customer ID

Output Schema

NameRequiredDescriptionDefault
urlNoAPI endpoint URL
dataNoArray of invoice 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 invoice objects",
      +      "items": {
      +        "properties": {
      +          "account_country": {
      +            "description": "Account country",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "account_name": {
      +            "description": "Account name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "account_tax_ids": {
      +            "description": "Account tax IDs",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "amount_due": {
      +            "description": "Amount due in cents",
      +            "type": "integer"
      +          },
      +          "amount_paid": {
      +            "description": "Amount paid in cents",
      +            "type": "integer"
      +          },
      +          "amount_remaining": {
      +            "description": "Amount remaining in cents",
      +            "type": "integer"
      +          },
      +          "application": {
      +            "description": "Application ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "application_fee": {
      +            "description": "Application fee ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "attempt_count": {
      +            "description": "Attempt count",
      +            "type": "integer"
      +          },
      +          "attempted": {
      +            "description": "Collection attempted",
      +            "type": "boolean"
      +          },
      +          "auto_advance": {
      +            "description": "Auto advance setting",
      +            "type": "boolean"
      +          },
      +          "automatic_tax": {
      +            "description": "Automatic tax settings",
      +            "type": "object"
      +          },
      +          "billing_reason": {
      +            "description": "Billing reason",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "charge": {
      +            "description": "Charge ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "collection_method": {
      +            "description": "Collection method",
      +            "type": "string"
      +          },
      +          "created": {
      +            "description": "Creation timestamp",
      +            "type": "integer"
      +          },
      +          "currency": {
      +            "description": "Currency code",
      +            "type": "string"
      +          },
      +          "custom_fields": {
      +            "description": "Custom fields",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "customer": {
      +            "description": "Customer ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "customer_address": {
      +            "description": "Customer address",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "customer_email": {
      +            "description": "Customer email",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "customer_name": {
      +            "description": "Customer name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "customer_phone": {
      +            "description": "Customer phone",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "customer_shipping": {
      +            "description": "Customer shipping",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "customer_tax_exempt": {
      +            "description": "Customer tax exempt status",
      +            "type": "string"
      +          },
      +          "customer_tax_ids": {
      +            "description": "Customer tax IDs",
      +            "type": "array"
      +          },
      +          "default_payment_method": {
      +            "description": "Default payment method",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "default_source": {
      +            "description": "Default source ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "default_tax_rates": {
      +            "description": "Default tax rates",
      +            "type": "array"
      +          },
      +          "description": {
      +            "description": "Invoice description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "discount": {
      +            "description": "Applied discount",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "discounts": {
      +            "description": "Applied discounts",
      +            "type": "array"
      +          },
      +          "due_date": {
      +            "description": "Due date timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "ending_balance": {
      +            "description": "Ending balance",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "footer": {
      +            "description": "Invoice footer",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "from_invoice": {
      +            "description": "From invoice ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "hosted_invoice_url": {
      +            "description": "Hosted invoice URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Invoice ID",
      +            "type": "string"
      +          },
      +          "invoice_pdf": {
      +            "description": "Invoice PDF URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "last_finalization_error": {
      +            "description": "Last finalization error",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "latest_revision": {
      +            "description": "Latest revision ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "lines": {
      +            "description": "Invoice line items",
      +            "type": "object"
      +          },
      +          "livemode": {
      +            "description": "Live mode",
      +            "type": "boolean"
      +          },
      +          "metadata": {
      +            "description": "Custom metadata",
      +            "type": "object"
      +          },
      +          "next_payment_attempt": {
      +            "description": "Next payment attempt timestamp",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "number": {
      +            "description": "Invoice number",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "object": {
      +            "description": "Object type (invoice)",
      +            "type": "string"
      +          },
      +          "on_behalf_of": {
      +            "description": "On behalf of account ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "paid": {
      +            "description": "Invoice paid",
      +            "type": "boolean"
      +          },
      +          "paid_out_of_band": {
      +            "description": "Paid out of band",
      +            "type": "boolean"
      +          },
      +          "payment_intent": {
      +            "description": "Payment intent ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "payment_settings": {
      +            "description": "Payment settings",
      +            "type": "object"
      +          },
      +          "period_end": {
      +            "description": "Period end timestamp",
      +            "type": "integer"
      +          },
      +          "period_start": {
      +            "description": "Period start timestamp",
      +            "type": "integer"
      +          },
      +          "post_payment_credit_notes_amount": {
      +            "description": "Post-payment credit notes amount",
      +            "type": "integer"
      +          },
      +          "pre_payment_credit_notes_amount": {
      +            "description": "Pre-payment credit notes amount",
      +            "type": "integer"
      +          },
      +          "quote": {
      +            "description": "Quote ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "receipt_number": {
      +            "description": "Receipt number",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "rendering": {
      +            "description": "Rendering options",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "rendering_options": {
      +            "description": "Rendering options",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "revisions": {
      +            "description": "Revisions list",
      +            "type": "object"
      +          },
      +          "scheduled_for_cancellation": {
      +            "description": "Scheduled for cancellation",
      +            "type": "boolean"
      +          },
      +          "starting_balance": {
      +            "description": "Starting balance",
      +            "type": "integer"
      +          },
      +          "statement_descriptor": {
      +            "description": "Statement descriptor",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "description": "Invoice status",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status_transitions": {
      +            "description": "Status transitions",
      +            "type": "object"
      +          },
      +          "subscription": {
      +            "description": "Subscription ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "subtotal": {
      +            "description": "Subtotal in cents",
      +            "type": "integer"
      +          },
      +          "subtotal_excluding_tax": {
      +            "description": "Subtotal excluding tax",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "tax": {
      +            "description": "Tax amount in cents",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "test_clock": {
      +            "description": "Test clock ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "total": {
      +            "description": "Total in cents",
      +            "type": "integer"
      +          },
      +          "total_discount_amounts": {
      +            "description": "Total discount amounts",
      +            "type": "array"
      +          },
      +          "total_excluding_tax": {
      +            "description": "Total excluding tax",
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_tax_amounts": {
      +            "description": "Total tax amounts",
      +            "type": "array"
      +          },
      +          "transfer_data": {
      +            "description": "Transfer data",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "description": "Invoice URL",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "use_inclusive_taxing": {
      +            "description": "Use inclusive taxing",
      +            "type": "boolean"
      +          },
      +          "webhooks_delivered_at": {
      +            "description": "Webhooks delivered 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",
      +    "limit": 30,
      +    "status": "paid"
      +  },
      +  {
      +    "_apiKey": "your-stripe_connect-api-key",
      +    "customer": "cus_ABC123",
      +    "status": "open"
      +  }
      +]
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations fully cover safety traits (read-only, idempotent, non-destructive). The description adds value by listing return fields (invoice ID, amount due, etc.), providing extra context beyond annotations without contradiction.

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?

Two sentences: first states action and filters, second lists return fields. No wasted words, front-loaded with key information.

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?

With output schema present, the description's mention of return fields is optional but adds clarity. It covers all essential aspects: action, filters, required parameter (_apiKey implied), and output summary.

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

Parameters3/5

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

Schema description coverage is 100%, so parameters are already well-documented. The description reiterates filtering by customer and status but does not add significant new meaning beyond the schema.

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 clearly states 'List Stripe invoices' with specific verb and resource. It also mentions optional filtering by customer ID and status, distinguishing it from sibling tools like stripe_list_charges.

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

Usage Guidelines3/5

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

The description implies usage through filtering options but does not explicitly state when to use this tool versus alternatives like stripe_list_charges or stripe_list_subscriptions. Context is clear but lacks exclusions.

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.