Skip to main content
Glama

Gas Quebec: Quebec fuel prices

Look up a Quebec city slug

search_locations
Read-only

Fuzzy-match a Quebec city or region name and return its slug, the city_slug that get_city_prices and get_fill_up_verdict take. It matches city and region names only: it does not find gas stations, brands, street addresses, postal codes or landmarks, and returns no coordinates and no prices. Places outside Quebec have no data, so do not search for them. Region results (e.g. Laurentides) are not accepted by the price tools; pick a city. Skip this call when the slug is obvious: lowercase, accents dropped, spaces as hyphens, Saint/Sainte spelled out (Trois-Rivières = trois-rivieres, Québec City = quebec).

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": {
      "query": "<query>"
    },
    "name": "search_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage for result labelsfr
queryYesCity or region name, e.g. "Sherbrooke", "St-Jérôme" or "Gaspésie". Not a station, brand, address or postal code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Place or station name, e.g. \"Sherbrooke\" or \"Costco Anjou\""New value: +"City or region name, e.g. \"Sherbrooke\", \"St-Jérôme\" or \"Gaspésie\". Not a station, brand, address or postal code."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark it read-only, non-destructive and closed-world, and the description adds real behavior on top: fuzzy matching, what the result does and does not contain (no coordinates, no prices), the Quebec-only data boundary, and that region hits are unusable downstream. It also gives a concrete transformation rule with worked examples (Trois-Rivières = trois-rivieres).

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?

Front-loaded with the action and return value, then exclusions, then the downstream constraint, then the skip rule — a deliberate narrowing order with no filler. Every clause either prevents a wrong call or removes an unnecessary one.

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?

With no output schema, the description correctly specifies the return value (a slug) and its exact purpose as an argument to sibling tools, and it bounds the input domain. Nothing an agent needs to call this correctly is missing.

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 both parameters are already documented; the description still adds domain constraints not in the schema, namely that only Quebec places exist and that region names are matched but not accepted by consumers. The lang parameter is not discussed in the description at all, leaving that to the schema's enum and default.

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 ('Fuzzy-match a Quebec city or region name and return its slug') and immediately ties the output to the two consumer tools, get_city_prices and get_fill_up_verdict. An agent can distinguish it from find_cheapest_stations or list_cities 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 Guidelines5/5

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

Explicit when-to-use (need a city_slug for the price tools), explicit when-not (stations, brands, addresses, postal codes, landmarks, anywhere outside Quebec), plus a negative rule that region results are rejected by the price tools and a shortcut for when the slug is trivially derivable. This is close to a complete decision procedure.

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