Skip to main content
Glama

Set plan

set_plan
DestructiveIdempotent

Replace the plan for a day. Exactly one item must have isMainStep=true (the step toward the goal), ideally linked by stepId from next_steps and on a hard lever. Warns when no item is on a hard lever. Other items: paid work, family, workout, etc. with their area. Items that stay keep their done state.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "set_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD in the user's timezone
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / items / items / properties / leverId / description
      Added value: +"lever id from get_goal"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the basic mutation profile is covered. The description adds real context the annotations cannot carry: it warns when no item is on a hard lever, and it clarifies that items that stay keep their done state, which tells the agent what survives a replacement. It does not say what happens to omitted items or what the response contains, keeping it out of 5 territory.

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?

Four tight sentences, each carrying a distinct rule: replacement scope, main-step constraint, hard-lever warning, and done-state retention. Critical constraints are front-loaded and nothing is redundant.

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?

For a two-parameter nested-list mutation with no output schema, the definition covers the destructive replacement behavior, the required main-step invariant, the soft warning, and state retention. The remaining gap is return/response behavior and what happens to items without a stepId or leverId, but the description is otherwise sufficient to call the tool correctly.

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 50%, so the description needs to compensate, and it does: it explains the isMainStep requirement (exactly one true, the step toward the goal), the stepId link back to next_steps, and the concept of a hard lever tied to leverId from get_goal. It also characterizes the items array as covering paid work, family, workout, etc. with their area. It says nothing about date, projectId, or estimateMin, so a small gap remains.

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?

The description opens with a specific verb and resource: "Replace the plan for a day." The word "replace" plus the day scope distinguishes it from edit_plan_item and delete_plan_item without needing to name them. It does not explicitly name a sibling, so it falls short of a 5.

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?

Usage is implied through the full-replacement semantics and the "Exactly one item must have isMainStep=true" constraint, which tells the agent how a valid call must be shaped. It never states when to prefer set_plan over edit_plan_item or delete_plan_item, or when not to use it, so the agent must infer the boundary.

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.