Skip to main content
Glama

peer_export

Render agreed plans, critique histories, or dev handoffs to Markdown files, enabling agents to share decisions and resume implementation work.

Instructions

Render and optionally write the converged plan, full critique history, or latest dev handoff to a Markdown file (default: <project_path>/PLAN.md or HANDOFF.md).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "peer_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo"plan" (default) exports the agreed/latest plan with metadata; "full" includes the full numbered critique transcript; "handoff" exports the latest dev handoff.
roomNoOptional explicit room name override (e.g. "auth-refactor"). If omitted, derived from project_path or falls back to "default".
writeNoWhether to write the rendered Markdown to output_path (default: true when a target path is resolved; set false to return Markdown only).
output_pathNoOptional target .md/.markdown path (absolute, or relative to project_path). Defaults to <project_path>/PLAN.md (or HANDOFF.md for mode="handoff").
project_pathNoOptional absolute path to the current workspace or repo. Automatically walks up to the git root and derives a deterministic per-project room ID so both agents share the same room.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/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 discloses that writing is optional and names default target files, but does not state overwrite behavior, permission requirements, or what happens when the target file already exists.

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?

It is a single front-loaded sentence that covers the core action, modes, optional write behavior, and default paths without unnecessary wording.

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

Completeness3/5

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

All five parameters are documented in the schema, and the description explains the main output choices and default paths. However, it omits write-side-effect details such as overwrite semantics and does not route the agent among sibling tools.

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 description coverage is 100%, so the baseline is 3. The description mentions default output paths but largely repeats what the schema already documents for mode, write, output_path, and project_path.

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 states a specific verb ("Render and optionally write") and resources ("converged plan, full critique history, or latest dev handoff") with an explicit output format. It does not explicitly differentiate itself from siblings such as peer_handoff, so it falls short of the top score.

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 three modes imply when each export variant is used, but the description does not say when to choose peer_export versus sibling tools like peer_handoff or peer_status. Usage is inferable from the mode list rather than explicitly guided.

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