Skip to main content
Glama

Nutrients: proof-backed nutrition data

search

Read-only

Find items by name, barcode or meaning. match "none": the hits are other foods. Misses carry contribute.

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
brandNo
kindsNo
limitNo
queryYes
cursorNo
marketNoISO country

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / kinds / items / type
      Removed value: -"string"
    • removedInput schema / properties / limit / default
      Removed value: -10
    • removedInput schema / properties / limit / maximum
      Removed value: -50
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • changedInput schema / properties / market / description
      Previous value: -"ISO 3166-1 country where the item is sold or eaten, e.g. US, GB, JP."New value: +"ISO country"
    • removedInput schema / properties / market / maxLength
      Removed value: -2
    • removedInput schema / properties / market / minLength
      Removed value: -2
    • removedInput schema / properties / query / maxLength
      Removed value: -200
    • removedInput schema / properties / query / minLength
      Removed value: -1
  2. First observed

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that the description adds nothing interpretable: 'Misses carry contribute' conveys no actionable behavior, and pagination via cursor/limit or what constitutes a 'hit' is never explained.

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?

It is short, but brevity is not the same as conciseness here. The second and third sentences are cryptic fragments with no clear referent, so they consume space without earning it; the useful signal is confined to the first sentence.

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?

With six parameters, no output schema, and near-zero schema description coverage, the description needs to carry substantial weight and does not. Neither result shape, paging behavior, nor the meaning of the many filter parameters is addressed, leaving an agent unable to call this confidently beyond the required query.

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 only 17% (just market = ISO country). The description does add real meaning to the required query parameter, indicating it accepts a name, a barcode, or a semantic 'meaning' lookup. However, brand, kinds, limit, and cursor remain undocumented in both schema and description, so the coverage gap is not compensated.

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 opening sentence gives a concrete verb and resource: 'Find items by name, barcode or meaning.' That distinguishes it from mutation siblings like add_proof or register. The trailing fragment ('match "none": the hits are other foods. Misses carry contribute.') is opaque and muddies rather than sharpens the purpose, but the core operation is still identifiable.

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 tool versus siblings such as lookup_barcode, query, or get, even though the description itself mentions barcode lookup as one of its modes. The 'match "none"' sentence gestures at a fallback condition but is phrased too ambiguously to act as usable routing guidance.

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