Skip to main content
Glama

brain_memory_health

Report citation counts, corrections, age, and review flags for memory notes so you can prune unused or corrected entries with evidence before deleting.

Instructions

Report which memory notes are earning their keep: times cited by searches/answers, corrections (bad feedback), age, and flags for review (corrected, never-cited). Use it before brain_forget to prune dead weight with evidence instead of guessing.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does it reasonably well: it discloses the exact signals produced (citation frequency, negative-feedback corrections, age, corrected/never-cited flags), which implies a read-only audit operation. It does not mention permissions, cost on large corpora, or whether results are aggregated versus per-note rows, leaving a modest gap.

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, no filler, and the payload-producing content comes first with the workflow routing second. Every clause adds information the agent cannot get from the empty schema or the missing annotations.

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 zero-parameter, no-output-schema, no-annotation tool, the description supplies the report's contents and its place in the prune workflow, which is the essential context. What is missing is only shape-level detail (per-note rows vs. aggregate counts, ordering), which is minor given the tool's simplicity.

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 for the description to disambiguate; baseline is 4. It correctly implies a whole-corpus scan rather than a targeted lookup, matching the empty schema.

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?

Specific verb ('Report') plus the exact resource scoped ('which memory notes are earning their keep') and an enumeration of what is reported: citation counts from searches/answers, bad-feedback corrections, age, and review flags. It is clearly a diagnostic/audit read, distinguishable from brain_forget (which mutates) and brain_stats (generic counters) without opening a 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?

Explicitly routes the agent into a workflow: 'Use it before brain_forget to prune dead weight with evidence instead of guessing,' naming the sibling and the condition that selects it. It stops short of stating when not to use it (e.g., that it is not a substitute for brain_search when you actually want note contents), so it is strong but not exhaustive.

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