Skip to main content
Glama

Get one eSIM plan

get_plan
Read-onlyIdempotent

Details of one plan by id (from search_plans): price, data, validity, coverage, network speed, when validity starts, fair-use note, plan page and cart 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that by enumerating the returned fields — important since there is no output schema. It stops short of noting behavior for a missing/invalid id or currency/locale handling.

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?

One dense sentence, front-loaded with the action and scope, followed by the payload list. No filler, no restatement of the title, and nothing redundant with annotations.

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 field enumeration does the job of telling the agent what comes back, and annotations cover safety. The only unaddressed area is failure behavior (unknown id, unavailable plan), which is minor for a read-only lookup.

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 coverage is 100% and the schema already says 'Plan id', but the description adds provenance — that the id comes from search_plans — which the schema does not convey. That is a meaningful addition beyond the structured field for a single-parameter tool.

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 retrieval action on a specific resource ('Details of one plan by id') and enumerates exactly what the record contains (price, data, validity, coverage, network speed, fair-use note, URLs). It also names search_plans as the source of the id, which separates it from the search sibling without needing to open either schema.

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)' gives a clear workflow cue: use search_plans first, then call this with a resulting id. It doesn't state exclusions or what to do if the id is unknown, but for a simple single-record fetch the context is sufficient.

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