Skip to main content
Glama
rpint

ckd-meal-plan-mcp

by rpint

generate_meal_plan

Generate a customized five-meal daily plan for pediatric CKD patients with portions, timings, and substitutes, then automatically save it to SQLite.

Instructions

生成一日五餐可执行食谱(含克重/餐次/替代方案),并自动写入 SQLite。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variantNo轮换种子(0/1/2… 不同数字得不同搭配,便于排多日食谱)
plan_dateNo计划日期(留空取今天)
patient_idYes患儿 ID(如 P004)
exclude_foodsNo逗号分隔的需剔除食物(患儿/家长指定不吃)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/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 the side effect of auto-writing to SQLite, which is important, but does not mention overwrite behavior, prerequisites, or other potential impacts. It adds some context but not comprehensive transparency.

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 sentence that front-loads the main action and includes key output details and the persistence side effect. Every word contributes value, with no waste.

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 output schema exists and the schema covers all parameters, the description adequately covers the core operation and the key side effect (SQLite write). It does not explain conflict handling or whether it requires existing patient data, but these are minor gaps given the available structured metadata.

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 coverage is 100% with all parameters having descriptions, so the baseline is 3. The description adds no parameter-specific details beyond what the schema already provides.

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 states the tool generates a one-day five-meal executable meal plan with grams, meal times, and alternatives, and automatically writes to SQLite. This is a specific verb+resource+scope, and the auto-write detail distinguishes it from sibling save_meal_plan.

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 (generating a meal plan with details and persisting it) but does not explicitly mention when to use this tool versus alternatives like save_meal_plan or compute_nutrition_targets. No exclusions are stated, but the context is clear enough.

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-meal-plan-mcp'

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