Skip to main content
Glama

brain_memory_stats

Retrieve aggregated memory database metrics, including per-layer counts, WAL status, and database size, to monitor storage health and usage.

Instructions

Restituisce metriche e statistiche aggregate sul database di memoria (conteggio per layer, stato WAL, dimensione DB).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the kind of data returned and implicitly signals a read-only inspection tool (aggregate statistics), but never states that it is non-mutating, whether it is expensive to run, or anything about freshness of the counts.

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?

A single sentence, front-loaded with the verb and resource, with the parenthetical listing the actual metrics. Nothing is redundant and nothing needs trimming.

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, read-only stats tool with no output schema, the description gives enough: it names the aggregate categories an agent would receive. It could go one step further by saying the response is a snapshot/read-only report, but nothing essential 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, so there is nothing for the description to disambiguate; baseline 4 applies. The schema is an empty object and the description correctly does not invent inputs.

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?

Names a specific verb and resource ('Restituisce metriche e statistiche aggregate sul database di memoria') and even enumerates the metric families (count per layer, WAL status, DB size). An agent can tell this apart from the read/search/archive siblings at a glance, though the description never explicitly contrasts itself with them.

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?

Usage is only implied: the enumerated metrics (layer counts, WAL state, DB size) suggest diagnostics/health-check scenarios, but there is no explicit 'use this when...' or statement of when another sibling is preferable. With zero parameters there is little risk of misuse, so the gap is modest rather than serious.

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