Skip to main content
Glama

Uk Food Alerts

Uk Food Alert Get

uk_food_alert_get
Read-onlyIdempotent

Get one UK Food Standards Agency food alert by its number (such as FSA-AA-53-2026 for an allergy alert or FSA-PRIN-01-2018 for a product recall): the description, the problem and risk statement, every product with pack size and batch codes and use-by or best-before dates, the action the business has taken, the advice to consumers, other businesses involved and the notice and attachment links. An unknown number returns found:false. Example: alert_number="FSA-AA-53-2026".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "alert_number": "FSA-AA-53-2026"
    },
    "name": "uk_food_alert_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
alert_numberYesAlert number as returned by uk_food_alerts_search, e.g. "FSA-AA-53-2026".

Output Schema

NameRequiredDescriptionDefault
noteNo
alertNo
foundNo
caveatNo
sourceNo
data_as_ofNo
alert_numberNo
empty_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: an unknown number returns found:false rather than erroring, which tells the agent how to handle misses. It does not mention rate limits or whether the underlying notice is fetched live, but the not-found contract is the important disclosure.

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 verb and resource, then a compact inventory of returned fields, then the not-found rule, then a concrete example. No sentence is filler; the long middle clause is dense but each item is a distinct returned field.

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 single-parameter lookup with a full output schema, the description covers purpose, input format, returned content and the miss case. Nothing an agent needs in order to call it correctly is absent.

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 the baseline is 3, but the description earns more by decoding the identifier format: 'FSA-AA-53-2026' for an allergy alert versus 'FSA-PRIN-01-2018' for a product recall. That tells the agent the number encodes alert type and year, which the schema alone does not.

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 one UK Food Standards Agency food alert by its number') and enumerates exactly what comes back: description, problem/risk statement, products with pack size and batch codes, business action, consumer advice, links. The 'one ... by its number' framing cleanly separates it from the sibling search tool.

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?

The retrieval-by-identifier context is clear and the two worked examples (allergy alert, product recall) show the expected input shape. It stops short of explicitly saying 'use uk_food_alerts_search first to obtain the number' in the description itself — that link only appears in the schema's parameter text — so there is no stated exclusion or alternative path here.

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.