Skip to main content
Glama

Get plan details

get_plan
Read-onlyIdempotent

Full details of one plan by id (from search_plans): data, validity, daily cap and reduced speed, covered countries, hotspot, top-up availability, verified network facts, USD price and checkout_url.

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_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPlan id returned by search_plans.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, non-open-world behavior, so the safety profile is covered. The description adds useful substance by enumerating what the response contains (data, validity, daily cap, countries, hotspot, top-up, verified network facts, price, checkout_url), which matters because there is no output schema. It does not mention behavior for an unknown or expired id.

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?

One front-loaded sentence with no filler; the return-field list is dense but earns its place given the absence of an output schema. The comma-separated enumeration is slightly list-heavy but readable.

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?

For a single-parameter read with full annotation coverage and no output schema, the field enumeration gives the agent enough to know what it will receive. Missing only error/not-found behavior, a minor gap.

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 100% and the schema already states the id comes from search_plans, so the description's back-reference adds little beyond confirming the chain. Baseline 3 applies since the schema does the parameter work.

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?

States a specific verb and resource ('Full details of one plan by id') and scopes it to a single plan, which implicitly separates it from the sibling search_plans listing tool.

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?

The parenthetical '(from search_plans)' tells the agent this is the follow-up call after searching, giving clear sequencing context. It does not state an explicit when-not-to-use case, but for a simple lookup tool the implied workflow is unambiguous.

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