Skip to main content
Glama

Compare models

compare_models
Read-onlyIdempotent

Compare 2 to 4 washing machines from WashEdge's comparison (slugs) side by side on the same criteria.

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": {
      "slugs": "<slugs>",
      "market": "<market>"
    },
    "name": "compare_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsYes
marketYesThe market: us = the United States (Amazon.com, in English), fr = France (Amazon.fr, in French). Each market has its own catalog.us

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "slugs"
      -]New value: +[
      +  "slugs",
      +  "market"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / market
      Added value: +{
      +  "default": "us",
      +  "description": "The market: us = the United States (Amazon.com, in English), fr = France (Amazon.fr, in French). Each market has its own catalog.",
      +  "enum": [
      +    "us",
      +    "fr"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/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 fully covered without help from the description. The description adds the 2-4 range constraint, but says nothing about what the comparison output contains or whether all models must share criteria. With annotations carrying the behavioral load, a 3 is appropriate.

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?

One sentence, front-loaded with the verb and the 2-4 constraint, with no filler. The phrase 'from WashEdge's comparison (slugs)' is slightly tangled and could state the slug source more cleanly.

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

Completeness2/5

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

There is no output schema, so the description must explain what a side-by-side comparison returns, and it does not say whether the result is a criteria table, best-pick summary, or per-attribute matrix. It also omits how market interacts with slug validity, which matters because the two markets have separate catalogs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%: market is fully documented in-schema, while slugs has no description at all. The description only restates that slugs are the input and that 2 to 4 are allowed, which duplicates minItems/maxItems already in the schema, and it never mentions market or the fact that market selects an entirely separate catalog.

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) and resource (washing machines) plus a scope constraint of 2 to 4 items, so the action is unambiguous. It does not distinguish itself from siblings like get_model or search_models, leaving the agent to infer why a dedicated compare tool exists.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use guidance, no statement about where valid slugs come from, and no comparison against fetching each model individually. The parenthetical '(slugs)' hints at the identifier source but never tells the agent to obtain slugs from search_models first.

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