Skip to main content
Glama

Cost to own and run an EV

get_ownership_cost
Read-onlyIdempotent

What an electric car costs to run and own: energy cost per 100 km, per year and over the years, plus the comparable new price and the total, in USD. Use it for 'what does an Ioniq 6 cost to run per year' (pass slug and your annual_km) or 'cheapest EV to own over 5 years' (no slug: a ranking). Every figure is an estimate from the model's consumption and an illustrative tariff you can replace; the answer names the price row and what is excluded.

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

Input Schema

NameRequiredDescriptionDefault
slugNoModel slug as search_models returns it (also the last part of the page URL https://sulihuli.com/m/<slug>), e.g. 'hyundai-ioniq-6'. Omit to rank the cheapest to own.
limitNoWithout slug: models in the ranking (default 10).
yearsNoYears of ownership (default 5).
localeNoLanguage of the answer's text and page links (default en): en.
marketNoTwo-letter purchase market, e.g. GB or DE. Omit to use the card price for a model or US prices for the ranking. Electricity tariff is separate.
annual_kmNoKilometres a year (default 15000). For miles, multiply by 1.609.
tariff_usd_per_kwhNoElectricity price in USD per kWh (default 0.19, an illustrative home tariff).

Output Schema

NameRequiredDescriptionDefault
urlNo
basisYes
countNo
modelNoWith slug: energy per 100 km, per year and over the years, purchase and total in USD, the price row behind it.
totalNo
marketNo
modelsNoWithout slug: the cheapest to own, ranked.
profileYesannual_km, years, tariff_usd_per_kwh and the tariff date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / market
      Added value: +{
      +  "description": "Two-letter purchase market, e.g. GB or DE. Omit to use the card price for a model or US prices for the ranking. Electricity tariff is separate.",
      +  "pattern": "^[A-Za-z]{2}$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / market
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so safety is covered. The description adds genuinely new behavioral context: every figure is an estimate derived from model consumption plus an illustrative tariff the caller can override, the answer names which price row was used, and it discloses that some costs are excluded. It stops short of detailing the exclusions themselves or pagination/limits behavior.

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?

Purpose is front-loaded in the first clause, followed by usage examples and then caveats — a sensible ordering. Dense but every sentence carries content; the nested example phrases are slightly verbose but earn their place by encoding invocation patterns.

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?

The tool has 7 optional parameters but an output schema and full schema descriptions, so return-value explanation is unnecessary. The description closes the remaining gaps an agent would care about: estimate provenance, tariff replaceability, price-row attribution, and known exclusions.

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 description coverage is 100%, so every parameter — slug, limit, years, locale, market, annual_km, tariff_usd_per_kwh — is already documented, including the omit-slug-to-rank mode and the market price distinction. The description mostly reinforces what the schema says ('an illustrative tariff you can replace', 'pass slug and your annual_km') rather than adding new semantics, so the baseline 3 applies.

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+resource ('what an electric car costs to run and own') and enumerates the outputs: energy cost per 100 km, per year, over the years, comparable new price, and total. It also names the sibling artifact it depends on ('slug as search_models returns it'), so the agent can distinguish this from get_model or compare_models without opening a 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?

Gives two concrete invocation patterns tied to user intent: with slug plus annual_km for a single-model cost, without slug for a cheapest-to-own ranking. This is clear routing guidance, but there are no explicit exclusions (e.g. 'use get_incentives instead for purchase subsidies'), which would have pushed it to a 5.

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.