Skip to main content
Glama
npow

stripe-analytics-mcp

by npow

get_subscriber_stats

Retrieve subscriber analytics for a chosen period, including active, new, churned, net change, trials, and past-due counts to assess subscription health.

Instructions

Get subscriber statistics for a given period. Returns total active subscribers, new subscribers, churned subscribers, net change, trial count, and past due count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
period_daysNoNumber of days to analyze (default: 30, min: 1, max: 365)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it only implies a read via 'Get'. It says nothing about permissions, scoping, caching/freshness, or whether the period is relative to today, none of which the schema covers.

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 sentences, front-loaded with the purpose, and the metric list is compact and useful. No filler, though the enumeration could be trimmed slightly without loss.

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?

With no output schema, the description usefully lists the returned metrics, and the only parameter is fully documented in the schema. The main gap is the absence of any guidance on when to prefer this over get_churn, which shares the churn metric.

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 already documents its default (30), minimum (1), and maximum (365). The description adds only the phrase 'for a given period' and no additional semantics, so the baseline 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 states a specific verb+resource (get subscriber statistics) and enumerates the exact metrics returned (active, new, churned, net change, trial, past due), which lets an agent distinguish it from pure-rate siblings like get_churn or get_mrr. It stops short of explicitly differentiating itself from the overlapping get_churn tool.

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

Usage Guidelines2/5

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

It says 'for a given period' but gives no when-to-use guidance, no conditions, and no reference to any alternative such as get_churn or get_mrr, which overlap on churn and subscriber metrics. The agent must infer selection from sibling names alone.

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