Skip to main content
Glama

memory_recall

Read-only

Recall memories scoped to the caller's identity, returning permitted results plus denied-but-relevant records with reasons only. This enforces tenant- and role-aware memory access during retrieval.

Instructions

Recall memories, scoped to the identity of the caller.

Returns results (what this principal may see) and denied (what was relevant but withheld). Denial records contain id, scope and reason only. Do not attempt to reconstruct withheld content from them.

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": {
      "query": "<query>",
      "principal_id": "<principal_id>",
      "tenant": "<tenant>"
    },
    "name": "memory_recall"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
rolesNoemployee
tenantYes
principal_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description nevertheless adds real behavioral context beyond that: the two-part response shape (results vs denied), the exact limited fields in denial records, and an explicit prohibition on reconstructing withheld content — that last line materially shapes agent behavior after a call.

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 purpose is front-loaded in the opening clause, followed by return-shape detail and one safety instruction. Every sentence carries distinct information; nothing is padded or restated.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Return values are partly covered by an existing output schema and the safety profile by annotations, so the remaining gap is the input side. With five undocumented parameters at zero schema coverage, an agent cannot tell what roles/tenant control or how limit affects recall completeness before invoking the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, so the description carries the full burden — and it addresses almost none of them. Only the identity scoping is gestured at; query, principal_id, tenant, roles (default 'employee'), and limit (default 5) are never explained, and the meaning of a role-based visibility boundary is left unstated.

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 first sentence names a specific verb and resource (recall memories) and adds a meaningful scope qualifier (scoped to the caller's identity), which distinguishes it from the write/forget siblings. It does not explicitly contrast with closer-read siblings such as memory_explain or memory_flagged, so the differentiation is implicit rather than stated.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus alternatives, nor any stated precondition (e.g., that a principal_id must already be known or that this is the entry point before memory_explain). The definition tells the agent what the tool is but not when to pick it, leaving selection entirely to inference from names.

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