Skip to main content
Glama

Search and rank EVs

search_models
Read-onlyIdempotent

Find electric vehicles by brand or model name, or list the whole catalog ranked for a use case, optionally only those with at least a given range. Use it first whenever you have a name but no slug, and for questions like 'which EVs go furthest'; for a published 'best EV for ...' list with its criterion use get_ranking. Returns per model the slug (pass it to get_model or compare_models), score out of 100 (SuliHuli Index 4.4 by default, or the use-case score of another preset), official range with its test cycle and the WLTP-equivalent, DC 10-80 % minutes, battery kWh, which of them are unverified, markets and the page URL. A minimum range is compared on range_basis, and the answer says which. There is no price or market filter: for a budget use get_ownership_cost without slug (ranked with new prices) or search 'cheapest electric cars', and read prices per market with get_model. Paged: total, page, total_pages. detail 'full' adds each figure's source and the cover photo credit.

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": "search_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default 1); see total_pages in the answer.
limitNoModels per page (default 20, at most 50 without an API key).
queryNoWords of the brand and/or model name, any order, case-insensitive; every word must match, e.g. 'tesla 3', 'ioniq', 'bmw ix'. Omit to rank the whole catalog.
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.
presetNoWhat the ranking optimizes for (default index): index (the main score: passport 40 %, people 30 %, market 30 %); everyday (a balanced daily driver — range, charging and practicality); long_range (maximum distance per charge for road trips); family (space, seats and practicality for a family); performance (acceleration and fast-charging capability); city (a short, easy-to-park car that still charges fast); winter (range that survives the cold — ranked on our own winter estimate).
range_basisNoWhat min_range_km is compared with: wltp_equivalent (default; an EPA figure x1.15, CLTC x0.82, NEDC x0.80), official (the published figure on its own cycle), or one cycle - epa, wltp, cltc, nedc - whose own figure must reach it (a model without a figure on that cycle is left out). A US '300 miles' is an EPA figure: range_basis 'epa'.
min_range_kmNoOnly EVs whose range is at least this many kilometres, on the basis of range_basis. To match the catalog's precision, multiply miles by 1.609344 and round to one decimal place (300 miles = 482.8 km).

Output Schema

NameRequiredDescriptionDefault
hintNoWhy a page is empty and what to try.
pageNo
countYes
queryNo
termsNoTerms the data is given under.
totalNo
modelsYes
presetNo
per_pageNo
range_basisNoWhat min_range_km was compared with.
total_pagesNo
min_range_kmNo
range_basis_noteNoThe comparison in words, and how many models it left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / min_range_km / description
      Previous value: -"Only EVs whose range is at least this many kilometres, on the basis of range_basis. For miles, multiply by 1.609 and round down: 300 miles = 482 km (the catalog stores 300 miles as 482.8 km, so 483 would drop them)."New value: +"Only EVs whose range is at least this many kilometres, on the basis of range_basis. To match the catalog's precision, multiply miles by 1.609344 and round to one decimal place (300 miles = 482.8 km)."
  2. Changed1 schema field changed
    • changedInput schema / properties / min_range_km / description
      Previous value: -"Only EVs whose range is at least this many kilometres, on the basis of range_basis. For miles, multiply by 1.609: 300 miles = 483 km."New value: +"Only EVs whose range is at least this many kilometres, on the basis of range_basis. For miles, multiply by 1.609 and round down: 300 miles = 482 km (the catalog stores 300 miles as 482.8 km, so 483 would drop them)."
  3. Changed10 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"
      +}
    • changedInput schema / properties / min_range_km / description
      Previous value: -"Only EVs whose official range is at least this many kilometres on the comparable WLTP-equivalent basis (an EPA or CLTC figure is converted by its cycle factor). For miles, multiply by 1.609."New value: +"Only EVs whose range is at least this many kilometres, on the basis of range_basis. For miles, multiply by 1.609: 300 miles = 483 km."
    • addedInput schema / properties / range_basis
      Added value: +{
      +  "description": "What min_range_km is compared with: wltp_equivalent (default; an EPA figure x1.15, CLTC x0.82, NEDC x0.80), official (the published figure on its own cycle), or one cycle - epa, wltp, cltc, nedc - whose own figure must reach it (a model without a figure on that cycle is left out). A US '300 miles' is an EPA figure: range_basis 'epa'.",
      +  "enum": [
      +    "wltp_equivalent",
      +    "official",
      +    "epa",
      +    "wltp",
      +    "cltc",
      +    "nedc"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / models / items / properties / markets
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / models / items / properties / range_km_on_basis
      Added value: +{
      +  "description": "The figure on the named cycle the filter compared.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / models / items / properties / unverified
      Added value: +{
      +  "description": "Which of range, charging_10_80_min, battery_kwh are unverified.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / range_basis
      Added value: +{
      +  "description": "What min_range_km was compared with.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / range_basis_note
      Added value: +{
      +  "description": "The comparison in words, and how many models it left out.",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / preset / description
      Previous value: -"What the ranking optimizes for (default everyday): everyday (a balanced daily driver — range, charging and practicality); long_range (maximum distance per charge for road trips); family (space, seats and practicality for a family); performance (acceleration and fast-charging capability); city (a short, easy-to-park car that still charges fast); winter (range that survives the cold — ranked on our own winter estimate)."New value: +"What the ranking optimizes for (default index): index (the main score: passport 40 %, people 30 %, market 30 %); everyday (a balanced daily driver — range, charging and practicality); long_range (maximum distance per charge for road trips); family (space, seats and practicality for a family); performance (acceleration and fast-charging capability); city (a short, easy-to-park car that still charges fast); winter (range that survives the cold — ranked on our own winter estimate)."
    • changedInput schema / properties / preset / enum
      Previous value: -[
      -  "everyday",
      -  "long_range",
      -  "family",
      -  "performance",
      -  "city",
      -  "winter"
      -]New value: +[
      +  "index",
      +  "everyday",
      +  "long_range",
      +  "family",
      +  "performance",
      +  "city",
      +  "winter"
      +]
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive and closed-world, so the safety profile is covered; the description goes well beyond that by naming the returned fields (slug, score, range with test cycle, DC minutes, battery, unverified flags, markets, URL), the pagination shape (total, page, total_pages), and what detail='full' adds. It also discloses the non-obvious behavior that the response reports which range basis was applied.

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 opening sentence front-loads purpose, usage, and routing before the return-field inventory, so an agent gets the decision-relevant content first. It is dense and long, and the return-value enumeration partly duplicates the existing output schema, which is the only real waste.

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 an 8-parameter search/ranking tool with an output schema and rich annotations, nothing an agent needs in order to call it correctly is missing: routing rules, filter semantics, pagination, and edge behavior (range basis, no price filter) are all stated.

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 enums and formats are already documented; the description still adds binding semantics that the schema alone leaves implicit, namely that min_range_km is compared against range_basis and that the answer states which basis was used. It does not add per-parameter detail beyond that, which is acceptable given full schema coverage.

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?

States a specific verb and resource (find/list EVs, ranked) plus scope: search by brand/model name, list the whole catalog, or filter by minimum range. It explicitly distinguishes itself from get_ranking ('published best EV for ... list with its criterion') and get_ownership_cost, so an agent can route correctly without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit entry rule ('Use it first whenever you have a name but no slug'), a question-shaped trigger ('which EVs go furthest'), and named alternatives with the condition that selects them (get_ranking for published lists, get_ownership_cost for budget without slug, get_model for per-market prices). It also states what the tool does not do ('no price or market filter'), which prevents mis-invocation.

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.