Skip to main content
Glama

brain_status

Read-onlyIdempotent

Reports agent memory health in one read-only call to diagnose failing stores, wiki lint issues, context size, session state, pending decisions, and recall gaps.

Instructions

Report the agent's health in one read-only call: reachability of every configured store, knowledge-wiki lint (pages missing from _index, index links to missing pages, pages without sources, raw files never compiled), always-loaded context size in tokens per file, the last session start and close ids with an unclosed flag, the pending-decision count (or executive_state, a note, when that file cannot be read), the twelve trait signals, and recall_misses: the queries of the last 30 days that written memory could not answer. When configured: vectors (model, rows, records waiting, worker) and judge. recall_degraded counts how often recall fell back to keywords in the last 7 days, with the latest reason. secrets_masked counts indexed records that hold what looks like a credential: recall returns them masked, the files still hold them, so tell the user to rotate and remove them.

    Use it when a store seems down, before maintenance, or when the user asks how the
    memory is doing. Not a search (brain_recall). `ok` is false when any store is down,
    lint found issues, or `attention` lists a recall problem; `stores` names a failing
    store.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, and the description goes beyond them by defining the `ok` failure condition, the `stores` field on failure, the fallback behavior when executive_state is unreadable, and the operational implication of `secrets_masked` (recall masks, files still hold, user must rotate). Some of this overlaps what the output schema likely already names, which keeps 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.

Conciseness4/5

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

Front-loaded with the purpose, then structured as a what-it-reports block followed by a when-to-use block, with the critical `ok`/failure semantics last. It is long for a no-arg status call and spends several clauses enumerating return fields that the output schema already carries, so it is slightly over budget but not wasteful.

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?

Complete for a zero-argument diagnostic: activation conditions, safety profile via annotations, failure semantics, and the actionable secrets/recall-degraded cases are all covered. Return-value explanation is further backed by an output schema, so nothing an agent needs 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 zero parameters, so there is nothing to document; the baseline for a parameterless schema applies. The description correctly adds no spurious argument guidance.

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 and resource ("Report the agent's health in one read-only call") and enumerates exactly what the report contains: store reachability, wiki lint categories, context size, session ids, pending decisions, trait signals, recall misses. It also distinguishes itself from the nearest sibling by naming brain_recall and stating it is not a search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives three concrete triggering conditions (a store seems down, before maintenance, user asks how memory is doing) plus an explicit exclusion against brain_recall. An agent can decide whether to call this without inspecting any other tool.

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