Skip to main content
Glama

Fish and Chips by chippynear.me

Get directions to a chip shop

get_directions
Read-onlyIdempotent

Get map links (Google Maps and Apple Maps) for getting to one chip shop found by find_fish_and_chips, walking, cycling, driving or by public transport. Use fromCurrentLocation when the user is setting off now; use fromGivenLocation when they're planning a trip from somewhere else.

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": {
      "id": "<id>"
    },
    "name": "get_directions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe shop's id, or its chippynear.me link, from find_fish_and_chips.
latNoLatitude to start from, e.g. 54.486, when the user is starting somewhere else. Supply together with lng.
lngNoLongitude to start from, e.g. -0.615. Supply together with lat.
modeNoOnly this way of travelling: walking, cycling, driving or transit. Leave out for all.

Output Schema

NameRequiredDescriptionDefault
idYes
linkYesThe shop's page on chippynear.me.
nameYes
noteYesPlain-language caveat to mention to the user when Verified is false.
addressYes
distanceYesStraight-line distance from the given start point, when one was given.
verifiedYesFalse when the shop is pending review or has no visitor reports yet.
directionsYesMap links to the shop; null when it is permanently closed.
permanentlyClosedYesTrue when the shop has shut down for good; it then has no directions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the output shape (Google Maps and Apple Maps links) and the prerequisite that the id must come from find_fish_and_chips, and by confirming it acts on exactly one shop.

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 tight sentences with the capability stated first and the when-to-use branch second; no filler, no repetition of the title or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations, full schema coverage and an output schema present, the description covers the prerequisite, the scope (one shop) and the mode options — enough to invoke correctly. The only shortfall is the mismatched fromCurrentLocation/fromGivenLocation vocabulary, which should have been phrased in terms of the actual lat/lng parameters.

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 the baseline is 3 and the schema already explains id, lat, lng and the travel modes. The description reinforces the mode list ('walking, cycling, driving or by public transport') but then introduces 'fromCurrentLocation'/'fromGivenLocation' naming that matches no parameter, which risks sending the agent looking for fields that do not exist.

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 ('Get map links ... for getting to one chip shop') and names both the sibling that produces the id (find_fish_and_chips) and the travel modes covered. An agent can immediately tell this apart from the shop-search tools.

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 explicit when-to-use guidance distinguishing a now-trip from a planned trip from elsewhere, which implicitly maps to whether lat/lng are supplied. The gap is that it names the branches 'fromCurrentLocation' and 'fromGivenLocation', terms that do not exist as parameters, so the agent must translate them onto lat/lng itself.

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