Skip to main content
Glama

Compare models

compare_models
Read-onlyIdempotent

Compare 2 to 4 lawn mowers from YardRider'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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds that models are compared 'on the same criteria' and that input is by comparison slug, but it says nothing about ordering, output shape, or what happens with duplicate or invalid slugs.

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 front-loaded sentence with no filler; the arity constraint appears early. The parenthetical '(slugs)' is slightly awkward, but nothing is redundant.

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?

For a simple two-parameter read tool with full annotations, the description is adequate but thin. With no output schema, it could have said more about what the comparison result contains (criteria table, missing-model handling), which an agent would need to interpret the response.

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 coverage is 50%: the market parameter is fully documented in the schema with an enum and market explanation, while slugs relies on minItems/maxItems. The description adds a little meaning by tying slugs to YardRider's comparison slugs, but does not clarify slug format or whether duplicates are allowed, so it only marginally exceeds the schema baseline.

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 ('Compare') and resource ('lawn mowers from YardRider's comparison') with an explicit arity of 2 to 4. It is distinguishable from siblings like search_models or get_model, though it never names those alternatives directly.

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 implied by the 'compare 2 to 4' constraint, which tells the agent the minimum and maximum number of models to supply. However, there is no explicit guidance on when to prefer this over search_models or get_model, and no mention of prerequisites such as needing valid slugs 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