Skip to main content
Glama

Export brain

export_brain
Read-only

Export an agent's brain as a portable, model-agnostic package: identity, categories, plaintext skills, top memories, and current work queue. format 'markdown' (default) or 'json'.

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_id": "<agent_id>"
    },
    "name": "export_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo
agent_idYes
category_slugNoLimit to one brain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely useful behavior detail beyond that: exactly what the package contains, that skills are exported as plaintext, and that the output is model-agnostic and portable. It omits auth requirements and any size or rate considerations, keeping it from a 5.

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?

Two sentences, both front-loaded: the main action and payload come first, the format options second. Nothing is repeated from the title and no sentence is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only export with three simple parameters and no output schema, the description covers contents and formats well enough to call the tool correctly. The remaining weakness is that it never says what the call actually returns (inline text, file, or downloadable artifact), which matters when no output schema exists.

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 coverage is only 33%, so the description is expected to compensate. It does clarify the format parameter, including the default value 'markdown' and the alternative 'json', which the schema does not state. However, it never explains agent_id or the category scoping parameter, and the schema's note 'Limit to one brain' for category_slug is ambiguous, leaving a real gap.

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?

States a specific verb and resource ('Export an agent's brain') and enumerates the payload contents: identity, categories, plaintext skills, top memories, work queue. That makes the scope unambiguous. It does not differentiate itself from plausible siblings like snapshot_brain or list_brain_snapshots, so it falls short of a 5.

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?

Usage is only implied by the word 'Export' and by 'portable, model-agnostic package'. There is no statement about when to choose this over snapshot_brain or restore_brain_snapshot, nor any prerequisite such as permissions or agent readiness. An agent can infer a read/export scenario but must guess at the boundary with the snapshot family.

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