Skip to main content
Glama

Get the active subscription

get_subscription
Read-onlyIdempotent

Get the active subscription

Returns the account's current active subscription together with the plan it pays for. Only subscriptions in state active are considered; if several exist the most recently created one is returned. An account with no active subscription is not an empty response but a 404, so treat that status as "on no plan" rather than as an error worth retrying.

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.2/5.0
Behavior5/5

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

Beyond the annotations (which only cover read-only, idempotent, non-destructive, closed-world), the description discloses three things the agent could not otherwise know: only `active` state counts, ties are broken by most-recently-created, and absence returns 404 rather than an empty payload. It also explicitly instructs that 404 means "on no plan" and is not worth retrying, which is exactly the kind of retry-suppression context annotations cannot express.

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?

Three sentences, front-loaded with the purpose, then the selection rule, then the error semantics — ordered by how early the agent needs each fact. The opening clause repeats the title, but it doubles as the verb+resource statement, so it earns its place; nothing is padded or redundant.

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?

With no output schema, the description carries the burden of describing the return value, which it does in one phrase (subscription plus plan). It also covers the edge cases a zero-param lookup tool needs: tie-breaking among multiple actives and the non-error meaning of 404. Nothing required to call it correctly 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?

The tool takes zero parameters, so there is no parameter meaning to add and the baseline of 4 applies. The description correctly spends no words on input instead of padding with irrelevant detail.

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?

States a specific verb and resource ("Get the active subscription") and immediately defines what is returned: the active subscription plus its plan. The scope qualifier "only subscriptions in state `active`" makes the resource precise. It stops short of naming any sibling, though the mutation siblings (cancel/renew/resume) make the read-vs-write split self-evident from the name alone.

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 implied rather than stated: the agent learns this fetches the current plan, and the 404 note signals what a missing result looks like. There is no explicit "use this when..." framing and no mention of alternatives for historical or non-active subscriptions, so an agent wanting past subscriptions gets no routing guidance.

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.