Skip to main content
Glama
messaging-mcp

messaging-mcp

Search messages

search_messages
Read-onlyIdempotent

Search stored WhatsApp, Instagram, Messenger, and Telegram messages by keyword or substring to find past conversations and retrieve matching results newest first.

Instructions

Full text search (case-insensitive substring) over stored messages in both directions, newest first.

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": {
      "query": "<query>"
    },
    "name": "search_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return, 1 to 100. Default 20.
queryYes
channelNoChannel: whatsapp, instagram, messenger or telegram.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavior beyond that: matching is case-insensitive substring rather than token/fuzzy, and results come back newest first. It stops short of describing pagination beyond the limit field.

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?

A single front-loaded sentence with the operation, matching rule and sort order packed in; no filler or redundancy.

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?

For a simple read-only search tool with full annotations and documented limit/channel params, the definition covers what an agent needs to call it correctly. Only a note on what a result entry contains would add value, and no output schema exists to defer to.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the one undocumented parameter is query; the description supplies exactly that missing semantics by defining matching as case-insensitive substring. It adds little about channel filtering or limit, but those are already described in the schema.

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 ... over stored messages') and pins down matching semantics (case-insensitive substring) and ordering (newest first). It doesn't explicitly contrast with siblings like get_conversation or list_conversations, but the search-vs-browse distinction is inferable from 'full text search'.

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 statement of when to use this tool versus get_conversation or list_conversations, and no exclusions or prerequisites. The agent must infer that this is the keyword-lookup path rather than the conversation-browsing path.

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