Skip to main content
Glama

Hk Food Alert Get

hk_food_alert_get
Read-onlyIdempotent

Get one Hong Kong Centre for Food Safety food alert or allergy alert by its id (such as 2026_636 from hk_food_alerts_search): the issue date, food product, importer and place of origin, product description (batch, best-before date, weight), the reason for the alert (the test result and the legal limit), the action the CFS and the importer took, the advice to the trade and to consumers, and the related links. Phone numbers and e-mail addresses are removed. An unknown id returns found:false. Example: id="2026_636".

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": {
      "id": "2026_636"
    },
    "name": "hk_food_alert_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAlert id such as 2026_636, as returned by hk_food_alerts_search.

Output Schema

NameRequiredDescriptionDefault
alertNo
foundNo
caveatNo
sourceNo
data_as_ofNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world behavior, and the description adds two genuinely non-obvious traits on top: contact details (phone numbers and e-mail addresses) are redacted from results, and an unknown id returns found:false rather than erroring. It also previews the returned content categories, giving the agent a clear picture of what comes back.

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?

The verb and resource are front-loaded and the not-found behavior is stated crisply at the end. The middle enumeration of return fields is lengthy and partly duplicates the output schema, costing a little efficiency, but it remains readable and single-purpose.

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 one-parameter lookup, the description covers the id source, the id format, the failure mode, privacy redaction, and the content of the response. With an output schema present, no further return-value explanation is required, so nothing an agent needs in order to call this correctly is missing.

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% and the single parameter is already documented, so the baseline is 3. The description adds marginal value by showing the concrete id shape ("2026_636") and restating where ids originate, which reduces the chance of a malformed id.

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 Hong Kong Centre for Food Safety food alert or allergy alert by its id'. It also names the sibling that produces the id (hk_food_alerts_search), so an agent can distinguish this detail-fetch from the search tool without opening either schema.

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 description establishes the retrieval context clearly by tying the id to hk_food_alerts_search output, which implies this is the follow-up call after a search. It does not spell out explicit exclusions or say when not to use it, so it falls short of full when/when-not 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.