Skip to main content
Glama

memory_identity_read

Read-onlyIdempotent

Read SOUL/AGENTS identity files by cataloging headings, searching ranked sections, or retrieving full content to find agent instructions and global exceptions.

Instructions

Read SOUL/AGENTS files under the configured identity root.

catalog returns heading/anchor/line metadata, not full bodies. search returns ranked complete sections with partial-context=true. section requires anchor AND revision. full is required for comprehensive instructions/global exceptions. force_refresh rereads bytes even if file stat metadata was preserved. No-match search returns empty context.

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": {
      "path": "<path>"
    },
    "name": "memory_identity_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosearch
pathYes
limitNo
queryNo
anchorNo
revisionNo
force_refreshNo
include_childrenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description only needs to add context — and it does: catalog returns metadata not bodies, search results carry partial-context=true, no-match search returns empty context, and force_refresh rereads bytes even when file stat metadata is preserved. The last point usefully explains a non-obvious caching behavior. It stops short of describing result-size or performance characteristics across modes.

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?

Purpose is front-loaded, then mode behavior follows in a compact, scannable sequence with no filler sentences. The telegraphic phrasing ('partial-context=true', 'section requires anchor AND revision') is dense but each clause carries information.

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?

An output schema exists, so return values need not be explained, and the read-only safety profile is covered by annotations. What remains thin is the parameter surface for a relatively complex 8-parameter, four-mode tool: limit and include_children are undocumented and the path argument's role is implicit. Adequate but with clear gaps.

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 0% across 8 parameters, so the description must carry the load. It meaningfully explains mode, query (via search), anchor, revision, and force_refresh, including the anchor+revision dependency. However, path, limit, and include_children are never addressed, leaving three parameters with no meaning anywhere.

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?

The opening sentence gives a specific verb and resource: read SOUL/AGENTS files under the configured identity root. The remainder clarifies the four access modes, so an agent can tell catalog/search/section/full apart. It does not distinguish itself from sibling readers like memory_index_read or memory_startup_read, which share a near-identical shape.

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?

Mode selection is stated with real conditions: catalog for heading/anchor/line metadata, search for ranked sections, section requires anchor AND revision, full is required for comprehensive instructions or global exceptions. That is explicit when-to-use guidance for the tool's own modes. Missing is any statement about when to prefer this identity reader over the sibling index/startup/handoff readers.

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