Skip to main content
Glama

brain_crew_log_write

Write a handoff entry to the Crew Logbook, recording agent, activity, touched files and open items so the next agent can resume work with automatic secret redaction.

Instructions

Scrive un entry di handoff nel Crew Logbook (50_Memory/Working/crew_log.md). Registra agente, attività, file toccati e punti aperti per il prossimo agente. Sanitizzazione zero-leak automatica.

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_crew_log_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesNome dell'agente (es. Cursor, Claude, Antigravity).
filesNoLista di file toccati (percorsi relativi).
projectNoProgetto associato all'handoff.
activityYesDescrizione dell'attività svolta.
open_itemsNoLista di punti aperti per il prossimo agente.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 one genuine behavioral trait: automatic zero-leak sanitization of the entry content. It does not state whether entries are appended or overwrite existing content, whether the file/directory is created if missing, or what a failed write looks like — important gaps for a mutation 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 destination file and followed by payload contents and the sanitization note. Nothing is redundant, though there is no structural separation between purpose and behavior.

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?

For a five-parameter write tool with no annotations and no output schema, the description covers purpose, destination, payload and the sanitization guarantee. It still leaves append-vs-overwrite semantics, side effects on the log file, and the success response undefined, which an agent writing to a shared log would want to know.

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 including project are already documented with descriptions and defaults. The description enumerates agent, activity, files and open items, mirroring the schema without adding format or syntax detail, so the baseline of 3 applies.

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?

Names a specific verb (writes) and resource (a handoff entry in the Crew Logbook, with the exact file path 50_Memory/Working/crew_log.md), and lists the content recorded. The write/handoff framing implicitly separates it from read-side siblings like brain_crew_log_read, though no sibling is named explicitly.

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 phrase 'per il prossimo agente' implies the tool is used at the end of a work session to hand off state, which is usable guidance. However, there are no explicit when/when-not rules and no mention of plausible alternatives such as brain_log_handoff or brain_add_memory, which an agent could easily confuse with this one.

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