Skip to main content
Glama

record_subscription

Pull-verify a Stripe session/subscription and idempotently activate its exact subscription period. A newly created account receives its key once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stripe_session_or_sub_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It usefully states the operation is idempotent and that a newly created account receives its key once, which are important side-effect semantics. It does not detail permissions, failure modes, or reversibility, but the provided behavior is non-trivial and valuable.

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?

The description is two sentences, front-loaded with the primary action, and contains no redundant wording. Every phrase adds useful context, including idempotency and the one-time key behavior.

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

Completeness4/5

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

Given the simple one-parameter signature and presence of an output schema, the description covers the key operational context: verifying a Stripe identifier, activating the exact period, idempotency, and the key-delivery condition. It lacks explicit when-to-use guidance but is otherwise complete for a tool of this complexity.

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 0%, so the description must compensate. It clarifies that the single parameter is a Stripe session or subscription identifier used for pull-verify and activation. However, it does not add format, validation, or ownership constraints beyond what the parameter title already suggests.

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 the action: 'Pull-verify a Stripe session/subscription and idempotently activate its exact subscription period.' It names a specific resource (Stripe session/subscription) and a precise outcome, distinguishing it from sibling read-only tools like subscription_status or creation tools like create_checkout_link.

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 after a Stripe session or subscription exists (pull-verify then activate), and the phrase 'newly created account' hints at a post-account-creation workflow. However, it does not explicitly name alternatives, prerequisites, or conditions where this tool should be avoided.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools have distinct purposes: plan retrieval, checkout, portal, status, usage, MRR. The main overlap is between create_account and record_subscription, as record_subscription can create an account for a new bearer, which may confuse agents about when to call which.

Naming Consistency4/5

The majority follow a verb_noun pattern (create_account, create_checkout_link, get_plan, list_plans, record_subscription). A few deviate: customer_portal_link (noun phrase), mrr_summary (acronym), and describe_agent (verb but not a subscription action), which slightly reduces consistency.

Tool Count5/5

Ten tools is well within the ideal range for a subscription management server. Each tool covers a distinct aspect of the domain—account, plans, checkout, portals, subscriptions, usage, MRR—so none feel redundant or missing.

Completeness4/5

The tool surface covers account creation, plan browsing, checkout session creation, subscription activation, status checks, usage summaries, and MRR. A notable gap is the lack of direct update/cancel subscription tools, though this is partially mitigated by the customer portal link, which delegates those actions to Stripe's hosted UI.