Skip to main content
Glama

WhiteMagic — governed local memory for agent continuity

Batch Search Memories

memory.search_batch
Read-onlyIdempotent

Execute multiple memory search queries concurrently with sub-millisecond retrieval.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results per query (default: 5)
queriesYesArray of query strings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Maximum results per query (default: 5)",
      +  "type": "integer"
      +}
    • removedInput schema / properties / limit_per_query
      Removed value: -{
      -  "default": 5,
      -  "description": "Max results per query (default 5, max 20).",
      -  "type": "integer"
      -}
    • changedInput schema / properties / queries / description
      Previous value: -"List of query strings to search (1 to 10 queries)."New value: +"Array of query strings"
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds the concurrency and 'sub-millisecond retrieval' performance traits, which is modest added value, but omits execution-related behavior such as whether queries run in parallel with a shared limit 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?

A single front-loaded sentence with no filler; the concurrency behavior comes before the performance claim. It is efficient, though the extreme brevity leaves gaps that other dimensions penalize.

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?

There is no output schema, and the description says nothing about the return shape - critical for a batch tool where an agent needs to know whether results are aligned index-wise to the input queries or flattened. Combined with no guidance on ordering, partial failures, or aggregate vs per-query limits, the description is under-specified for a batch API.

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%, including the default of 5 for 'limit', so the schema already carries parameter meaning. The description adds nothing beyond it - notably no statement about whether 'limit' applies per query across the whole batch in aggregate. Baseline 3 applies.

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 ('Execute') and resource ('multiple memory search queries') and makes the batch nature explicit via 'concurrently', so an agent can tell it apart from the single-query memory.search sibling. It stops short of naming that sibling directly, so the differentiation is inferential rather than stated.

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?

Usage is only implied: the phrase 'multiple memory search queries' hints that this is the tool for multi-query workloads, but there is no explicit when-to-use, no when-not, and no named alternative such as memory.search for single lookups. An agent must reason about the batch/single split on its own.

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