Skip to main content
Glama

Export brain

export_brain
Read-only

Serialize an agent's brain (persona, plaintext skills, key memories, goals, and optionally its current work queue) to a portable Markdown or JSON file — no live connection needed to use it elsewhere.

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": {
      "agentId": "<agentId>",
      "format": "<format>",
      "includeWorkQueue": "<includeWorkQueue>"
    },
    "name": "export_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesmd
agentIdYes
brainIdNo
includeWorkQueueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: it names exactly which data leaves the system and flags that skills are exported in 'plaintext', a meaningful sensitivity detail, though it omits where the file lands and whether any size or permission limits apply.

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 payload and format are stated before the portability note. Slightly dense with parenthetical enumeration, but every clause carries information.

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?

There is no output schema, and the description covers the output only loosely ('a portable Markdown or JSON file') without saying whether the tool returns a path, a URL, or inline content. Combined with the undocumented agentId/brainId parameters, this leaves gaps for a 4-parameter mutation-free export tool.

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 carries full burden. It explains format ('Markdown or JSON') and includeWorkQueue ('optionally its current work queue'), but leaves the agentId-versus-brainId distinction — the most ambiguous pair of required parameters — completely unaddressed, so two of four params remain opaque.

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?

Uses a specific verb ('Serialize') plus a precise resource ('an agent's brain') and enumerates the exported payload (persona, plaintext skills, key memories, goals, work queue). It does not explicitly contrast with the plausible sibling 'snapshot_brain', so an agent must still infer which of the two produces a portable file versus 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 Guidelines3/5

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

The clause 'no live connection needed to use it elsewhere' implies the use case — portability/offline transfer — but never states when to choose this over snapshot_brain or create_brain, nor any preconditions. Usage is inferable, not prescribed.

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