Skip to main content
Glama

Search memory

search
Read-onlyIdempotent

Find raw evidence: messages that match the query, plus (for a peer) the facts memory holds about them. Hybrid keyword and semantic search. Use chat when you want an answer instead of evidence. Read-only.

Input Schema

NameRequiredDescriptionDefault
queryYesWhat to look for.
peer_idNoAlso return the facts memory holds about this peer. Defaults to this connection's user.
session_idNoOnly search messages of this conversation. Default: the whole workspace.
workspace_idNoWorkspace to use. Defaults to this connection's workspace.
message_limitNoMax messages (default 8).
conclusion_top_kNoMax facts (default 8).

Output Schema

NameRequiredDescriptionDefault
noteNoSet when memory has nothing to go on yet.
messagesYes
conclusionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered and the trailing 'Read-only' is largely redundant. The description earns credit for disclosing the retrieval mechanism ('Hybrid keyword and semantic search') and that results combine messages with peer facts, which annotations do not convey.

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?

Three short sentences, front-loaded with what the tool returns, followed by the mechanism and the routing contrast. No sentence is wasted and nothing important is buried.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the description covers scope, mechanism, and the primary alternative. It is only slightly incomplete in not clarifying the division of labor with the facts-oriented siblings (list_conclusions, get_peer_card).

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 the schema already documents query, peer_id, session_id, workspace_id, and both limits including defaults. The description's conditional 'plus (for a peer) the facts memory holds about them' hints at peer_id behavior but adds no syntax, format, or constraint detail beyond the schema.

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

Purpose5/5

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

States a specific verb and resource ('Find raw evidence: messages that match the query') and clarifies the compound result set by including peer facts. It also distinguishes itself from the chat sibling directly, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines4/5

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

Explicit routing guidance is given against the most confusable sibling: 'Use chat when you want an answer instead of evidence.' However, it does not address the overlap with list_conclusions/get_peer_card for the facts portion of its output, leaving one ambiguity for the agent to resolve 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