Skip to main content
Glama

Snapshot brain

snapshot_brain

§7 Take a snapshot of a brain's / agent's skills + memory + goals for later restore, diff or cloning. Either brain_id or agent_id (or both) scopes the snapshot; label names it. Legacy: passing tag additionally writes the old brain_snapshots row.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "snapshot_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNolegacy alias for label
labelNo
agent_idNo
brain_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare this is a non-read-only, non-idempotent, non-destructive write. The description adds real value by disclosing what is captured (skills, memory, goals) and a non-obvious side effect: passing tag additionally writes the legacy brain_snapshots row. It still doesn't say whether repeated calls with the same label create duplicates, which matters given idempotentHint=false.

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 dense sentences, front-loaded with the action and followed by scoping then legacy caveat; every sentence carries information. The leading '§7' token is noise that consumes attention without adding meaning.

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, so the description carries the burden of explaining what comes back (snapshot id? handle for restore?), and it stays silent on that. For a non-idempotent write tool with 0 required params, the definition covers intent and scoping well but leaves the agent guessing about results and duplicate behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 25%, with only tag documented, so the description must compensate and largely does: it defines the OR/both scoping semantics of brain_id and agent_id, the naming role of label, and that tag is a legacy alias that also writes an old row. Gap: with zero required parameters, it never says what a snapshot scoped by neither id does or whether it is an error.

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 concrete verb and resource: 'Take a snapshot of a brain's / agent's skills + memory + goals', and names the downstream purposes (restore, diff, cloning). It implicitly points at siblings like restore_brain but never names them, so differentiation is by inference rather than explicit contrast.

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?

Explains how to scope a snapshot (brain_id, agent_id, or both) and that label names it, which implies when the tool is appropriate. It gives no explicit when-not guidance and does not contrast with export_brain, list_brain_snapshots, or clone_agent, leaving the agent to infer alternatives from the purpose phrase.

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