Skip to main content
Glama

memory_search

Search stored memory for relevant facts before asking users to repeat information. Supports result limits and optional inclusion of L3 secret facts.

Instructions

Search local memory for relevant facts. Use before asking the user to repeat something.

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
limitNo
queryYesWhat to search for
include_secretsNoInclude L3 facts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: no statement that it is a read-only lookup, no return shape, no ranking or relevance semantics, and no explanation of what "L3 facts" or include_secrets actually entail. Only the implicit read-only nature of "search" is conveyed.

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?

Two short sentences, front-loaded with purpose and followed by the usage cue; nothing is wasted. The brevity is efficient but edges toward under-specification rather than tightness.

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?

No output schema and no annotations mean the description must explain result format, relevance, and the tier/secret model, and it does none of that. For a search tool with a non-obvious include_secrets flag and a sibling memory family, this is materially incomplete.

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 coverage is 67%: query is described as "What to search for" and include_secrets as "Include L3 facts", but limit and the meaning of L3 tiers are never explained anywhere. The description adds nothing about any parameter, leaving limit behavior and the secret-tier concept opaque.

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?

"Search local memory for relevant facts" gives a specific verb plus resource and the word "local" implicitly distinguishes it from web_search. It stops short of naming any sibling explicitly, so an agent must infer the boundary with thread_memory or memory_provenance.

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

Usage Guidelines3/5

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

"Use before asking the user to repeat something" supplies one concrete usage trigger, which is genuinely useful. There is no when-not guidance, no mention of when to prefer web_search or thread_memory, and no note on prerequisites.

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