Skip to main content
Glama

Contaminants For Commodity

contaminants_for_commodity
Read-onlyIdempotent

Every Codex maximum level that applies to one food — "which contaminant limits apply to rice", "what are the Codex limits for milk". Returns each contaminant with its maximum level and unit for that commodity, from CXS 193.

Input Schema

NameRequiredDescriptionDefault
commodityYesFood or commodity name, e.g. "rice", "fish", "milk", "cereal grains", "natural mineral waters".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already convey read-only, idempotent, and non-destructive behavior. The description adds behavioral context by specifying the source standard (CXS 193) and the output shape (contaminant, maximum level, unit), which goes beyond the structured annotations without contradicting them.

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 description is compact with two sentences and zero filler, and the core purpose is front-loaded. The phrasing 'Every Codex maximum level that applies to one food' is slightly awkward but still clear and efficient.

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?

For a single-parameter, read-only tool with full schema coverage, the description provides enough context: it names the source, the output fields, and gives user-facing examples. Minor gaps like handling unknown commodities or formatting details are not critical here.

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?

The input schema already fully describes the single 'commodity' parameter with examples, so schema coverage is 100%. The description reinforces that it refers to 'one food' but adds little meaning beyond the schema, so the baseline score of 3 is appropriate.

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?

The description clearly states the tool returns each contaminant's maximum level and unit for a given commodity, sourced from CXS 193, with illustrative queries. It is specific about the resource and action, but it does not differentiate from the sibling tool 'contaminants_max_levels', so it misses full sibling distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance is given about when to use this tool versus alternatives such as 'contaminants_max_levels'. The examples imply a use case (look up limits for one food), but there are no conditions, exclusions, or references to sibling tools, leaving selection largely to inference.

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.