Skip to main content
Glama

foodfacts.org

Latest articles

latest
Read-onlyIdempotent

The newest foodfacts.org articles, optionally only one type, category, topic or verdict.

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

Input Schema

NameRequiredDescriptionDefault
typeNo
limitNoHow many results (default 10, at most 30).
topicNoTopic (tag) name or slug from list_topics, e.g. seed oils.
verdictNoOnly fact-checks with this verdict: 1 False, 2 Mostly false, 3 Misleading, 4 Mostly true, 5 True.
categoryNoCategory slug from list_topics, e.g. nutrition or the-climate-crisis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true and closed-world scope, so the safety profile is covered. The description adds the ordering behavior ("newest") and implies filters act as a narrowing single facet, which is more than the annotations say. It omits what a result record contains and whether results are capped/paged beyond the schema's limit field.

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?

One short sentence, front-loaded with the resource and ordering, followed by the optional constraints. No filler, no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter list tool this is close to adequate, and the 80% schema coverage handles most parameter semantics. However, with no output schema, the description never indicates what an article result looks like (fields, ordering ties, how many facets can be combined), leaving a genuine gap for an agent planning a call.

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 80%, including the limit default/cap and the verdict scale, so the schema carries most of the semantic load. The description only restates the four filter names without adding format, interaction, or exclusivity rules; baseline 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 newest foodfacts.org articles" names the resource and the recency ordering explicitly, and the trailing clause lists the optional narrowing filters. It does not distinguish itself from siblings like search or get_article, so an agent cannot tell from the description alone when recency-listing beats searching.

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

Usage Guidelines3/5

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

The phrase "optionally only one type, category, topic or verdict" implies the intended usage pattern: fetch latest, optionally narrow by a single facet. There is no explicit when-to-use vs. search, no statement of when not to use it, and no prerequisites such as needing a slug from list_topics (that hint lives in the schema, not the description).

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