Skip to main content
Glama

memory_status

Read-onlyIdempotent

Read system state for the memory store—project slots, ranked next actions, config, and health—to verify stored context and scoping without recalling thoughts or writing memories.

Instructions

Read-only system state — what the store holds and how it is configured, not the thoughts (memory_recall) or their writes (memory_store). Actions: slots (project_context and active_goals as stored rows; pending_items derive from pending thoughts and architecture_decisions from primers), frontier (next actions ranked, limit 1-50), config, health. cwd is optional for slots and frontier: it scopes to one project, and omitted it leaves meta.scope null with a meta.warnings note — slots then reads only the global rows. Answers { items, meta } for slots and frontier, { item, meta } for config and health.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "memory_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoRemoved; use limit.
cwdNoWorking directory — resolves the project scope reported in meta.scope. OPTIONAL for "slots" and "frontier": omitting it leaves meta.scope null and is noted in meta.warnings (an unregistered path raises a global scope and its own warning). Without a registered scope, "slots" reads only the global slot rows and does not apply the project-scoped overrides, and "frontier" answers across every project. ACCEPTED AND IGNORED for "config", "health".
fixNoRemoved; use the repair endpoint.
limitNoMax frontier results (1-50, default 10). OPTIONAL for "frontier". REJECTED for all other actions.
namesNoFilter by slot names. OPTIONAL for "slots". REJECTED for all other actions.
actionYesAction
fieldsNoFields to include in each slot row; intersected with the columns a slot offers. OPTIONAL for "slots". REJECTED for all other actions.
offsetNoOffset for pagination (slots only, pending_items). OPTIONAL for "slots". REJECTED for all other actions.
severityNoMinimum severity. OPTIONAL for "health". REJECTED for all other actions.
project_idNoRemoved; use cwd.
slots_limitNoMax pending_items for slots paging (1-1000). OPTIONAL for "slots". REJECTED for all other actions.
include_detailsNoInclude per-check detail arrays in the health report (default false). OPTIONAL for "health". REJECTED for all other actions.

Output Schema

NameRequiredDescriptionDefault
resultYesAction payload (structuredContent.result); JSON mirror of content[].text, except the raw-text config action, whose result is { item: { text }, meta }

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish the read-only, idempotent, closed-world safety profile, and the description goes well beyond them: it discloses return envelopes ({items, meta} vs {item, meta}), the meta.scope/meta.warnings consequence of omitting cwd, that unregistered paths raise a global scope plus a warning, and that slots without scope reads only global rows while frontier spans every project. It also flags removed parameters (k, fix, project_id) so the agent does not attempt legacy usage.

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 core distinction before the action inventory, and every clause carries information. The density is high — heavy semicolons and nested parentheses make the middle sentences harder to parse on a first read — but there is no filler.

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?

For a four-action, twelve-parameter tool this covers what an agent needs: action inventory, scoping rules, per-action parameter validity, removed parameters, and response envelope shapes. An output schema exists, so the brief return-shape note is a bonus rather than a gap-filler.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: it explains the practical consequence of omitting cwd (scope null, warning, global-only slots, cross-project frontier) and clarifies that pending_items derive from pending thoughts while architecture_decisions derive from primers. The limit range and per-action rejection rules are repeated from the schema rather than extended.

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 framing — "Read-only system state — what the store holds and how it is configured" — and immediately negates the two nearest siblings (memory_recall for thoughts, memory_store for writes). The four supported actions (slots, frontier, config, health) are enumerated, so an agent knows the exact surface without opening the 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 away from this tool for reading thoughts or writing them, naming memory_recall and memory_store as the alternatives. Per-action parameter applicability (cwd optional for slots/frontier, ignored for config/health; limit only for frontier) further guides correct invocation. It stops short of saying when to prefer config over health or when slots is preferable to frontier, leaving that to the self-descriptive action names.

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