Skip to main content
Glama

Openfoodfacts Country

openfoodfacts_country
Read-onlyIdempotent

Products from a country.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "country": "France"
    },
    "name": "openfoodfacts_country"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
countryYes
page_sizeNo

Output Schema

NameRequiredDescriptionDefault
pageNoCurrent page number
countNoTotal products from country
productsNoArray of products from country
page_sizeNoResults per page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered elsewhere. The description adds nothing beyond that — no indication of result volume, whether results are paginated by default, or how large a country's product list may be.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence is concise but under-specified rather than efficient; it is too thin to be front-loaded with anything meaningful. No wasted words, but very little substance.

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

Completeness2/5

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

An output schema exists, so return values need not be described, but the description leaves the pagination parameters and the country-value format undocumented for a three-parameter tool. It is not adequate for correct invocation without trial and error.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description compensates almost not at all: it implies the country parameter's meaning but says nothing about whether it takes a country name or code, and page/page_size go completely unexplained in both places.

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

Purpose3/5

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

"Products from a country" names a resource (products) and a scope (country), which is enough to know roughly what comes back. But it has no verb, no mention of pagination or filtering mechanics, and nothing that distinguishes it from siblings like openfoodfacts_category or openfoodfacts_search beyond the country axis.

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?

There is no statement of when to use this instead of openfoodfacts_search, openfoodfacts_category, or openfoodfacts_product. The agent must infer the selection rule purely from the tool name.

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.