Skip to main content
Glama

Get subscription stats

get_subscription_stats
Read-onlyIdempotent

Get subscription statistics from Stripe — active, trialing, past-due, and canceled counts plus MRR and ARR. Use alongside get_stripe_metrics for a full revenue picture. Only works if Stripe is connected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds behavioral context beyond annotations: it specifies the data categories returned (active, trialing, past-due, canceled counts, MRR, ARR) and the operational prerequisite that Stripe must be connected. This is useful non-obvious context, though it does not describe error behavior or response shape.

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, no filler. The first sentence front-loads the tool's function with concrete metrics; the second gives usage guidance and the prerequisite. Every word earns its place.

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?

For a single-parameter, read-only stats tool with annotations covering safety, the description is largely complete: it says what it returns, when to use it (with get_stripe_metrics), and its connection requirement. It does not describe a response schema (none exists) or granular details like time range or currency, but those are not essential for correct invocation.

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?

The schema covers the only parameter, companyId, at 100% with a clear description in the input schema. The tool description itself adds no additional parameter semantics, so with full schema coverage the baseline of 3 applies.

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 states a specific verb ('Get'), a specific resource ('subscription statistics from Stripe'), and enumerates the exact metrics returned (active, trialing, past-due, canceled counts, MRR, ARR). It also distinguishes itself from the sibling get_stripe_metrics by describing a complementary role, so an agent can select it correctly.

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

Usage Guidelines4/5

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

The description provides clear usage context: it tells the agent to use this tool alongside get_stripe_metrics for a full revenue picture, and states the prerequisite that Stripe must be connected. It does not enumerate explicit when-not-to-use cases, but for a read-only stats tool, naming the complementary sibling is sufficient direction.

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.

Resources