Skip to main content
Glama
CSOAI-ORG

Stripe Billing MCP

search_customers

Search Stripe customers by email or name to retrieve matching customer records, with optional result limit for efficient lookups.

Instructions

Search Stripe customers by email or name.

Args: query: Email address or name to search for limit: Max results to return (default 10, max 100)

Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.

When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
api_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations are absent, so the description must fully disclose behavior. It claims read-only and idempotent, but the description includes contradictory statements: it says 'No authentication required' but later mentions API key for Pro/Enterprise tiers. Also, it says 'read-only and produces no side effects' which is consistent, but the description's generic 'When to use' text about 'analysis or classification' is misleading. The rate limits and privacy details add value, but the inconsistency lowers the score.

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

Conciseness2/5

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

The description is overly verbose with redundant sections. It repeats 'read-only', 'no side effects', and 'idempotent' multiple times (in the opening, in Behavioral Transparency, and in other sections). The 'When to use' section is generic and irrelevant, adding noise. The front-loading is good with the clear first line, but the length and repetition undermine conciseness.

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

Completeness2/5

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

Given the tool has no output schema, the description must explain return format; it mentions error objects but not successful response structure. The description covers safety, rate limits, and idempotency, but the instability with auth requirements and the generic usage guidelines leave gaps. The tool's purpose of searching customers is simple, but the description's extraneous content and contradictions limit completeness.

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

Parameters2/5

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

The schema has 0% description coverage for parameters, and the description introduces a third parameter 'api_key' not shown in the schema's properties (actually it is in the schema but not documented in the description). The description explains 'query' and 'limit' in Args, but does not explain 'api_key', and the schema itself lacks descriptions. The description provides some details for query and limit, but fails to cover all parameters, leaving the agent to guess about api_key.

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

Purpose4/5

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

The description clearly states the tool searches Stripe customers by email or name, which is a specific verb and resource. However, it does not explicitly differentiate from sibling tools like list_invoices, but the purpose is clear enough for an agent to understand its role.

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 includes a 'When to use' section that is generic and mentions 'structured analysis or classification', which seems unrelated to searching customers. There is no explicit mention of alternatives among siblings, and the 'When NOT to use' is vague and not directly about customer search.

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