Skip to main content
Glama

PlugRail JP Nutrition

search_foods

食品名で日本食品標準成分表(八訂)増補2023年の食品を検索します。食品番号・食品名のみ返します。入力例: {"query": "アマランサス", "limit": 5}

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_foods"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo取得件数(省略時は10)。例: 5
queryYes検索文字列(部分一致)。例: "アマランサス"
offsetNo先頭からの飛ばし件数(省略時は0)。例: 20

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?

With no annotations, the description must carry the behavioral burden; it does disclose the dataset edition and exactly which fields come back, which is genuinely useful. It says nothing about matching behavior, result ordering, or behavior when no match is found, leaving meaningful gaps for a no-annotation tool.

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?

Three short, front-loaded sentences: what it searches, what it returns, then an example. The example partially duplicates the schema's own examples, but nothing is wasted or buried.

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 simple three-parameter search with no output schema, the description covers the key unknowns: the exact dataset and the shape of the return values. Only pagination/ordering behavior is left unstated, and the schema already documents limit and offset.

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%, so limit, query, and offset are already documented with types and examples. The description's inline input example adds a little concreteness but no semantics beyond what the schema provides, so the baseline of 3 applies.

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?

States a specific verb+resource: search foods by name in a precisely identified dataset (日本食品標準成分表 八訂 増補2023年), and clarifies the narrow return scope (food number and name only). It does not explicitly distinguish itself from lookup_nutrition or calc_nutrition, so it falls short of a 5.

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 'returns only food number and food name' line implies this is a discovery step whose IDs feed a later nutrition lookup, but no when-to-use or when-not-to-use guidance is given and no sibling is named. Usage is only implied.

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.