Skip to main content
Glama

Search conversations

asks_search_conversations
Read-onlyIdempotent

Finds inbox conversations across every channel (website widget, WhatsApp, Instagram, Messenger, email, Telegram, Slack, API). q is full-text over messages and internal notes: it returns ONE relevance-ranked page with a match.snippet per hit (narrow the query or add filters instead of paging). Without q, results are newest first and paginated (order: last_message sorts by last activity). Filters combine with AND. Results carry ids, customer name, channel, status, assignee and last_message_at — not the messages; read one with asks_get_conversation.

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": "asks_search_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFull-text query.
limitNoPage size (default 20, max 100).
orderNoSort without q (default created).
cursorNo`next_cursor` from the previous page. Keep the other arguments unchanged.
statusNo
channelNoChannel type, e.g. widget, whatsapp, instagram, facebook, email, telegram, slack, api.
assigneeNo"ai", "escalated" (waiting for a human), "unassigned", "me", or a member id.
priorityNo
customer_idNoOnly this customer's conversations.
last_message_afterNoISO date-time — last activity at or after.
last_message_beforeNoISO date-time — last activity before.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare the operation as read-only, idempotent, non-destructive, and not open-world. The description adds valuable behavior not covered by annotations: full-text search semantics, one-page relevance results with `match.snippet`, filter AND combination, pagination only without `q`, and the returned field set versus omitted messages.

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 dense but front-loaded and well structured, moving from scope to search behavior to pagination to return shape. Every sentence contributes operational guidance with no filler.

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

Completeness5/5

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

Given 11 optional parameters and no output schema, the description provides enough context to call the tool correctly: it explains filtering, ordering, pagination, search behavior, and what the results contain. It also correctly routes the agent to `asks_get_conversation` when message content is required.

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 already high at 82%, so the schema carries most parameter documentation. The description still adds meaning beyond the schema for key parameters, especially that `q` searches messages and internal notes, that it changes pagination behavior, and that `order: last_message` sorts by last activity.

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 uses a specific verb and resource: it finds inbox conversations across every channel. It clearly distinguishes the result from a conversation detail read by stating that results carry summary fields, not messages, and points to `asks_get_conversation` for the full content.

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

Usage Guidelines5/5

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

It explicitly explains the two operating modes: with `q` returns one relevance-ranked page and should not be paged, while without `q` results are newest-first and paginated. It names filters, ordering behavior, and the sibling to use when the full conversation messages are needed.

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