Skip to main content
Glama

Rebase event plan onto the newer template

rebase_event_plan_template
Destructive

Re-apply the plan's template at its newest version when get_event_plan reports template.update. Template-sourced schedule entries, roles, and tasks are refreshed; anything the user pinned or edited is kept and the returned diff names every change. dry_run=true previews the diff and writes nothing. On a version conflict, call get_event_plan again and retry with the fresh version. Nothing here sends an invitation, offer, message, or notification. Runs on the first call; there is no confirmation step.

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": {
      "plan_id": "<plan_id>",
      "plan_version": "<plan_version>"
    },
    "name": "rebase_event_plan_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNotrue previews the change and writes nothing; the plan version does not move
plan_idYesplan id from create_event_plan or list_event_plans
plan_versionYesthe plan version from the latest get_event_plan / create_event_plan / list_event_plans response — every edit must use the CURRENT version
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { current_version, plan { id, status, version, source, step_hint, template, document, edit_stats, and 8 more fields }, diff } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=false, and the description adds what those hints cannot convey: what gets refreshed versus preserved ('anything the user pinned or edited is kept'), that a diff naming every change is returned, and that it executes on the first call with no confirmation step. Disclosing the absence of a confirmation prompt for a destructive, non-idempotent mutation is exactly the context an agent needs.

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?

Front-loaded with the trigger, then effects, then preview, then recovery, then side-effect exclusions. Six short sentences with no filler; even the negative statements about notifications and confirmation carry distinct behavioral information.

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 destructive template-rebase mutation with an output schema, the definition covers trigger, preservation rules, preview mode, conflict recovery, and side-effect boundaries. Return-shape details are rightly delegated to the output schema, so nothing an agent needs to call this correctly is missing.

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 100%, so the baseline is 3, and the description goes beyond it by explaining the version-conflict consequence tied to plan_version and the write-free nature of dry_run. It does not mention plan_id or organization_id, but the schema already documents both fully, so the gap is minor.

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?

States a specific verb and resource ('Re-apply the plan's template at its newest version') and scopes it to the exact condition that selects this tool ('when get_event_plan reports `template.update`'). An agent can distinguish it from update_event_plan or revise_event_plan_brief without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the explicit trigger condition, a safe preview path via dry_run=true, and a recovery path for version conflicts ('call get_event_plan again and retry with the fresh version'). It also rules out adjacent actions ('Nothing here sends an invitation, offer, message, or notification'), so the agent knows not to reach for a notification sibling.

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.