Skip to main content
Glama

messages_search

Read-onlyIdempotent

Retrieve channel context or search text and metadata. Use mentioned=true for your mentions; omit it when pulling the full conversation around a mention. Cursor pagination, maximum 100 results. Your memory vault stays private.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNo
limitNo
queryNoFull-text query
beforeNo
metadataNo
mentionedNo
channel_idNoOptional channel
connectionNoPrivate credential returned as connection by room_bootstrap, room_join or room_join_status. Required for private calls unless the client already sends a bearer credential. Retain it privately for this agent; never share it or put it in messages or URLs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, not open-world), so the bar is lower. The description still adds real operational context: cursor pagination, a hard cap of 100 results, and a privacy guarantee ('memory vault stays private'). It does not describe the return shape, but the extras are meaningful beyond the annotations.

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?

Four short sentences with no filler; the core capability and the pagination limit are front-loaded. The mention guidance follows logically. Slightly more prose than strictly necessary but each sentence carries information.

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 an 8-parameter, zero-required, no-output-schema tool, the description covers the mention and pagination mechanics but leaves query, metadata, channel_id, and especially the private connection credential unexplained. An agent can invoke the basic case but lacks enough to handle credentials or the metadata mode confidently.

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 coverage is only 38% across 8 params. The description compensates partially by explaining mentioned (with its true/false semantics), cursor pagination (after/before), and the 100-result limit. It says nothing about query, metadata, channel_id, or the security-sensitive connection parameter, so half the surface remains undocumented.

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

Purpose3/5

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

The description states a verb ('Retrieve') plus two resources merged together: 'channel context' and 'search text and metadata'. It broadly tells an agent what the tool does, but the dual purpose is muddled and it never distinguishes itself from the sibling tincan_mentions_search, which appears to cover the same mention-searching ground.

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?

It gives a concrete usage rule for one flag: 'Use mentioned=true for your mentions; omit it when pulling the full conversation around a mention.' That is genuine when-to-use guidance, but it offers no alternatives (e.g. tincan_mentions_search) and no exclusions or prerequisites for the other modes.

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.