Skip to main content
Glama

agent_memory_search

Read-only

Search an agent's own durable memory records by relevance.

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": {
      "workspaceSlug": "<workspaceSlug>",
      "agentSlug": "<agentSlug>"
    },
    "name": "agent_memory_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
agentSlugYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds that results are relevance-ranked and that the searched records are durable, but it says nothing about pagination, result size, or whether memory is scoped per workspace/agent beyond the parameter names.

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

Conciseness5/5

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

It is a single front-loaded sentence with no redundant or filler wording. Every word contributes to stating the action, scope, and retrieval method.

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 tool with a nested query object, two required scoping parameters, and no output schema, the description is too thin. It does not describe the response shape or how relevance and limits affect results, which an agent would need in order to invoke it confidently.

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% for three parameters, including a nested query object with q and limit. The description mentions relevance search but does not explain the query structure, the required workspaceSlug and agentSlug, or the limit/default of 10, leaving the schema to carry all parameter meaning without descriptive support.

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 gives a specific verb ('Search') and a specific resource ('an agent's own durable memory records'), and the word 'own' scopes it to the calling agent. It is clear enough to distinguish from a general memory search, though it does not name any sibling alternative.

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 use this tool versus the sibling memory_search or other memory tools, no preconditions, and no exclusions. The only implicit cue is that this searches an agent's own memory, which is not enough to route between alternatives.

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