Skip to main content
Glama

Abonnement Goedkoop

Compare Offers

compare
Read-onlyIdempotent

Compare 2 to 6 offers of one category side by side by their ids: sim-only (ids from search), phone-plans (ids from phone_plans), phones (ids from search, with their specs) or internet-tv (ids from search).

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": {
      "category": "<category>",
      "ids": "<ids>"
    },
    "name": "compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesThe offers' ids, in the order to show them.
categoryYesThe category the ids are of.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavior context (offers are shown side by side, phones include their specs) but never characterizes the returned comparison payload, which matters since there is no output schema.

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?

A single dense sentence with zero filler, front-loaded with the verb and the arity constraint. The nested parentheticals for each category make it slightly harder to parse than a short list would be, but nothing is redundant.

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 two-parameter read-only tool with a fully documented schema, the description covers the important unknowns: valid range, categories, and id provenance. The main omission is any hint at the shape of the comparison result, which would be valuable given no output schema exists.

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 is 3, but the description genuinely adds meaning the schema lacks: it explains that ids are category-dependent and must be sourced from a different tool per category, and that ordering matters. The only gap is that it does not clarify what happens if ids from mismatched categories are passed.

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 plus resource ("Compare ... offers ... side by side"), bounded arity (2 to 6), and enumerates the four valid categories. It is clearly distinguishable from the siblings because it explains that ids come from the search/phone_plans tools rather than producing offers itself.

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?

Gives concrete, actionable guidance by mapping each category to the tool that supplies its ids (sim-only/phones/internet-tv from search, phone-plans from phone_plans), which is exactly the prerequisite an agent needs before calling. It does not state when to prefer this over other comparison approaches or what to do with results, so it stops short of a 5.

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