Skip to main content
Glama

brain_record

Records a short session summary, outcome, and optional attachments before finishing, preserving project context for future AI coding sessions without storing raw content.

Instructions

Record what this session did or read (short summary, never raw content). Optional attachments: up to 10 absolute paths of png/jpg/gif/webp/pdf files, max 10 MB each. Call before finishing.

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": {
      "title": "<title>",
      "summary": "<summary>",
      "outcome": "<outcome>"
    },
    "name": "brain_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo
titleYes
outcomeYes
summaryYes
attachmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose meaningful behavioral constraints: summaries must be short and never contain raw content, and attachments are capped at 10 files of specific types under 10 MB each. It does not say whether records are append-only or overwritable, what is returned on success, or what happens when the attachment limit is exceeded.

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 with the core action front-loaded, followed by constraints and then the timing instruction. There is no filler and every sentence adds information an agent can act on.

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 definition covers the content policy and attachment limits well. It leaves gaps on two required parameters (title, outcome) and on the duplicate files/attachments fields, which an agent cannot resolve from the text alone.

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% across five parameters, and the description only explains two of them: summary content policy and attachment constraints. Title and outcome are required parameters with no explanation at all, and the presence of both "files" and "attachments" as string arrays is never disambiguated.

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 gives a specific verb and resource: record what the session did or read, with a short summary. It is clear about the scope but does not distinguish this tool from siblings such as brain_doc or brain_adr, which likely also persist written artifacts.

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?

"Call before finishing" gives explicit timing guidance for when the tool should be invoked, which is more than most definitions offer. It names no alternatives or when-not-to-use conditions, so the agent must infer that other brain_* tools serve different purposes.

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