Skip to main content
Glama

foodfacts.org

Search foodfacts.org

search
Read-onlyIdempotent

Search everything on foodfacts.org: fact-checks, guides, features, opinion pieces, Misinformation Watchlist profiles, topics, free tools and pages. Returns titles, links, summaries, verdicts and a matching snippet.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoLimit to one kind of result (default all).
limitNoHow many results (default 10, at most 25).
queryYesWords to search for.
verdictNoOnly fact-checks with this verdict: 1 False, 2 Mostly false, 3 Misleading, 4 Mostly true, 5 True.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds that results include titles, links, summaries, verdicts and a matching snippet, which is genuinely useful given there is no output schema, but it says nothing about result ordering or how limits interact with total matches.

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?

Two sentences, zero filler, with the scope statement front-loaded and the return fields following. Every clause carries information an agent needs.

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 read-only search with no output schema, describing both the indexable content kinds and the shape of returned records is close to sufficient. What is missing is only secondary: ranking behavior and how the 25-result cap interacts with broad queries.

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%, including the full verdict scale (1 False through 5 True) and the type enum, so the schema does the heavy lifting. The description only mentions verdicts as a return field and does not explain how the verdict filter or type scoping behaves, so it adds no meaning beyond the schema.

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?

"Search everything on foodfacts.org" states a specific verb and resource, and the enumeration of content kinds (fact-checks, guides, watchlist profiles, topics, tools, pages) makes the breadth unmistakable. It never names a sibling like list_topics or get_article, so the contrast with narrower tools is left implicit rather than stated.

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 word "everything" implies this is the broad retrieval tool to use when you don't want a scoped lookup, which is useful implied guidance. There is no explicit when-to-use / when-not-use statement and no pointer to the more targeted siblings for known-item retrieval.

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