Skip to main content
Glama

brain_log_handoff

Writes a handoff entry to the shared Crew Logbook so the next agent can see activities, files, and open items.

Instructions

Writes a handoff entry to the Crew Logbook (50_Memory/Working/crew_log.md). Records agent, activity, files, and open items for the next agent. Alias for brain_crew_log_write with English parameter names.

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": {
      "agent": "<agent>",
      "activity": "<activity>"
    },
    "name": "brain_log_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesName of the agent (e.g., Cursor, Claude, Antigravity).
filesNoList of files touched (relative paths).
projectNoProject associated with the handoff.
activityYesDescription of the activity performed.
open_itemsNoList of open items for the next agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 burden, and it does disclose the concrete write target file, which is genuinely useful. However, it never says whether the entry is appended or overwrites existing content, whether the file/directory is created if absent, or whether entries are timestamped. Those are the behavioral facts an agent needs before calling a log-writing tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and the destination path, with the alias clarification last where it belongs. The middle sentence largely restates the schema's parameter list, which is mild redundancy but aids quick scanning.

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 five-parameter write tool with full schema coverage and no output schema, the description supplies the destination path, the audience (next agent), and the alias relationship — everything needed to select and call it. Remaining unknowns (append semantics, file creation) are secondary for a routine log write.

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 all five parameters are already documented in the schema, and the description merely echoes 'agent, activity, files, and open items' without adding format, ordering, or semantics. Baseline 3 applies since the schema is doing the work.

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 ('Writes a handoff entry to the Crew Logbook') and gives the concrete destination path 50_Memory/Working/crew_log.md. The final sentence explicitly positions it against the sibling brain_crew_log_write as an alias differing in parameter naming, so an agent can pick between them without opening either schema.

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

Usage Guidelines4/5

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

The phrase 'for the next agent' plus 'Records agent, activity, files, and open items' makes the handoff scenario clear, and the alias note tells the agent the only real selection difference versus brain_crew_log_write. It stops short of an explicit when-not rule (e.g., read the log before writing, or skip when no work was done).

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