Skip to main content
Glama

Good Turn Studio (all tools)

Plate Pal: Nutrition for a packaged product by barcode, with UK traffic lights

platepal_get_barcode_nutrition
Read-onlyIdempotent

Plate Pal. Nutrition for a packaged product by barcode, with UK traffic lights. Use for "is this barcode high in sugar?", "how many calories in this?" after a scan, or "what's the salt in 5000157024886?". Returns per 100 g (or 100 ml) and per serving values, traffic lights for fat, saturates, sugars and salt, Nutri-Score, allergens and a Halal or Not? link for checking the ingredients

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesBarcode digits (8 to 14).
servingsNoNumber of servings to total up (0.25 to 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, non-open-world read. The description adds the return payload that annotations cannot convey: per-100g/100ml and per-serving values, four traffic lights, Nutri-Score, allergens and a Halal link. That is meaningful beyond the structured safety hints.

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 first, then usage triggers, then return contents - a sensible front-loaded order. The redundant 'Plate Pal.' prefix duplicates the title and the return list is dense, but every clause carries information for an agent.

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 is the only source of return-value information, and it delivers a thorough enumeration of what comes back. Parameters are covered by the schema, and the safety profile by annotations, leaving little an agent needs that is missing.

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 description coverage is 100%, so both 'code' (8-14 digits) and 'servings' (0.25-20) are already fully documented. The description's embedded example barcode adds format intuition but no semantics beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (nutrition for a packaged product) and a specific selector (by barcode), with UK traffic lights as a differentiator. This distinguishes it from platepal_get_food_nutrition (general food nutrition) and halalornot_check_product_by_barcode (halal screening of the same barcode), though it does not name those siblings explicitly.

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 three concrete triggering queries ('is this barcode high in sugar?', 'how many calories in this?' after a scan, 'what's the salt in 5000157024886?') that make the use context unmistakable. It stops short of explicitly excluding the sibling tools, so it lands at clear-context rather than explicit-alternatives.

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.