Skip to main content
Glama

Export brain

export_brain
Read-only

Serialize a brain to a portable JSON (persona-free): skills + memory + goals + open todos + upcoming events + computed team roster.

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": {
      "brain_id": "<brain_id>"
    },
    "name": "export_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
brain_idYes
include_work_queueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description earns credit for disclosing the exact composition of the export and that it is persona-free and includes a computed team roster, which is real behavioral context beyond the annotations. It does not say how include_work_queue changes the payload, whether output is deterministic, or whether large brains are size-limited.

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?

A single front-loaded sentence with no filler; the verb and the payload inventory come first. The parenthetical content list is dense but each item carries information. Slightly compressed for a schema with an unexplained flag, but nothing is wasted.

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 read-only, two-parameter export with no output schema, the description covers the return payload conceptually, which is the main burden. However, with zero schema description coverage and an optional include_work_queue flag, the definition leaves an agent guessing about a parameter that gates part of the result. Adequate but with a clear gap.

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%, so the description must carry both parameters and it does not. brain_id is never mentioned, and include_work_queue — the one optional switch that materially changes the output — is undocumented; the 'open todos' mention gestures toward a work queue but doesn't tie to the flag. Neither parameter's effect or accepted values are clarified.

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?

Specific verb ('serialize') plus resource ('a brain') and an explicit inventory of what the payload contains (skills, memory, goals, open todos, upcoming events, team roster). The 'persona-free, portable JSON' framing makes the intent concrete. It stops short of differentiating itself from the nearby snapshot_brain/restore_brain siblings, so an agent must infer that this is the portable-content export rather than an internal snapshot.

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

Usage Guidelines2/5

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

Nothing states when to use this instead of snapshot_brain or list_brain_snapshots, nor any precondition such as ownership or permissions on the brain_id. 'Portable JSON' hints at external/backup use, which is implied usage at best. An agent facing both export_brain and snapshot_brain gets no tie-breaker from this definition.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources