Skip to main content
Glama

subscriptions__record_subscription

Activate a subscription period by verifying a Stripe session or subscription ID and idempotently recording it, ensuring newly created accounts receive their key exactly once.

Instructions

[subscriptions — B2B monthly seats, entitlement quota, overage, and MRR] 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
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses idempotency and the activation of a subscription period, plus a side effect about newly created accounts receiving a key once. However, it does not specify authentication requirements, rate limits, or what happens on failure (e.g., duplicate activation). The transparency is adequate but not thorough.

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?

The description is two sentences: a bracketed category header followed by the core action and an additional note. The core is concise and front-loaded. The header adds some organizational value but could be considered extraneous. Overall, it is efficiently written with minimal fluff.

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?

Given the tool's simplicity (one parameter, no output schema, no annotations), the description covers the main purpose but lacks details on return values, error handling, and prerequisites (e.g., must have a valid Stripe session). It mentions idempotency but does not clarify behavior if the subscription is already active. Completeness is sufficient for basic use but not exhaustive.

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 input schema has 0% description coverage, so the description is the only source of meaning. It mentions 'Stripe session/subscription,' which provides basic context for the parameter stripe_session_or_sub_id. However, it does not specify the expected format (e.g., session ID vs. subscription ID) or any constraints, leaving the parameter under-explained.

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 tool's action: 'Pull-verify a Stripe session/subscription and idempotently activate its exact subscription period.' It specifies the resource (Stripe session/subscription) and the operation (verify and activate). Among sibling tools, this uniquely focuses on activation from a Stripe session, distinguishing it from e.g., subscription_status (check status) or create_account (new account).

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 when you have a Stripe session ID or subscription ID and need to activate the subscription period. However, it does not explicitly state when not to use this tool or mention alternatives (e.g., subscription_status for checking, create_account for new accounts). The guidance is implicit rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jdhart81/viridis-agent-fleet'

If you have feedback or need assistance with the MCP directory API, please join our Discord server