Skip to main content
Glama

WhiteMagic — governed local memory for agent continuity

Search memories in batch

memory.search_batch
Read-onlyIdempotent

Execute multiple memory search queries concurrently in a single turn. Unpacks up to 10 queries, searches the curated corpus, and returns consolidated results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queriesYesList of query strings to search (1 to 10 queries).
limit_per_queryNoMax results per query (default 5, max 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and non-destructive, so the safety profile is covered. The description adds useful batch context (concurrency, 10-query cap, curated corpus) but omits how results are consolidated or how partial failures are handled.

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 compact sentences with the batch behavior front-loaded; little waste. The 'unpacks' wording is slightly vague but not costly.

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

Completeness3/5

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

For a read-only batch search with full schema coverage and annotations carrying the safety profile, this is largely adequate. However, with no output schema, the description's vague 'consolidated results' leaves the return shape under-specified.

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

Parameters3/5

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

Schema description coverage is 100%, so baseline is 3. The description restates the 10-query cap already in the schema but adds no format guidance (e.g., how queries map to returned results) beyond what the schema documents.

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?

Clear verb+resource: batch-executes memory search queries concurrently and returns consolidated results. The batch semantics are stated precisely, though it never names the single-query sibling (memory.search) or memory.hybrid_recall, so differentiation from siblings is left to inference.

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?

The phrase 'in a single turn' and 'up to 10 queries' implies the usage context (multiple lookups at once), but there is no explicit when-to-use/when-not guidance or naming of alternatives such as memory.search for single queries.

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.

Resources