Skip to main content
Glama

Food Business Pack

Live premises check for a food business: planning constraints, flood alerts and crime nearby

premises_check
Read-onlyIdempotent

Live check of a UK food premises by postcode before a lease, a change of use, a hot food takeaway or an extraction flue: conservation area, listed building, Article 4 direction and flood risk zone from planning.data.gov.uk (England), what each means for a food business, live Environment Agency flood alerts nearby, and burglary, criminal damage, robbery and anti social behaviour within about a mile from data.police.uk turned into a level and a security plan. Example: {"postcode":"LS1 6DT"}.

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

Input Schema

NameRequiredDescriptionDefault
postcodeYesFull UK postcode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the description only needs to add context — and it does: it discloses the external live data sources, the geographic limitation that planning data is England-only while a full UK postcode is accepted, and the ~1 mile crime radius. It does not mention latency, rate limits, or behavior when a postcode falls outside England, which keeps it from a 5.

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 the core purpose and scope, ending with a compact usage example — good structure. It is a single very long sentence packed with comma-separated lists, and phrases like 'what each means for a food business' are vague filler, so it is dense rather than perfectly tight.

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 carries the burden of explaining results, and it does: each planning constraint's meaning, flood alerts, and crime counts 'turned into a level and a security plan.' Combined with the England-coverage caveat and a single required postcode, an agent has everything needed to call it correctly.

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 schema coverage is 100% with 'Full UK postcode' already documented. The description reinforces the postcode input and supplies a concrete example ('{"postcode":"LS1 6DT"}'), which is mildly useful but adds little beyond the schema. Baseline 3 is appropriate given the schema does the work.

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 ('Live check of a UK food premises by postcode') and then enumerates exactly what is checked: conservation area, listed building, Article 4 direction, flood risk zone, live EA flood alerts, and four crime categories within about a mile. The named data sources (planning.data.gov.uk, Environment Agency, data.police.uk) and the worked example make it unmistakable versus hygiene or checklist siblings.

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 triggering situations: 'before a lease, a change of use, a hot food takeaway or an extraction flue.' That is clear when-to-use context, but there are no explicit exclusions or named alternatives (e.g. when to prefer food_hygiene_check instead), so it stops short of full routing 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.