Skip to main content
Glama

whatsapp_search

Read-onlyIdempotent

Full-text search across all stored messages (SQLite FTS5). Optional chat_jid to scope. Returns matches with context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
accountNo
chat_jidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. The description adds that it returns matches with context, and mentions the optional scoping, which adds some value beyond annotations. No contradiction.

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?

The description is two sentences, front-loaded with the core purpose, and includes only essential info. No filler or redundancy.

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 4-parameter tool with no output schema, the description gives a basic overview but omits details on result format, ordering, pagination, and the account parameter. Annotations cover safety, but the description leaves several gaps that an agent would need clarified.

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%, so the description must explain parameters. It only explains chat_jid ('optional... to scope') and implicitly suggests query is the search term, but limit and account are left unexplained. This is insufficient given the lack of schema descriptions.

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?

The description clearly states the tool performs full-text search across stored messages using SQLite FTS5, which distinctly separates it from sibling tools like whatsapp_messages (listing) or whatsapp_chats. It includes the optional chat_jid scoping, giving specific verb+resource clarity.

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?

It implies usage for searching message content, and mentions optional chat_jid for scoping, which helps the agent decide when to use it. However, it doesn't explicitly contrast with alternatives like whatsapp_messages or provide exclusions, but the purpose is clear enough.

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.