Skip to main content
Glama

Trustbase Lab · Trusted Data Infrastructure for the AI Era

get_dietary_guidelines

get_dietary_guidelines
Read-onlyIdempotent

Purpose: dietary guideline entries issued by WHO, China and the US. Guidelines: use when a question asks what a guideline body recommends. Limits: reference only, not individual advice; the three bodies' scopes differ, so do not merge their numbers. Ex: get_dietary_guidelines(keyword='全谷物').

Input Schema

NameRequiredDescriptionDefault
keywordNo关键词过滤(中英均可)
languageNo输出语言zh
response_formatNo输出格式:markdown=人类阅读, json=Agent 处理友好markdown

Output Schema

NameRequiredDescriptionDefault
textYesHuman-readable result (markdown, or a JSON string when response_format=json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the description only needs to add domain context. It does: it warns that the three bodies' scopes differ and that their numbers must not be merged, and it flags the output as reference rather than personal advice — a genuinely useful caveat absent from the structured fields.

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?

Labeled fragments (Purpose/Guidelines/Limits/Ex) front-load the scope and constraints with no filler. The inline example earns its place by demonstrating invocation, though it repeats information the schema already implies.

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?

An output schema exists, so return formatting need not be explained, and all three optional parameters are documented in the schema. The description supplies the domain caveats an agent needs (source scope, no cross-body merging, non-personal advice) but omits any note about result volume or whether coverage is exhaustive across the three bodies.

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

Parameters4/5

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

Schema coverage is 100% with enums and defaults documented, so the baseline is 3. The description adds a worked example showing a Chinese-language keyword, which confirms bilingual keyword input in practice and slightly exceeds the schema's terse '中英均可'.

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 resource (dietary guideline entries) and confines scope to three named bodies (WHO, China, US), which is enough to separate it from query_dietary_limits and the broader query_* tools. It stops short of naming that sibling explicitly, so the differentiation is inferential 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'use when a question asks what a guideline body recommends' gives a clear triggering condition, and the Limits line adds an exclusion (reference only, not individual advice). It never names the nearest alternative (query_dietary_limits) or says when that one is preferred, so routing still requires inference.

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