Skip to main content
Glama

memory_info

Locate the repository's cross-harness agent memory folder, read its MEMORY.md index, and list topic files so coding sessions can reuse stored context.

Instructions

Show the canonical cross-harness memory directory (~/.agents/memory//), MEMORY.md index content, and available topic files for the current repository.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoOptional directory inside a git repo (defaults to this session's cwd).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. 'Show' plus the disclosed path template makes it evident this is a read-only inspection act, and it reveals the repo-id path convention. It does not say what happens if the memory directory does not exist, whether it is created, or how it behaves outside a git repository.

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?

One tightly packed sentence that front-loads the canonical path template and then lists the three artifacts returned. No redundant or filler wording.

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 single-optional-parameter read tool with no annotations or output schema, the description usefully enumerates what the caller gets back (directory, index content, topic files), standing in for a return-value contract. Missing only edge-case behavior when the repo or memory directory is absent.

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 coverage is 100% on the single optional cwd parameter, so baseline is 3. The description adds only mild meaning by implying cwd is used to resolve the <repo-id> path segment and scope results to 'the current repository'; the default behavior is already documented in 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?

A specific verb ('Show') paired with concrete resources: the canonical memory directory path, MEMORY.md index content, and topic files. It is clearly distinguishable from the coord/inbox/orch siblings, which are unrelated coordination tools, though the description does not explicitly say so.

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?

There is no explicit 'use this when...' or any named alternative or exclusion. Usage is only implied by the enumerated artifacts returned, which suggests it is a discovery step before reading topic files. An agent can infer intent but is given no routing guidance.

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