Skip to main content
Glama

brain_state_list

List saved structured records newest first, optionally filtered by type prefix. Use it to discover record IDs before fetching an exact entry with a get call.

Instructions

List saved structured records (newest first), optionally only those whose type starts with type_prefix. Use it to discover ids before an exact brain_state_get.

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_state_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
type_prefixNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose read-oriented behavior, sort order, and that the filter is a prefix match, which is useful. But for a list tool it says nothing about result size, limits, or pagination, so an agent cannot predict how much comes back.

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 tight sentences, zero filler. The list behavior and ordering come first, the agent-directed usage hint second, which is the right front-loading.

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 one-optional-parameter list tool with no output schema, the description covers purpose, filtering semantics, ordering, and the intended workflow. The remaining gap is volume/pagination behavior, which matters but is secondary for a discovery call.

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 coverage is 0%, so the description must define the single parameter, and it does: 'type_prefix' selects records 'whose type starts with' it, implying prefix rather than exact matching. The default-empty meaning (all records) is only implied, not stated outright.

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?

States a specific verb and resource ('List saved structured records'), plus ordering ('newest first') and the optional filter. It also names the sibling it is not (exact retrieval via brain_state_get), so an agent can distinguish the two without opening either 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?

Gives explicit when-to-use guidance: 'Use it to discover ids before an exact brain_state_get.' That names the follow-up alternative and the condition selecting it. No explicit when-not or exclusion (e.g., searching by content) is given, which keeps it out of the top band.

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