Skip to main content
Glama

Get subscription

get_subscription
Read-only

Read a single tracked subscription by id — full record incl. period, next_charge_date, notice_period_days, cancel_url and its monthly_equivalent. Read-only. Returns null when no such subscription is visible to the caller (a wrong-owner id is indistinguishable from a missing one).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered, and the description adds genuinely useful behavior: the full-record field list and the null-on-missing contract. The note that a wrong-owner id is indistinguishable from a missing one is an important visibility caveat beyond anything in the structured fields, though error behavior for other failure modes is not covered.

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 tight sentences: the primary operation and returned fields come first, followed by the read-only note and the null/ownership caveat. Every clause carries information and none restates the schema.

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 does the job of describing the return payload by listing key fields and the null case, which is the main thing an agent needs. Minor gaps remain around the id format and other failure responses, but for a one-parameter read tool this is close to complete.

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 coverage is 0% for the single required 'id', so the description must carry the meaning, and it only says 'by id'. It does not explain that the schema accepts either an integer or a string, nor which identifier namespace the id belongs to, so the union type remains unexplained.

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 gives a specific verb and resource: read a single tracked subscription by id, and it enumerates the notable fields returned (period, next_charge_date, notice_period_days, cancel_url, monthly_equivalent). That clearly separates it from add/delete/update_subscription, though it never names a sibling or states what it is not for.

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 only implied: look up one subscription when you already have its id. There is no statement of when to prefer this over another lookup path, no prerequisites, and no guidance about what an agent should do on a null result beyond the fact that null is possible.

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