Skip to main content
Glama

Official Records Hub: Company, Sanctions & Financial Checks (UK, US & Global)

uk_food_hygiene

Read-onlyIdempotent

UK food hygiene ratings for AI agents: send a business name and optionally a postcode, town or street, and get the official Food Standards Agency rating (0-5, or Pass in Scotland) with its meaning, inspection date, business type, address, council and inspection scores, as JSON. For checking restaurants, takeaways, caterers and food suppliers. Official open data (OGL). Errors never charged. Use this when the user asks about a UK restaurant, takeaway, cafe or food supplier's official food hygiene rating. Not for: food quality, reviews or menus. Price: $0.01 USDC per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
nameYesBusiness name, e.g. Greggs. Example: Greggs
locationNoPostcode, town or street to narrow the search, e.g. L1 or Liverpool. Example: L1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that ratings are 0-5 with a Scottish 'Pass' variant, that the data is official OGL open data, that errors are never charged, and that each call costs $0.01 USDC via x402. Billing and error-charging policy are behavior an agent cannot infer from readOnlyHint/idempotentHint, so this is genuine added context.

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 payload, then usage, exclusions, provenance and price — a sensible ordering. It runs long for a two-parameter tool and repeats the price already present in the annotation title, which costs it a point.

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 no output schema, the description usefully enumerates the returned fields and the rating scale, and covers cost and error behavior. What it lacks is disambiguation behavior for ambiguous or non-matching business names, which matters for a free-text lookup 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 100%, so both parameters are already documented. The description only restates that name is required and location is optional and can be a postcode, town or street — consistent with the schema but adding no new syntax or matching behavior (e.g. fuzzy name matching, what happens on multiple matches). 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 — 'get the official Food Standards Agency rating' for a UK business — plus the exact return payload (rating, inspection date, address, council, inspection scores). This is clearly distinguishable from the sibling company/sanctions/financial tools, so an agent can route to it without opening the 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?

Gives an explicit trigger ('when the user asks about a UK restaurant, takeaway, cafe or food supplier's official food hygiene rating') and explicit exclusions ('Not for: food quality, reviews or menus'). The exclusions pre-empt the most likely misrouting for this kind of query.

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