Skip to main content
Glama

Memory Read

memory.read
Read-onlyIdempotent

Retrieve client-encrypted memory entries for an entity. Returns ciphertext, nonce, and content_hash - never plaintext. Requires wallet signature. Compliance: GDPR Art. 15, 32. Cost $0.01 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum entries to return (1–500, default 100).
categoryNoOptional category filter. Omit to return every category the caller may read.
actor_didNoOptional DID of the caller.
entity_idYesStable identifier of the entity whose encrypted memory should be returned.
owner_walletNoOptional owner address. Required (and must match signer) for owner self-read.
signer_walletYes0x-prefixed address of the caller. Owner path when it matches owner_wallet.
wallet_signatureYesEIP-191 signature over the deterministic read message (owner or grantee role).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNoTrue when the tool completed without a validation error.
toolNoTool name that produced this payload.
countNoNumber of entries returned.
entriesNoCiphertext rows (never plaintext).
paymentNoSettlement receipt after x402 or sandbox payment.
read_atNoUTC timestamp of the read.
categoryNoCategory filter, if provided.
entity_idNoEntity that was queried.
accessed_asNoowner, system, or grantee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond annotations: it discloses that the tool returns ciphertext, nonce, and content_hash (never plaintext), requires a wallet signature, and mentions GDPR compliance and cost. This is meaningful additional transparency about the operation's nature and constraints.

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?

The description is three sentences with zero waste. It front-loads the core action and return type, then adds the signature requirement, compliance note, and cost. Every sentence earns its place, and the structure is scannable for an agent.

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?

The tool has an output schema, so return values need not be explained in the description. The description covers the essential context: what is returned, the signature requirement, compliance, and cost. It does not explicitly explain the owner vs. grantee role distinction or the deterministic read message, but the schema covers those parameter details. For a read-only tool with rich schema and annotations, this is nearly complete.

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 the schema already documents all 7 parameters thoroughly. The description adds a high-level note about requiring a wallet signature, which maps to the wallet_signature parameter, but it does not add meaning beyond what the schema provides. Baseline 3 is appropriate because the schema carries the heavy lifting.

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?

The description states a specific verb ('Retrieve'), a resource ('client-encrypted memory entries'), and a target ('for an entity'). It also distinguishes the tool's core behavior from siblings like memory.write and memory.query by emphasizing that it returns ciphertext, nonce, and content_hash, never plaintext. This makes the tool's purpose immediately clear and distinct.

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?

The description provides clear context: it requires a wallet signature and is for retrieving encrypted memory entries. It does not explicitly name alternatives or state when not to use this tool, but the sibling list includes memory.query and memory.write, and the description's emphasis on 'never plaintext' implies a read-only, client-encrypted access path. The absence of explicit exclusions or alternative routing keeps this from a 5.

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