Skip to main content
Glama

memory_capacity

Read-onlyIdempotent

Check active and protected note counts plus index bytes against the configured memory budget, flagging over-budget usage for review without automatic deletion.

Instructions

Active note count, protected-note count and index bytes against the configured budget. Over budget, memory_review_questions adds retire questions for the user; nothing is ever deleted automatically.

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": "memory_capacity"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is well covered. The description reinforces this with 'nothing is ever deleted automatically', which is useful reassurance about side effects, and explains the over-budget escalation path. It does not add much beyond the annotation profile, so a 3 is appropriate.

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 short sentences with zero filler, leading with what is measured and following with the over-budget behavior and the no-auto-delete guarantee. Every clause carries information an agent needs.

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?

An output schema exists, so return-values need not be explained, and a zero-parameter read tool has little surface to cover. The description supplies the metrics, the budget framing, and the escalation path. The only omission is where the budget is configured or what the thresholds are, which is minor.

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 description correctly spends no words on arguments.

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 the exact metrics produced (active note count, protected-note count, index bytes) and the budget they are measured against, so the resource is unambiguous. It also routes the over-budget case to memory_review_questions, distinguishing it from that sibling. It loses a point only because no explicit verb ('report', 'check') opens the sentence.

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 a concrete usage condition: when over budget, memory_review_questions adds retire questions for the user. That is real routing guidance rather than implied usage. It stops short of stating the converse case (e.g. call this before memory_remember to confirm headroom), so it is not a full when/when-not pair.

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