Skip to main content
Glama

Fish and Chips by chippynear.me

Find fish and chips

find_fish_and_chips
Read-onlyIdempotent

Finds fish and chip shops (chippies) near a location, nearest first. Searches near lat and lng; a place, town, landmark or postcode the user names needs converting to approximate latitude/longitude first. query only matches text in a shop's name or address. With no lat/lng or query, the user's configured default location is used if they set one; with no location at all, the result is an error saying a location is needed. open_now limits the results to shops known to be open right now. Results can include a note about a shop. Links to batteredeconomy.com go to chippynear.me's sister site, which shares its listings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_fish_and_chips"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude of the place to search near, e.g. 51.296. Supply together with lng.
lngNoLongitude of the place to search near, e.g. -0.331. Supply together with lat.
limitNoMaximum number of shops to return: default 5, at most 20.
queryNoOptional text that must appear in a shop's name, address or town, e.g. "codfather".
open_nowNoOnly return shops known to be open right now.

Output Schema

NameRequiredDescriptionDefault
countYesNumber of shops returned.
queryYesText the search matched against shop names and addresses, if any.
shopsYes
messageYesShort explanation, e.g. when nothing was found.
receiptTipYesPass on once per conversation: how to add this shop's price by scanning a receipt. Null when no shops were found.
addShopLinkNoSet with coverageTip: a link template to Battered Economy's submit form, pre-filled. Only for a chippy you found in a real source such as a web search, never invent one: replace {name} and {address} with its URL-encoded name and address and give the user the link. The user checks the form and sends it. Null when coverageTip is null.
coverageTipYesPass on once per conversation: listings near here may be incomplete, and how to add a missing chippy. Null when shops are close by, or for text searches.
searchedFromYesWhere the search was centred, when it had a point.
unknownHoursLeftOutYesWith open_now, how many nearby shops were left out because their hours are unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / addShopLink
      Added value: +{
      +  "default": null,
      +  "description": "Set with coverageTip: a link template to Battered Economy's submit form, pre-filled. Only for a chippy you found in a real source such as a web search, never invent one: replace {name} and {address} with its URL-encoded name and address and give the user the link. The user checks the form and sends it. Null when coverageTip is null.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / coverageTip
      Added value: +{
      +  "description": "Pass on once per conversation: listings near here may be incomplete, and how to add a missing chippy. Null when shops are close by, or for text searches.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "count",
      -  "message",
      -  "unknownHoursLeftOut",
      -  "searchedFrom",
      -  "query",
      -  "shops",
      -  "receiptTip"
      -]New value: +[
      +  "count",
      +  "message",
      +  "unknownHoursLeftOut",
      +  "searchedFrom",
      +  "query",
      +  "shops",
      +  "receiptTip",
      +  "coverageTip"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / receiptTip
      Added value: +{
      +  "description": "Pass on once per conversation: how to add this shop's price by scanning a receipt. Null when no shops were found.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "count",
      -  "message",
      -  "unknownHoursLeftOut",
      -  "searchedFrom",
      -  "query",
      -  "shops"
      -]New value: +[
      +  "count",
      +  "message",
      +  "unknownHoursLeftOut",
      +  "searchedFrom",
      +  "query",
      +  "shops",
      +  "receiptTip"
      +]
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-open-world behavior, so the bar is lower; the description still adds real value by disclosing the default-location fallback, the error when no location exists, and that results may carry a per-shop note. The note about batteredeconomy.com links contextualizes the return payload rather than the call itself.

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 purpose and ordering, then constraints, then fallbacks and error behavior — a sensible progression with little waste. The sister-site link sentence is tangential to invoking the tool and is the one piece that could be cut.

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 five-parameter, all-optional search with an output schema already describing return values, the description covers the ambiguous parts an agent would otherwise get wrong: geocoding prerequisites, ordering, fallback location, and the error path. Nothing essential to calling 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 description coverage is 100%, so all five parameters are already documented, and the description mostly restates them (lat/lng pairing, open_now, default location). One detail is inconsistent rather than additive: it says query matches 'a shop's name or address' while the schema says name, address or town.

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 and resource ('Finds fish and chip shops (chippies) near a location') plus the result ordering ('nearest first'), which separates it from a single-shop lookup like get_chippy. It never names an alternative sibling or explicitly says what it is not, so it stops short of full sibling differentiation.

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 usage context: lat/lng are the search anchor, a named place must be geocoded first, query only matches name/address text, open_now filters to known-open shops. It also documents the fallback chain and the failure case. It does not name an alternative tool or say when to prefer one, so no exclusion guidance.

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