Skip to main content
Glama

Compare EVs side by side

compare_models
Read-onlyIdempotent

Side-by-side comparison of two to four electric vehicles: range (each with its test cycle), charging, battery, price and the other specs, the leading value marked per row, a short verdict, the version each column stands for, sources and cover photo credits. Each model is compared on its named version, and every figure says which version it belongs to. Use it for 'X vs Y' and 'which should I buy' questions; get slugs from search_models first. Pass slugs, or slug_a and slug_b. Returns Markdown with the canonical comparison URL, plus the figures and each named version's price per market as structured fields with trust steps, source availability and warnings for steps 1–2. Detail 'full' adds every price row.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsNoTwo to four model slugs, e.g. ['tesla-model-3', 'hyundai-ioniq-6'].
detailNosummary (default): the short answer. full: every row as well, with source chains and photo credits.
localeNoLanguage of the answer's text and page links (default en): en.
slug_aNoShorter two-model form: first model slug (use with slug_b instead of slugs).
slug_bNoSecond model slug (with slug_a).

Output Schema

NameRequiredDescriptionDefault
urlNo
termsNoTerms the data is given under.
modelsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedOutput schema / properties / models / items / properties / figures / additionalProperties / properties / source_unavailable
      Added value: +{
      +  "description": "The source did not open or no longer printed this value at the last check.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / models / items / properties / figures / additionalProperties / properties / trust_label
      Added value: +{
      +  "enum": [
      +    "collected",
      +    "source_prints",
      +    "two_sites",
      +    "maker_or_registry",
      +    "verified"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / figures / additionalProperties / properties / trust_step
      Added value: +{
      +  "enum": [
      +    1,
      +    2,
      +    3,
      +    4,
      +    5
      +  ],
      +  "type": "integer"
      +}
    • addedOutput schema / properties / models / items / properties / figures / additionalProperties / properties / warning
      Added value: +{
      +  "description": "How to cite a figure at trust steps 1 or 2.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / models / items / properties / figures / additionalProperties / required
      Previous value: -[
      -  "value",
      -  "status"
      -]New value: +[
      +  "value",
      +  "status",
      +  "trust_step",
      +  "trust_label",
      +  "source_unavailable"
      +]
    • addedOutput schema / properties / models / items / properties / prices / items / properties / source_unavailable
      Added value: +{
      +  "description": "The source did not open or no longer printed this value at the last check.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / models / items / properties / prices / items / properties / trust_label
      Added value: +{
      +  "enum": [
      +    "collected",
      +    "source_prints",
      +    "two_sites",
      +    "maker_or_registry",
      +    "verified"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / prices / items / properties / trust_step
      Added value: +{
      +  "enum": [
      +    1,
      +    2,
      +    3,
      +    4,
      +    5
      +  ],
      +  "type": "integer"
      +}
    • addedOutput schema / properties / models / items / properties / prices / items / properties / warning
      Added value: +{
      +  "description": "How to cite a figure at trust steps 1 or 2.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / prices / items / required
      Added value: +[
      +  "trust_step",
      +  "trust_label",
      +  "source_unavailable"
      +]
  2. Changed11 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / detail
      Added value: +{
      +  "description": "summary (default): the short answer. full: every row as well, with source chains and photo credits.",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / locale
      Added value: +{
      +  "description": "Language of the answer's text and page links (default en): en.",
      +  "enum": [
      +    "en"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "slugs"
      -]
    • addedOutput schema / properties / models / items / properties / prices / description
      Added value: +"The price the comparison table prints; every row with detail 'full'."
    • addedOutput schema / properties / models / items / properties / prices / items / properties / country / description
      Added value: +"Market (ISO country); null when the source stated none."
    • changedOutput schema / properties / models / items / properties / prices / items / properties / country / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / models / items / properties / prices / items / properties / currency / description
      Added value: +"ISO currency; null when the source stated none."
    • changedOutput schema / properties / models / items / properties / prices / items / properties / currency / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / models / items / properties / prices / items / properties / note
      Added value: +{
      +  "description": "What the source did not state (market, currency).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / prices_total
      Added value: +{
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the safe-read profile (readOnly, idempotent, non-destructive, closed-world). The description goes well beyond that, disclosing the return shape (Markdown plus the canonical comparison URL and structured fields), the trust/source/warning metadata for steps 1–2, per-market pricing per named version, and that 'full' adds every price row.

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?

The purpose is front-loaded and almost no words are filler, but the opening sentence is a long comma-cascade of output contents that mixes purpose with return-value detail. It reads dense rather than wasteful, so it stays readable while being slightly overstuffed.

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

Completeness5/5

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

For a five-parameter tool with an output schema, the description covers inputs, alternatives, the two detail modes, the version-tracking caveat and what comes back. Nothing an agent needs in order to call it correctly is missing, and return values are only sketched because the 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 the schema already carries parameter meaning and baseline is 3. The description still adds value by stating the mutual-exclusivity rule as an instruction ('Pass `slugs`, or `slug_a` and `slug_b`') and clarifying that 'full' adds every price row, though `locale` is left entirely to the schema.

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?

The description names a specific verb and resource ('Side-by-side comparison of two to four electric vehicles') and enumerates exactly what is compared: range with test cycle, charging, battery, price, leading value per row, verdict, versions, sources, credits. An agent can distinguish this from get_model (single model) or get_ranking without opening any schema.

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 concrete trigger phrasing ('X vs Y' and 'which should I buy' questions) and a hard prerequisite ('get slugs from search_models first'). It stops short of explicit exclusions, e.g. pointing to get_model for single-vehicle lookups, so the routing guidance is clear but not complete.

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.