Skip to main content
Glama

search_memory

Read-only

Search a memory store by keyword, optionally filtering by kind or bank, to retrieve relevant stored records.

Instructions

Search memory store by keyword and optional kind/bank.

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>"
    },
    "name": "search_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
bankNo
kindNo
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope are covered by structured data. The description contributes the meaningful detail that matching is keyword-based rather than semantic, but says nothing about pagination, ranking, or empty-result behavior; the output schema presumably covers return shape.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity shades into under-specification rather than disciplined concision.

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?

For a four-parameter search tool with zero schema documentation, no annotations gap-filling, and a live sibling doing vector search, the description does far too little. The output schema excuses it from explaining returns, but parameter values and sibling routing remain unexplained.

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%, so the description must carry the load, yet it only gestures at 'query', 'kind', and 'bank' without explaining accepted values or formats, and never mentions 'limit' (default 20) at all. With no enums in the schema, the agent gets no clue what a valid 'kind' or 'bank' string looks like.

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 description names a specific verb and resource ('Search memory store') plus the matching mode ('by keyword') and filterable facets ('kind/bank'), which is enough to distinguish it from mutation siblings like add_memory or invalidate_memory. It does not, however, clarify how it differs from the sibling search_memory_vector, so the boundary is only partially drawn.

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 prefer this tool over search_memory_vector or get_related_memories, and no stated prerequisites or exclusions. The agent must infer the choice from the word 'keyword' alone.

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