Publish a diet plan
activate_diet_planPublishes a diet plan to the student (the previous active one is archived) and pushes them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | Id from list_diet_plans. |
activate_diet_planPublishes a diet plan to the student (the previous active one is archived) and pushes them.
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | Id from list_diet_plans. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false), so the description isn't carrying that burden. It does add genuinely useful side-effect context: the previously active plan is archived on publish. However, 'pushes them' is opaque — it doesn't say whether that is a notification, a delivery failure mode, or anything the agent should surface.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One front-loaded sentence with no filler. The trailing 'and pushes them' is terse to the point of ambiguity, which is the only structural weakness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter tool with annotations and no output schema, the definition covers the action and its archival side effect but leaves the 'push' undefined and says nothing about what is returned or what happens if publishing fails.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single planId parameter is already documented as an id from list_diet_plans, so the schema does the work. The description adds nothing about the parameter, which is acceptable at this coverage level.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (publishes) and resource (diet plan) plus the target (the student), so the action is unambiguous. It does not differentiate itself from near siblings like schedule_diet_plan or get_active_diets, but the core purpose is clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no when-to-use or when-not guidance and names no alternative. The only routing hint, planId coming from list_diet_plans, lives in the schema rather than the description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.