Skip to main content
Glama

Compare models

compare_bikes
Read-onlyIdempotent

For comparing two or three named models side by side. The models are of one section: an e-bike and an e-scooter cannot be compared. Returns the price today and each figure their brands state, with the site's comparison sentences and which model comes out ahead on each figure, and each model's Bike-Specs page.

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

Input Schema

NameRequiredDescriptionDefault
idsYes2 or 3 model ids from search or find_bikes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description goes further and describes the return payload: today's price, each brand-stated figure, the site's comparison sentences, a per-figure winner, and a Bike-Specs page link. The wording for the returned figures is somewhat loose, but materially stronger than repeating the annotations.

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 sentences, front-loaded with the purpose and the same-section constraint, then the return payload. The second sentence is a long comma chain ('each figure their brands state, with the site's comparison sentences and which model comes out ahead...') that could be tightened, though 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 single-parameter read-only tool with no output schema, the description covers purpose, the invalid-input constraint, and an outline of what comes back. Minor gaps remain: it does not say how ties or missing brand figures appear in the comparison, and it does not explicitly point to the tool used to obtain ids.

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 the single 'ids' array is already documented, and that sets the baseline at 3. The description adds a constraint the schema cannot express: all ids must belong to the same section (e-bike vs e-scooter mixing is invalid). That is genuine meaning beyond the schema.

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?

The description states a specific verb and resource: 'comparing two or three named models side by side'. It also scopes the input to 'named models' of one section, which separates it from browsing tools like find_bikes or similar_bikes. It never names a sibling directly, so the distinction is inferred rather than stated.

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?

It gives a clear usage condition (side-by-side comparison of 2–3 models) plus an explicit exclusion: 'an e-bike and an e-scooter cannot be compared.' There is no explicit statement that for finding those models you should use search or find_bikes; that detail exists only in the schema.

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