Skip to main content
Glama

Check Memory Status & Hydrate Context

check_memory_status
Read-onlyIdempotent

Check project memory initialization and retrieve the core architecture index, dead-end count, and recent session timeline in one call; auto-migrates legacy .ag-memory.json files.

Instructions

Check if project memory is initialized and retrieve core architecture index, dead-end count, and recent session timeline in one call. Auto-migrates legacy .ag-memory.json if present.

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": {
      "project_path": "<project_path>"
    },
    "name": "check_memory_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the project workspace root directory
timeline_limitNoNumber of recent session logs to include (default 5)
include_timelineNoInclude recent session logs in the response (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

B3.3/5.0
Behavior2/5

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

The description usefully discloses what the response carries and an auto-migration behavior. However, 'Auto-migrates legacy .ag-memory.json if present' describes a filesystem mutation, which conflicts with readOnlyHint=true and idempotentHint=true — an agent told this tool is side-effect-free could be surprised by it rewriting memory files.

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 tight sentences with the primary purpose front-loaded and the side-effect/migration detail placed last. No filler, no restatement of the title.

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?

With no output schema, the description does name the three return components, which is the right move. It omits what the response looks like when memory is not yet initialized (the exact case the tool is named for) and gives no next-step guidance toward save_project_memory.

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%, so project_path, timeline_limit, and include_timeline are already fully documented in the schema. The description only gestures at the timeline concept and adds no format, path-resolution, or default-override guidance beyond the schema.

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?

States a specific verb-and-resource pair: checks whether project memory is initialized and returns three named artifacts (architecture index, dead-end count, session timeline) in a single call. The 'in one call' phrasing distinguishes it from granular siblings like get_session_timeline or check_dead_ends, but it never names those siblings explicitly.

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: 'in one call' and the 'hydrate context' framing suggest this is the aggregate entry point rather than a substitute for the granular sibling tools. There is no explicit when-to-use/when-not statement or named alternative for agents that only need one of the three payloads.

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