Skip to main content
Glama

WhichPortal

Compare portals

compare_portals
Read-onlyIdempotent

Compare cashback and rewards rates across all portals for a specific merchant, in the US or UK. Returns the best deals and effective value.

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": {
      "merchant": "<merchant>"
    },
    "name": "compare_portals"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoMarket to compare: "US" (default, USD) or "UK" (GBP, points per £1)
merchantYesMerchant name or slug (e.g., "amazon", "nike", "john-lewis")
basket_valueNoOptional: basket value (USD for US, GBP for UK) to estimate earnings

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds that it returns best deals and effective value, but says nothing about response structure, exhaustiveness of the portal set, or currency normalization nuances.

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?

Two tightly written sentences with the core action and scope front-loaded and no filler. Slightly terse given the tool's comparison intent, but nothing wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three well-documented parameters and rich annotations, the main remaining gap is return-shape detail, since there is no output schema; 'returns the best deals and effective value' is only a sketch of what an agent gets back.

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 description coverage is 100%, so the enum markets, merchant slug examples, and basket_value currency semantics are already documented in the schema. The description only restates the US/UK dimension without adding format or default behavior beyond it.

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?

States a specific verb (compare), resource (cashback and rewards rates across all portals), and scope (a specific merchant, US or UK). The 'across all portals' framing implicitly distinguishes it from single-result siblings like best_deal/best_portal, but no sibling is named explicitly.

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: an agent can infer this is the choice when a full cross-portal comparison is wanted rather than one best portal or a URL lookup. There is no explicit when-to-use/when-not guidance or routing to alternatives like best_portal or best_deal.

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.