Skip to main content
Glama

Mission transitions

rbook_mission_transition
Destructive

Change a mission's status—start, complete, block, unblock, drop, defer, or reopen—and log each transition with notes, reasons, and history.

Instructions

Change mission state. Complete with notes; record decisions separately with rbook_decisions(action="record", missionId). Every action needs missionId; block and reopen also need reason. Each writes the status and its history; plan or edit missions with rbook_mission.

Input Schema

NameRequiredDescriptionDefault
notesNoWhat was done
actionYes
reasonNoWhy; required to block/reopen
blockersNoblock: what it waits on
decisionsNoPrefer rbook_decisions record, one call per decision
missionIdYesThe mission to move
deferUntilNoWhen to pick it up again
resolutionNounblock: what resolved it
projectRootNoFolder/rbook:// address; inferred
targetStatusNostart: Current promotes without starting; unblock: override inferred state
agentFeedbackNoUX feedback

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv4.7.2
    • addedInput schema / properties / blockers / description
      Added value: +"block: what it waits on"
    • addedInput schema / properties / missionId / description
      Added value: +"The mission to move"
    • addedInput schema / properties / notes / description
      Added value: +"What was done"
    • addedInput schema / properties / resolution / description
      Added value: +"unblock: what resolved it"
  2. Changed2 schema fields changedv4.7.1
    • changedInput schema / properties / agentFeedback / description
      Previous value: -"Optional UX feedback"New value: +"UX feedback"
    • changedInput schema / properties / projectRoot / description
      Previous value: -"Folder or rbook:// address; inferred"New value: +"Folder/rbook:// address; inferred"
  3. First observedv4.7.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and non-idempotency, so the safety profile is covered. The description adds real context beyond that: "Each writes the status and its history," telling the agent this persists state plus audit history rather than just returning a computed value. It stops short of flagging that transitions like drop are irreversible or what the response looks like.

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?

Three short sentences, front-loaded with the core operation, then routing, then per-action requirements. No filler; every clause carries an actionable constraint.

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 an 11-parameter state-transition tool with 91% schema coverage, the description covers the operation, the alternatives, and the required-parameter rules well. The remaining gap is return behavior — with no output schema, the agent does not know what a transition returns (updated status, history entry, or error on invalid transition).

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 91%, so the schema already documents notes, reason, blockers, resolution, targetStatus, and the decisions routing. The description's per-action parameter hints (notes for complete, reason for block/reopen) largely restate what the schema already says, so it adds little beyond the baseline.

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 ("Change mission state") and the enum of transitions makes the scope concrete. It explicitly separates itself from rbook_mission ("plan or edit missions with rbook_mission") and rbook_decisions, so an agent can distinguish it from siblings without opening schemas.

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?

Names alternatives and the conditions that route to them: decisions go to rbook_decisions(action="record", missionId), planning/editing goes to rbook_mission. It also states per-action prerequisites (missionId always, reason for block/reopen), which is exactly the routing detail an agent needs before choosing a transition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.