Skip to main content
Glama

unmake file tools

Check a food label for GB, Northern Ireland or Ireland (free beta)

doc_food_label
Read-onlyIdempotent

Check a food label for GB, Northern Ireland or Ireland (free beta) (free beta). Checks a food label's print PDF (or one pack photo) against the recipe form: mandatory particulars, x-height and net-quantity figure heights measured in mm on the artwork, allergen emphasis on every mention, ingredient order and QUID, nutrition table (order, energy recomputed, values against your recipe), claims, business address and 'Not for EU' rules for GB / NI / IE. Returns the checked list with the rule for each point, an annotated PDF with each problem boxed, and a corrected ingredient list and nutrition table. Use when: A food business wants a label checked against UK / Irish labelling rules before printing. Not for: Other markets; multi-page dielines (first page only); health claims, origin, lot mark, field of vision (listed under not_checked). File types: pdf, png, jpg, jpeg. Max 30 MB.

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": "doc_food_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the safety bar is covered. The description adds real substance beyond that: accepted file types (pdf, png, jpg, jpeg), the 30 MB size cap, first-page-only handling, and the exact return payload (checked list with per-point rule, annotated PDF with problems boxed, corrected ingredient list and nutrition table). It falls short of 5 only in not stating processing time, failure modes, or how the 'free beta' status constrains use.

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?

Purpose and scope are front-loaded, and the long enumeration of checked rules earns its space because it defines coverage. Minor waste: '(free beta)' appears twice in the opening sentence, and the rule list is a single dense clause chain that is harder to scan than a short bulleted structure would be.

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?

With no output schema, the description correctly takes responsibility for describing returns — the checked list, annotated PDF, and corrected ingredient and nutrition tables. Combined with annotations covering the safety profile and the explicit not_checked boundary, an agent has everything needed to decide to call it and to interpret the result.

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 parameter descriptions already carry the baseline. The description still adds file-format and size constraints relevant to file_url/file_base64/filename, and 'one pack photo' communicates that only a single image is accepted — a constraint the schema does not express. The options object remains unexplained beyond a pointer back to the description.

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 concrete verb and resource — checks a food label's print PDF or pack photo against the recipe form — and enumerates the exact rule families checked (mandatory particulars, x-height, allergen emphasis, QUID, nutrition table, claims, 'Not for EU'). This is clearly distinguishable from sibling checks like doc_ce_check or doc_tender_check, which cover different document domains.

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?

Explicitly provides both directions: 'Use when: A food business wants a label checked against UK / Irish labelling rules before printing' and 'Not for: Other markets; multi-page dielines (first page only); health claims, origin, lot mark, field of vision (listed under not_checked).' The scoping of unsupported checks to a not_checked list is an unusually precise exclusion that prevents false expectations.

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