Skip to main content
Glama

memory_read

Read-only

Returns agent memory records and MCP rules in full by ID (rules by slug, e.g. git; memory records by the key, the start of the UUID, or by the whole UUID). Any record available to the user can be read: one from the memory index or one named by its key in a rule or another record, including a record of another job; unavailable IDs come in notFound. Each memory record carries link, a link to its window in the web app.

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": {
      "IDs": "<IDs>"
    },
    "name": "memory_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
IDsYesRule slugs, memory record UUIDs or their starts (an index key link is accepted as is), up to 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / IDs / description
      Previous value: -"Rule slugs, memory record UUIDs or their starts, up to 50."New value: +"Rule slugs, memory record UUIDs or their starts (an index key link is accepted as is), up to 50."
    • changedInput schema / properties / IDs / items / maxLength
      Previous value: -64New value: +200
  2. Changed1 schema field changed
    • changedInput schema / properties / IDs / description
      Previous value: -"Rule slugs, memory record UUIDs or their starts - the keys of the `memory` index, up to 50."New value: +"Rule slugs, memory record UUIDs or their starts, up to 50."
  3. Changed1 schema field changed
    • changedInput schema / properties / IDs / description
      Previous value: -"Rule slugs or memory record UUIDs - the keys of the `memory` index, up to 50."New value: +"Rule slugs, memory record UUIDs or their starts - the keys of the `memory` index, up to 50."
  4. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / IDs / description
      Previous value: -"Rule slugs or memory record UUIDs from the `memory` index, up to 50."New value: +"Rule slugs or memory record UUIDs - the keys of the `memory` index, up to 50."
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false, openWorldHint false), so the description's contribution is access scope and outcome semantics: cross-job records are readable, unavailable IDs are reported in notFound rather than erroring, and each memory record carries a `link` to its web-app window. That is real added context; it stops short of describing the record shape overall.

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?

Two sentences, front-loaded with the core action followed by identifier semantics. The identifier enumeration in parentheses is dense, and the closing clause 'carries link, a link to its window in the web app' is awkwardly phrased, but nothing is redundant.

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?

With no output schema, the description does partial duty on returns: it says records come back 'in full', names the notFound channel, and mentions the `link` field on memory records. Given a single-parameter read tool with annotations already carrying the safety profile, this is close to sufficient, though the general record structure remains unstated.

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?

The single parameter is fully documented in the schema, so the baseline is 3. The description adds only marginal value on top: the concrete `git` slug example and the explicit 'whole UUID or the start of the UUID' distinction, which closely paraphrase the schema's own text.

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?

States a specific verb and resource ('Returns agent memory records and MCP rules in full by ID') and immediately disambiguates the two ID namespaces: rules by slug (e.g. `git`), memory records by key, UUID prefix, or full UUID. An agent can distinguish this from memory_list without opening either 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?

Gives clear usage context: read by known identifier, any record available to the user, including records belonging to another job, with unavailable IDs surfaced in notFound. It does not explicitly route the agent to memory_list when the ID is unknown, so the alternative-selection guidance is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources