Skip to main content
Glama
ruffood
by ruffood

search_food

Search Chinese foods by name to retrieve matching items with their ID, name, and main nutrient summary. Find nutritional information for Chinese dishes.

Instructions

按名称搜索中国食物,返回匹配的食物列表(含ID、名称、主要营养素摘要)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes食物名称关键词,如「鸡蛋」「牛肉」「米饭」
Behavior3/5

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

No annotations are provided, so the description carries the responsibility for behavioral disclosure. It discloses the return format (matching foods with ID, name, main nutrient summary) but does not mention search matching rules (e.g., exact vs partial), result limits, or whether the operation is read-only, though 'search' implies non-mutating behavior.

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?

The description is a single, well-structured sentence that immediately states the action and output. No redundant information.

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 search tool with one parameter and no output schema, the description provides essential information including return fields. It could be more complete by mentioning response limits or matching behavior, but it is adequate for a basic search use case.

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?

The schema covers 100% of parameter meaning with a clear description and examples. The tool description adds no further parameter semantics beyond what the schema already states.

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

Purpose5/5

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

Description states a specific action ('search Chinese food by name') and lists the return payload (ID, name, nutrient summary). This clearly differentiates from sibling tools like compare_foods or get_nutrition, which focus on comparison or specific retrieval.

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 description implies usage for name-based searches but does not explicitly say when to use it versus alternatives like filter_by_nutrient or compare_foods. No exclusions or alternative tool references are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ruffood/cn-food-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server