Skip to main content
Glama

gas_prices

Find live fuel prices at stations near an address, sorted cheapest first by fuel type, with each price's last-updated time for quick cost planning.

Instructions

Live gas prices at stations near an address (Google Places), cheapest first.

fuel_type: regular, midgrade, premium, diesel, e85... (default CALLSHEET_FUEL or regular). Each price shows when it was last updated. Needs a Google Maps key.

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": {
      "near": "<near>"
    },
    "name": "gas_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
nearYes
fuel_typeNo
radius_milesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses the data source (Google Places), that results are sorted cheapest first, that each price carries a last-updated timestamp, and that a Google Maps key is required. It omits failure behavior when the key is missing and any rate/coverage limits.

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?

Front-loaded with the core purpose and ordering, followed by compact parameter notes and the prerequisite. No filler sentences, though the trailing 'Needs a Google Maps key' would read better grouped with setup/prerequisite context.

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?

No annotations and no output schema, so the description must cover behavior and it largely does — ordering, freshness, source, key requirement. The notable gap is radius_miles semantics (units, default of 5, sensible range) and how many stations are returned, which matter for a location-search tool.

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 0%, so the description must compensate. It handles fuel_type well by enumerating values and explaining the default chain (CALLSHEET_FUEL or regular), and 'near an address' loosely covers the required `near` param. However, radius_miles is never mentioned in the description and its schema title gives no units or bounds, leaving one of three parameters unexplained.

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?

States a specific verb+resource — 'live gas prices at stations near an address' — plus the source (Google Places) and ordering ('cheapest first'). An agent can tell this is a price-lookup tool rather than a routing tool like directions or plan_route, though it never names a sibling explicitly.

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 context is implied: use it when you need current fuel prices around a location. There is no explicit when-not guidance and no pointer to alternatives such as plan_route for travel planning, so routing decisions are left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.