Skip to main content
Glama

Brain Stats

brain_stats

Count notes by project and category, track notes added this week, and see how many are archived to monitor local memory usage.

Instructions

Counts by project and category, notes added this week, and how many are archived.

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

Input Schema

NameRequiredDescriptionDefault
projectNoOnly this project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not explicitly confirm this is a non-destructive read. It does disclose the content of the report (project/category counts, weekly additions, archive count), which is useful context, but says nothing about permissions, whether counts are scoped by the whole brain vs. a project by default, or the return format.

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?

It is a single short sentence with no filler, but it is a sentence fragment lacking a lead verb, so it is under-specified rather than genuinely concise. Front-loading the scope ('Counts by project and category') is reasonable.

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

Completeness3/5

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

For a simple one-optional-parameter aggregation tool without an output schema, the description covers roughly what data exists but not the shape of the response or the default scope when 'project' is absent. It is minimally adequate rather than complete, since no output schema exists to carry return-value documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single optional 'project' parameter is documented in the schema as 'Only this project'. The description does not mention the parameter or explain the default aggregation scope when it is omitted, so it adds nothing beyond the schema; baseline 3 applies.

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

Purpose3/5

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

The description enumerates the metrics returned (counts by project and category, notes added this week, archived count), which hints at an aggregation/stats read, but it never states a verb or explicitly says it returns statistics. It reads as a fragment describing contents rather than declaring what the tool does, so an agent must infer 'get aggregate stats' from the title plus this list.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as brain_recent (for recent notes) or brain_search (for retrieving notes). Nothing tells the agent to prefer this over listing notes when it wants aggregate counts, nor when-not to call it.

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