Skip to main content
Glama

Compare plans

compare_plans
Read-onlyIdempotent

Compare 2–10 existing eSIM plan IDs returned by search_plans or get_plan. Returns each matching plan plus the IDs of the cheapest plan, lowest EUR price per GB where calculable, and longest validity; an unknown plan ID is flagged not_found rather than silently replaced. Use for an explicit shortlist, not as the initial destination search; this makes no reservation or purchase.

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": {
      "plan_ids": "<plan_ids>"
    },
    "name": "compare_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage for names and texts (default en).
plan_idsYesTwo to ten exact plan IDs from search_plans; unknown IDs are reported as not_found.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr",
      +  "pt",
      +  "ro",
      +  "cs",
      +  "sv",
      +  "sk"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr",
      -  "pt",
      -  "ro",
      -  "cs",
      -  "sv",
      -  "sk"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr",
      +  "pt",
      +  "ro",
      +  "cs",
      +  "sv",
      +  "sk"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr",
      -  "pt",
      -  "ro",
      -  "cs",
      -  "sv",
      -  "sk"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr",
      +  "pt",
      +  "ro",
      +  "cs",
      +  "sv",
      +  "sk"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl"
      +]
  8. Changed1 schema field changed
    • addedInput schema / properties / plan_ids / description
      Added value: +"Two to ten exact plan IDs from search_plans; unknown IDs are reported as not_found."
  9. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds substantive context beyond them: unknown IDs are flagged not_found rather than silently replaced, price-per-GB is reported only when calculable, and no reservation or purchase occurs. These are the details an agent needs to interpret partial or surprising results.

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 core action and constraints, followed by return contents, then usage boundaries. Every clause carries information; nothing is redundant or padded.

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 explaining results and does so concretely (matching plans, cheapest ID, lowest EUR per GB where calculable, longest validity, not_found flagging). Combined with full schema coverage and annotations, nothing material is missing for a two-parameter read-only tool.

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%, so baseline would be 3; the description adds value by specifying that IDs must be exact and existing, their provenance (search_plans/get_plan), and the not_found consequence for unknown IDs. The lang parameter is left entirely to the schema, which is acceptable given full coverage.

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 (compare), resource (eSIM plans), and scope (2–10 existing plan IDs obtained from search_plans or get_plan). It also enumerates what the comparison returns, so an agent can distinguish it from search_plans and get_plan without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use this for an explicit shortlist and NOT as the initial destination search, routing the agent to the sibling tools for discovery. It also states the prerequisite that IDs must come from search_plans or get_plan, which is the exact precondition for a correct call.

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