Skip to main content
Glama

Gas Quebec: Quebec fuel prices

Should I fill up now or wait?

get_fill_up_verdict
Read-only

Whether gas is fairly priced in a Quebec city right now, and whether to fill up now or wait. Returns the city's average regular price against a fair price derived from the Régie de l'énergie's daily cost estimates, with a verdict (good, fair or high) and fill-now/wait advice, plus a low/fair/high verdict for premium and diesel from where today's price sits in its own 30-day range. Use it for "is now a good time to fill up", "should I wait" or "is $X a good price". Current state only: it returns no past prices, and no tool does. Fields are null during data gaps or for an unknown slug.

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": {
      "city_slug": "<city_slug>"
    },
    "name": "get_fill_up_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
city_slugYesCity slug: lowercase, no accents, hyphens (e.g. "sherbrooke", "levis"). Use search_locations or list_cities when unsure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / city_slug / description
      Previous value: -"City slug from list_cities or search_locations"New value: +"City slug: lowercase, no accents, hyphens (e.g. \"sherbrooke\", \"levis\"). Use search_locations or list_cities when unsure."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is lower, yet the description still adds substantive behavior: what the verdict is compared against (Régie de l'énergie daily cost estimates), the secondary premium/diesel logic (position in own 30-day range), and null-field behavior during data gaps or for an unknown slug. That edge-case disclosure is exactly the kind of context annotations cannot express.

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 verdict and advice are front-loaded in the first sentence, followed by return details, then the current-state limitation. Information-dense with no filler, though the long compound sentences pack multiple ideas (return shape, secondary fuels, nulls) into single runs.

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?

There is no output schema, so the description must convey the return shape, and it does: average regular price vs. a derived fair price, a three-level verdict, fill/wait advice, plus separate premium and diesel verdicts. Combined with the null-handling note and the no-history constraint, an agent has everything needed to call it and interpret results.

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?

Only one parameter and the schema already documents it fully (100% coverage) including format examples and a pointer to search_locations/list_cities. The description contributes only the "unknown slug" consequence (null fields); otherwise the schema carries the load, so 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 and resource: it returns a pricing verdict (good/fair/high) plus fill-now/wait advice for a Quebec city, and explicitly notes premium/diesel verdicts derived from a 30-day range. This is clearly differentiated from a plain price lookup like get_city_prices, since the deliverable is judgment and advice rather than raw numbers.

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 concrete trigger phrases ("is now a good time to fill up", "should I wait", "is $X a good price") and a clear exclusion: "Current state only: it returns no past prices, and no tool does." It stops short of naming which sibling to use for adjacent needs (e.g. cheapest stations or other cities), leaving that routing to inference from the sibling names.

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