Skip to main content
Glama

agent_recall

Read-onlyIdempotent

Read a value from encrypted agent memory, or list all stored keys. Use it to rehydrate prior context at the start of an agent loop or look up a single remembered fact.

Instructions

[agent] Read a value from encrypted agent memory, or list every stored key when no specific key is supplied. Use at the start of an agent loop to rehydrate prior context, or to look up a single remembered fact; prefer get_project_context for a redacted overview of secrets and get_secret for actual credential values. Read-only. With a key argument: returns JSON { ok, data: { key, value } } or a not-found error. Without key: returns a JSON listing of every stored key (no values), or 'Agent memory is empty'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoMemory key to read. Omit to list every stored key (without values).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.11.7
    • changedInput schema / properties / key / description
      Previous value: -"Memory key to recall (omit to list all)"New value: +"Memory key to read. Omit to list every stored key (without values)."
  2. Addedv0.11.5

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so 'Read-only' is redundant. However, with no output schema, the description adds real value by specifying the return shapes ({ ok, data: { key, value } } vs. a key listing with no values), the not-found error path, and the 'Agent memory is empty' state.

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?

Front-loads the core verb and dual mode, then layers usage and return details efficiently. Dense but every clause carries information; only the redundant 'Read-only' line could be trimmed against the annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 fully covers what the tool returns and its error/empty states, and it names the siblings to use for credential or overview needs. An agent has everything required to select and call it correctly.

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% and the single `key` parameter is documented there, so the baseline is 3. The description restates that omitting key lists keys without values, adding little beyond the schema's own wording.

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 (read) and resource (encrypted agent memory) and covers both modes: value lookup with a key and key listing without one. It is immediately distinguishable from siblings like agent_remember and agent_forget, and the dual behavior is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use it ('start of an agent loop to rehydrate prior context', 'look up a single remembered fact') and routes to alternatives ('prefer get_project_context for a redacted overview of secrets and get_secret for actual credential values'). Both the trigger and the exclusions are stated.

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