Skip to main content
Glama

Search memory

memory_search
Read-onlyIdempotent

Search the tenant's active memory.

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": "memory_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoOptional filter; omit it to search everything. Valid kinds: memory, relationship, property, description, excerpt, abstract, page.
limitNo
queryYes
shareNoOptional. Omit it to read your own memory (the normal case). Only pass a share handle exactly as memory_shares listed it, or as a shared result's share.handle; never invent one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description's only added behavioral signal is the word "active," weakly implying forgotten or archived memories are excluded, but it never says so explicitly or explains result ranking, scope boundaries, or cross-tenant isolation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence is maximally front-loaded and free of waste, but at this length the brevity reflects under-specification rather than disciplined concision. It earns no penalty for padding, yet the one clause it does contain is vague.

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 4-parameter search tool with half its schema undocumented and no output schema, the description leaves major gaps: no explanation of what is searched, what a result looks like, how limit defaults, or how to page. Annotations cover safety but not semantics, so an agent would have to guess at call behavior.

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 50%: kinds and share are documented in the schema, while query and limit have no documentation anywhere. The description adds nothing about any parameter, so it does not compensate for the two undocumented fields or clarify what query matching semantics apply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Search the tenant's active memory" gives a specific verb (search) and resource (memory), which is more than tautology. But "active memory" is never defined, and nothing distinguishes this from siblings like memory_evidence, memory_expand, or memory_turn_context, all of which plausibly surface stored memory too.

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 when-to-use guidance, no trigger conditions, and no mention of any alternative tool. An agent cannot tell from the description whether this is the entry point for recall or a narrow lookup, nor when to prefer memory_expand or memory_turn_context instead.

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.