Skip to main content
Glama

memory_recall

Find relevant memories by query, context, activation, and confidence. Filter by relationship types and include neighboring memories to assemble working context for targeted questions.

Instructions

Search memories by text, context, activation, and confidence.

Use this for a targeted question. Use memory_context to assemble working context. Context is soft by default; use strict_context=true for isolation. With include_neighbors=true, bounded graph neighbors are hydrated into the result. Filter relationships with edge_types such as RESPONDS_TO. The neighbor_limit bounds hydrated neighbors; limit remains the total result count. depth is silently clamped to at most 3 hops regardless of the value passed; metadata reports the depth actually applied. Metadata also reports when additional neighbors were available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNo
limitNo
queryYes
contextNo
edge_typesNo
token_budgetNo
neighbor_limitNo
strict_contextNo
include_neighborsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed5 schema fields changedv0.1.16
    • addedInput schema / properties / depth
      Added value: +{
      +  "default": 1,
      +  "title": "Depth",
      +  "type": "integer"
      +}
    • addedInput schema / properties / edge_types
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Edge Types"
      +}
    • addedInput schema / properties / include_neighbors
      Added value: +{
      +  "default": false,
      +  "title": "Include Neighbors",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / neighbor_limit
      Added value: +{
      +  "default": 1,
      +  "title": "Neighbor Limit",
      +  "type": "integer"
      +}
    • addedInput schema / properties / token_budget
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Token Budget"
      +}
  2. First observedv0.1.3

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of disclosing behavior, and it does so extensively. It reveals that context is soft by default, depth is silently clamped to at most 3 hops, metadata reports the actual depth, and metadata also reports when additional neighbors were available. These are genuine behavioral insights beyond what the schema alone could possibly convey.

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 compact and front-loaded: purpose first, then usage guidance, then edge-case behaviors. Every sentence contributes meaningful operational knowledge, and there is no filler or repetition.

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?

Given the tool's complexity — 9 parameters, no annotations, and no output schema — the description is unusually thorough, covering neighbor hydration, depth limits, metadata reporting, and context semantics. It falls slightly short only by omitting token_budget and by not describing the overall return shape beyond mentioning metadata and result counts.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it largely does. It explains context/strict_context, include_neighbors, edge_types, neighbor_limit versus limit, and depth clamping. However, token_budget is never mentioned, leaving one of nine parameters completely undocumented in behavior and meaning.

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 starts with a specific verb and resource: 'Search memories by text, context, activation, and confidence.' It clearly identifies what the tool does and distinguishes it from memory_context by explicitly naming that sibling as the alternative for assembling working context. The occasional mention of activation and confidence could be slightly ambiguous relative to the schema, but the core purpose is unmistakable.

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?

The description gives explicit guidance: 'Use this for a targeted question' and 'Use memory_context to assemble working context.' It also explains when to change behavior with strict_context=true for isolation and how neighbor inclusion works. This is clear, decision-relevant usage guidance with an explicit alternative.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/imattau/polypack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server