Skip to main content
Glama

US EPA fuel economy ratings from FuelEconomy.gov

gov_fueleconomy_gov
Read-only

US EPA fuel economy ratings from FuelEconomy.gov for a model year, make and model: each matching vehicle's EPA combined, city and highway MPG, fuel type, drive type and CO2 tailpipe grams per mile. Up to 3 vehicles per call. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "year": "<year>",
      "make": "<make>",
      "model": "<model>"
    },
    "name": "gov_fueleconomy_gov"
  }
}

Input Schema

NameRequiredDescriptionDefault
makeYesMake, e.g. Toyota
yearYesModel year, 4 digits, e.g. 2024
modelYesModel, e.g. Camry

Output Schema

NameRequiredDescriptionDefault
makeNo
yearNo
modelNo
sourceNo
vehiclesNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description adds material context beyond them: a hard cap of 3 vehicles per call, a concrete price of $0.002 per successful call, the payment rail (x402, USDC on Base, Solana and 10 more networks), and the fact that failed calls are not charged. Cost, payment mechanism, and failure-billing behavior are exactly the behavioral traits an agent needs before invoking a paid endpoint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the purpose and output fields, then the operational constraints. Every clause carries information: result fields, the 3-vehicle cap, price, payment rail, and failure policy. Nothing is padded or repeated from the title.

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 three-required-parameter read-only lookup, the description covers what it returns, how many results, what it costs, and how billing failure is handled. An output schema exists, so the brief field enumeration is a bonus rather than a required return-value explanation. Nothing an agent needs to call it correctly is missing.

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 100% and each parameter already carries its own description with a format hint and example, so the schema does the heavy lifting. The description restates the parameter set ('for a model year, make and model') without adding syntax, normalization, or partial-match semantics. Baseline 3 is appropriate.

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: retrieving EPA fuel economy ratings from FuelEconomy.gov for a given model year, make, and model. It goes on to enumerate exactly which fields come back (combined/city/highway MPG, fuel type, drive type, CO2 g/mi), so an agent knows precisely what it gets without opening the output schema.

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 input requirements (a year + make + model lookup) but there is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The sibling list is entirely unrelated government data sources, so an omitted alternative is not a real gap, but the description itself offers no routing logic. The 'Up to 3 vehicles per call' line is the closest thing to a usage constraint.

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