Skip to main content
Glama

Record subscription

record_subscription

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "stripe_session_or_sub_id": "<stripe_session_or_sub_id>"
    },
    "name": "record_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
stripe_session_or_sub_idYesThe Stripe Checkout session id or subscription id.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedInput schema / properties / stripe_session_or_sub_id / description
      Added value: +"The Stripe Checkout session id or subscription id."
  3. First observed

TDQS

B3.2/5.0
Behavior2/5

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

The description does add real behavior beyond the annotations: it makes an outbound Stripe verification call (consistent with openWorldHint=true) and discloses that the API key is returned only once, which an agent must not miss. However, "idempotently activate" directly conflicts with the declared idempotentHint=false, leaving the agent unsure whether a retry is safe — the one thing that matters most for a billing-mutating call. It also says nothing about error/failure behavior when verification fails.

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

Conciseness4/5

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

Two short sentences, front-loaded with the action and followed by the one non-obvious consequence (key delivered once). Slightly jargon-heavy phrasing ("Pull-verify", "its exact subscription period") costs a little clarity but there is no filler.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the single parameter is fully documented. Still, for an open-world billing mutation the description omits failure modes (invalid or already-consumed session), whether re-calling is safe, and therefore leaves the idempotency conflict unresolved.

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% and the single parameter is documented in the schema as the Checkout session id or subscription id. The description restates the same concepts ("Stripe session/subscription") without adding format, prefix, or validation detail beyond what the schema already provides, so the baseline of 3 applies.

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 uses a concrete verb chain ("Pull-verify ... idempotently activate") against a specific resource (a Stripe Checkout session or subscription id) and names the resulting effect (activating its subscription period). That is far more specific than the title alone, though it never distinguishes itself from siblings such as subscription_status or 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?

Usage is only implied: "Pull-verify a Stripe session/subscription and ... activate" plus "A newly created account receives its key once" sketches a post-checkout activation flow. There is no explicit when-to-use statement, no when-not-to-use, and no named alternative (e.g. when to call subscription_status instead of this).

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.