Skip to main content
Glama
messaging-mcp

messaging-mcp

Get conversation

get_conversation
Read-onlyIdempotent

Read a conversation's latest messages oldest first and get a can_message_now summary of the reply window, its end time, and allowed alternatives like templates or tags.

Instructions

Read the latest messages of one conversation, oldest first, plus a "can_message_now" summary from the platform rules (window state, when it ends, allowed alternatives such as templates or tags).

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": {
      "channel": "<channel>",
      "conversation_id": "<conversation_id>"
    },
    "name": "get_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return, 1 to 100. Default 30.
beforeNoISO 8601 time: only messages older than this (paging backwards).
channelYesChannel: whatsapp, instagram, messenger or telegram.
conversation_idYesThe other party id as returned by list_conversations: phone number (WhatsApp), PSID (Messenger), IGSID (Instagram) or chat id (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, closed-world behavior, so the safety profile is covered. The description adds non-obvious context the annotations cannot: results are ordered oldest first and the response includes a derived 'can_message_now' block with window state, expiry, and allowed alternatives such as templates or tags.

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 front-loaded sentence that leads with the core action before the parenthetical detail about can_message_now. Dense but every clause contributes; the nested parenthetical is slightly heavy but not wasteful.

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?

There is no output schema, so the description must flag return content, and it does: messages plus the enumerated can_message_now fields. It leaves the shape of individual message objects unspecified, but the essentials for correct invocation and interpretation are present.

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 description coverage is 100%, including enum values for channel, the 1-100 range with a default of 30 for limit, and backward paging semantics for 'before'. The description adds only the ordering context relevant to paging; the schema does the heavy lifting, so baseline 3 applies.

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 (read the latest messages of one conversation) with ordering ('oldest first') and a secondary payload ('can_message_now' summary). That scope separates it from list_conversations and search_messages, though it never names those siblings explicitly.

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?

Usage is only implied: you call it when you already have a conversation_id and want recent messages. There is no statement of when to prefer search_messages instead, nor any note that a sibling 'can_message' tool exists even though this tool partially duplicates that window logic.

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