Skip to main content
Glama

Search Signal Messages

search_messages
Read-onlyIdempotent

Search Signal Desktop messages directly in the database using date ranges, sender, media, regex, and conversation filters, with pagination, context messages, and automatic redaction.

Instructions

Search non-ignored Signal Desktop messages directly in the database (faster and cleaner than exporting first). Supports date ranges (since/until inclusive), sender filter, media filter, regex matching, pagination, and surrounding context messages (±N), with automatic redaction.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
regexNo
sinceNo
untilNo
offsetNo
senderNo
has_mediaNo
conversationNo
context_messagesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/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, closed-world), so the description's job is to add context, and it does: it discloses the ignore-list interaction ('non-ignored'), inclusive date boundaries, context expansion, and automatic redaction — the last being a non-obvious output-modifying behavior. It stops short of describing pagination semantics or result ordering.

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 dense sentence with the core action front-loaded and the capability list following. No filler, though the long comma-separated clause is harder to scan than a short bulleted enumeration would be.

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 10-parameter tool with no schema descriptions, the definition covers most of the surface and an output schema handles return values. Missing pieces are date format conventions, how query and conversation interact with sender, and pagination behavior — enough gaps that an agent may need trial-and-error on its first call.

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?

With 0% schema description coverage, the description carries the full burden, and it names most capabilities: since/until (marked inclusive), sender, media, regex, pagination, and context_messages (±N). But it leaves 'query' and 'conversation' unaddressed and gives no format details for since/until, which is the highest-risk ambiguity for a date-filtered search.

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?

States a specific verb and resource ('Search ... Signal Desktop messages') plus a meaningful scope qualifier ('non-ignored') and a data-source note ('directly in the database'). It does not explicitly distinguish itself from siblings like get_messages or check_new_messages, so an agent still has to infer the boundary, but the core purpose is unambiguous.

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 parenthetical '(faster and cleaner than exporting first)' implies a preference over export_conversation, which is useful routing guidance. However, there is no explicit statement of when to use this versus get_messages or check_new_messages, and no exclusions or prerequisites are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.