Skip to main content
Glama
rpint

ckd-parent-guide-mcp

by rpint

can_eat

Checks if a child with CKD can eat a specific food, applies red-flag rules, asks for missing clinical info if needed, then gives a green/yellow/red light and the maximum safe portion.

Instructions

家长问「XX 能不能吃」时调用。

先按红黄牌规则拦截(杨桃、低钠盐、NSAIDs 等不分分期禁止); 若家长没说 CKD 分期/年龄/体重,会返回 need_more_info 并主动列出各分期每日营养标准对照, 提醒你去追问;若信息齐全,则按该患儿当日钾/磷/钠/蛋白预算反算「这一顿最多吃多少克」, 给出绿灯/黄灯/红灯结论与家常量具换算;家长若给出想吃的克数(amount_g),会据此给出限量提示。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sexNo"male" 或 "female"。male
amount_gNo家长想给的克数;不填则按一次正常份量估算并给出上限。
dialysisNo透析方式,"none"/"PD"/"HD"。none
age_yearsNo患儿年龄(岁),缺省会追问。
ckd_stageNoCKD 分期,可写 "1/2/3a/3b/4/5/5d"、"G3a"、"透析" 等,缺省会追问。
meal_typeNo这一顿类型,"正餐"/"加餐"/"零食"/"饮料"/"全天"。正餐
weight_kgNo患儿体重(kg),缺省会追问。
food_queryYes食物名称,如「香蕉」「土豆」「对虾」。
on_steroidsNo是否在用激素(影响能量需求)。
diet_patternNo饮食模式,"mixed"/"vegetarian"/"vegan"。mixed
serum_phosphateNo最近一次血磷(mmol/L),用于判断是否限磷。
serum_potassiumNo最近一次血钾(mmol/L),用于判断是否限钾。
hypertension_or_edemaNo有无高血压或水肿(影响限钠严格度)。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It thoroughly explains the tool's behavior: red/yellow card interception, returning need_more_info for incomplete input, reverse-calculating portion limits from daily budgets, providing green/yellow/red light conclusions, and applying amount_g restrictions. This goes beyond a basic summary and gives the agent a clear mental model of the tool's process.

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 dense but every clause earns its place. It front-loads the trigger condition, then logically proceeds through interception, missing-info handling, complete-information calculation, and amount_g-specific guidance. No filler words, and the structure mirrors the tool's execution flow.

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

Completeness5/5

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

For a tool with 13 parameters, an output schema, and complex decision rules, the description gives a complete overview: it covers the rule-based interception, the need_more_info branch, the calculation methodology (potassium/phosphorus/sodium/protein budgets), the output conclusion format (traffic light), and the handling of optional amount_g. This is enough for an agent to invoke the tool correctly even in edge cases.

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

Parameters5/5

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

Although schema coverage is 100%, the description adds significant meaning beyond the field descriptions. It explains that ckd_stage, age_years, and weight_kg are triggers for need_more_info if missing, and that amount_g is used to provide a limit reminder. This connects the parameters to the tool's decision logic, which the schema alone does not convey.

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?

The description opens with a specific trigger condition ('家长问「XX 能不能吃」时调用') and clearly states the tool's function: to evaluate whether a food is safe for a CKD patient, using red/yellow card rules, nutritional budgets, and portion calculations. This distinguishes it from sibling tools like find_substitutes or cooking_tips, which have different purposes.

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?

The description explicitly says when to call (when a parent asks if a food can be eaten) and provides context for handling missing information (asking for CKD stage/age/weight). However, it does not explicitly mention when not to use the tool or name alternative sibling tools, so it lacks the full when/when-not/alternatives guidance.

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/rpint/ckd-parent-guide-mcp'

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