Skip to main content
Glama

get_subscription

Status of the subscription. With pairing_code (from request_upgrade): NOT_PAID_YET while the human pays (retry, do not ask), then the api_key exactly once — store it for the lawyer's next calls (Authorization: Bearer). With the API key in the header: status, plan, quota. Free.

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
pairing_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a lot: it discloses the polling state, that the api_key is returned exactly once and must be stored, that it is used as an 'Authorization: Bearer' token for later calls, and that the call is 'Free'. It does not cover failure modes, whether the pairing_code expires, or what a non-free or invalid credential path returns.

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 dense sentences with no filler, and the purpose plus the two modes are front-loaded. The telegraphic phrasing ('then the api_key exactly once — store it') is efficient but borders on cryptic for an agent parsing it cold.

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?

There is no output schema, yet the description enumerates the returns for both modes: a status string, or status, plan and quota, plus the one-time api_key. Combined with the storage and Bearer-auth instruction, an agent has what it needs to call and act on the result; only error and expiry behavior are 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?

Schema description coverage is 0%, so the description must explain the single parameter, and it does: pairing_code originates from request_upgrade and switches the call into the payment-polling mode. It also implies the omitted-parameter behavior (using the API key in the header). Expiry or error semantics for an invalid pairing_code are not stated.

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 names a specific resource and result: 'Status of the subscription', returning status, plan and quota. It also distinguishes two invocation modes, pairing-code polling versus header-authenticated lookup, which lets an agent tell this apart from setup-oriented siblings like request_upgrade. It stops short of a crisp single-sentence statement of purpose, since the opening phrase is terse and the rest is procedural.

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?

It gives explicit operational guidance for the pairing-code path: 'NOT_PAID_YET while the human pays (retry, do not ask)', which tells the agent to poll rather than escalate. It also implies the header-key path when no pairing_code is supplied. It does not relate this tool to other status/quota siblings such as get_usage or list_plans, so routing between those is left to inference.

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