Skip to main content
Glama

memory_get

Read-onlyIdempotent

Fetch an indexed memory by ID with provenance and supersession metadata; continue with next_offset when truncated. Reinforces useful memories once per session.

Instructions

Fetch an indexed memory by ID, with provenance and supersession metadata. Continue using next_offset when truncated. Implicitly reinforces useful memories once per session.

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": {
      "id": "<id>"
    },
    "name": "memory_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
offsetNo
sectionNoOptional Markdown heading substring to fetch only that matching section.
max_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/closed-world annotations, it discloses that results carry provenance and supersession metadata, that responses can be truncated and must be paged, and even an implicit session-level reinforcement side effect an agent would otherwise not know about. The reinforcement line sits in mild tension with readOnlyHint, but it is a disclosure the annotations do not carry, which is exactly the added value this dimension rewards.

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?

Three short sentences, front-loaded with the verb and resource, and each adds distinct information (return contents, pagination, side effect). The phrase "implicitly reinforces useful memories" is slightly vague, but nothing is redundant.

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?

There is no output schema, so the description shoulders the return-value burden; it partially does so by naming provenance and supersession metadata. However, with a 4-parameter tool at 25% schema coverage, it leaves `id`, `offset`, and `max_bytes` unexplained and references an output field (`next_offset`) that is not documented anywhere, leaving gaps for correct invocation.

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?

With only 25% schema description coverage, only the `section` parameter is documented structurally; the description never explains `id` format, `offset` semantics, or `max_bytes` truncation sizing. It partially compensates by introducing pagination continuation, though it refers to "next_offset," a name that appears nowhere in the input schema, which could mislead an agent looking for that parameter.

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?

"Fetch an indexed memory by ID, with provenance and supersession metadata" gives a specific verb, resource, and retrieval mode (direct ID lookup), which implicitly separates it from memory_search without naming a sibling. It is clear and precise, though it does not explicitly contrast itself with the search/related siblings.

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?

"Continue using next_offset when truncated" gives a usable continuation rule and implies this is the follow-up call after search, but it never states when to choose this over memory_search or memory_related, nor any precondition for holding a valid ID. Usage is inferred rather than instructed.

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