Skip to main content
Glama
rpint

ckd-parent-guide-mcp

by rpint

find_substitutes

Provides safe food substitutions for children with CKD when an ingredient is missing, using protein or energy equivalence and filtering by potassium, phosphorus, and sodium safety for the child's stage.

Instructions

家长问「家里没有 XX 了,用什么替换」时调用。

先按蛋白质或能量等价换算出替代食物的克数,再逐项核对替换后钾/磷/钠增量对这个 分期的孩子是否更不利,最后按安全分排序。全部为确定性计算,且会自动过滤红黄牌食物。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sexNo"male"/"female"。male
basisNo等价基准,"auto"(蛋白≥3g按蛋白等价,否则按能量)/"protein"/"energy"/"weight"。auto
limitNo返回候选数量上限。
scopeNo候选范围,"same_sub"(同小类)/"same_group"(同大类)/"all"(全表)。same_group
amount_gNo原来打算吃的克数,不填按儿童一次正常份量。
dialysisNo"none"/"PD"/"HD"。none
originalYes想替换掉的食物名,如「对虾」「鸡蛋」。
age_yearsNo患儿年龄(岁)。
ckd_stageNoCKD 分期,影响钾磷钠预算与惩罚打分。
weight_kgNo患儿体重(kg)。
serum_phosphateNo最近一次血磷(mmol/L)。
serum_potassiumNo最近一次血钾(mmol/L)。

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. It discloses that the operation is deterministic, involves calculating equivalent amounts, checking electrolyte increments, and automatically filtering red/yellow card foods. It also explains sorting by safety score, which is valuable behavioral context.

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 concise and well-structured, front-loading the trigger condition and using a few sentences to convey the algorithm and key behaviors. There is no filler or redundancy.

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?

Given the tool has 12 parameters and an output schema, the description provides a high-level but sufficient overview of purpose, algorithm, and safety filtering. It doesn't explain every parameter, but schema descriptions cover that. It is complete enough for an agent to understand when and how to invoke it.

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?

The schema has 100% description coverage, so the baseline is 3. The description adds context by explaining how parameters relate, such as basis determining protein vs energy equivalence and ckd_stage affecting penalty scoring. This goes slightly beyond individual parameter descriptions.

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 clearly states the tool's purpose: to find food substitutes when a parent asks what to replace. It uses a specific trigger phrase and describes the core functionality. This distinguishes it from sibling tools like can_eat or search_food.

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 about substituting a missing food item. It provides clear contextual guidance but does not explicitly name alternatives to avoid, though the trigger is specific enough to guide usage.

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