Skip to main content
Glama

Get monthly plan

get_subscription
Read-onlyIdempotent

Read this account's monthly plan: tier, status (active, past_due or canceled), the paid period, the monthly credit and how much of it is left, what happens once it is used up (exhaustionMode), cancelAtPeriodEnd, a scheduled tier change (nextTier) and the saved card (brand and last 4 digits only). Also returns the tier catalog (price and monthly credit in hellers, excluding VAT), topupBalanceHal (topped-up credit, separate from the monthly credit - get_balance returns the sum of both), available, which says whether a new plan can be started on this account (false while a plan is running, because a second one is refused with subscription_exists), and recommendation: the cheapest way to pay for what the account actually spent in the last 30 days (spendHal, cheapestPath per_second or plan, the cheapest tier with top-ups and its cost tierTotalHal, savingsHal, worthIt when the saving is big enough to suggest the plan, and steady when the spend is not just a one-off peak: usage over the last 14 days scaled to 30 days, plus monthly number fees, reaches at least the price of the recommended tier; the reply sentence suggests the plan only when both are true), null when no plan is offered or the credit history is shorter than 30 days. subscription is null when the account has no plan. previousPeriod summarizes the paid period before the current one, with the same figures as the renewal e-mail: tier, monthly credit (creditHal), how much of it was used (usedHal, usedPercent), spending beyond it (overHal) and what expired (expiredHal); it is returned only while the plan is active and is null in the first period, when the credit history could not prove the usage, and 45 days after the renewal that saved it. Monthly credit is spent first, expires at the end of each paid period and is non-refundable (a consumer who withdraws within 14 days pays only a proportional part); topped-up credit never expires. Same data as GET /v1/subscription (response schema in /openapi.json).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real behavioral context: credit expiry and non-refundability, the 14-day proportional withdrawal rule, the subscription_exists refusal, the 45-day previousPeriod window and null conditions. However, much of this is return-value documentation rather than call-behavior guidance, and the sentence is extremely dense, so a 3 reflects the annotations carrying the core profile.

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

Conciseness3/5

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

The purpose is front-loaded in the first clause, but the whole thing is one sprawling paragraph of ~350 words with deeply nested parentheticals. There is no wasted restatement of the name, yet the density makes it hard to scan; splitting the return fields into a structured list would help enormously.

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

Completeness5/5

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

There is no output schema, so the description must carry the entire return-shape burden, and it does so thoroughly: every field group, its units, and its null conditions are covered. For a zero-parameter read tool, nothing an agent needs is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero parameters, so the baseline is 4. The description instead documents the returned object's fields in depth (renewal email figures, hellers, VAT exclusion), which adds meaning but does not pertain to call parameters.

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?

Opens with a specific verb and resource: 'Read this account's monthly plan', then enumerates the exact fields returned (tier, status, paid period, credit, exhaustionMode, cancelAtPeriodEnd, nextTier, card). An agent can tell this apart from get_balance and get_invoice immediately.

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?

Explicitly routes the agent to a sibling: 'topupBalanceHal ... separate from the monthly credit - get_balance returns the sum of both'. It also explains when the recommendation field is null and when subscription is null. It stops short of stating explicit when-not-to-use conditions for the whole tool, so a 4 rather than 5.

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.