Skip to main content
Glama
HandoffPilot MCP

HandoffPilot MCP

render_handoff

Returns session state as Markdown for review and explicit saving as HANDOFF.md, helping preserve context between assistants.

Instructions

Return Markdown text for the caller to review and explicitly save as HANDOFF.md.

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": {
      "state": "<state>"
    },
    "name": "render_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNofull
stateYes
max_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the single most consequential trait — the tool does not write HANDOFF.md, the caller must save it — but says nothing about the effect of mode, whether output is truncated at max_chars, permissions, or error behavior for invalid state. That leaves the mutation/side-effect profile only partially covered.

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?

A single sentence with no filler, and the key behavioral constraint (caller must save) is front-loaded rather than buried. Nothing could be removed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not required, but the tool takes an unconstrained nested state object plus a truncation limit and a mode selector with no explanation of any of them. For a renderer whose correctness depends on supplying a well-formed state, the definition is too thin.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three parameters, and the description mentions none of them. The meaning of 'mode' (what modes exist, what 'full' implies), the expected shape of the nested 'state' object (additionalProperties: true, so unbounded), and the truncation semantics of max_chars defaulting to 50000 are all undocumented in both schema and description.

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?

States a specific verb and output artifact: 'Return Markdown text' destined for HANDOFF.md, which distinguishes it from the writer siblings (create_handoff/update_handoff) by implying it does not persist anything itself. It is slightly less crisp on what 'state' represents, but an agent can tell this is a render/serialize operation rather than a mutation.

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 clause 'for the caller to review and explicitly save' implies the when-to-use case: producing handoff content without writing a file. However, no alternative sibling is named and there is no explicit when-not guidance, so the routing decision is left partly to inference.

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