Skip to main content
Glama

Stash — Shared AI Memory

List brains

brain_list
Read-onlyIdempotent

List your brains. A brain holds memories, and you act on one brain at a time: your personal brain, or a shared brain you created or were invited to. Returns each brain with its uuid, name, kind, your role (owner, writer or reader) and which one is current; invites addressed to you (accept one with brain_accept using its brain_uuid); for each brain you own, how many handovers wait in its inbox (pending_handovers); and, for shared brains you own, the members and outstanding invites. The uuid of a brain is also its handover address: others use it as the 'to' of handover. Call this when the user talks about sharing memory or a team brain.

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": "brain_list"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
brainsYes
currentYes
messageNo
next_actionsNo
invites_to_youNo
pending_handoversYes
invites_to_you_moreNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so the safety profile is covered. The description goes further, disclosing exactly what the payload contains (uuid, name, kind, your role, current marker, pending_handovers, members and outstanding invites) and the handover-address convention. That is genuine behavioral context, though much of it overlaps the output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading is good, but the middle is a single ~90-word semicolon-chained sentence that is hard to parse and largely restates the output schema's fields. The handover-address remark is useful, but it sits inside the densest run of text rather than being surfaced separately.

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

Completeness5/5

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

For a zero-parameter list tool with an output schema and full annotations, this covers everything an agent needs: what it returns, how the current brain is indicated, how invites are accepted elsewhere, and when to invoke it. Nothing material is missing.

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?

The tool takes no parameters and the schema is an empty object, so there is nothing to disambiguate. Baseline applies; no compensating text is required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ("List your brains") and immediately defines the domain object ("A brain holds memories, and you act on one brain at a time"). It further distinguishes personal vs shared brains and the roles involved, so an agent can separate this from siblings like brain_switch or whoami without opening any schema.

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?

Provides an explicit trigger: "Call this when the user talks about sharing memory or a team brain." It also routes the invite sub-case to brain_accept with the correct key (brain_uuid). It stops short of stating exclusions or naming an alternative for enumerating memories, but the context is clear.

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