Skip to main content
Glama
messaging-mcp

messaging-mcp

Can I message this person now?

can_message
Read-onlyIdempotent

Check messaging platform rules before sending: verify whether the reply window is open, when it ends, which conditions apply, and what alternatives exist based on the last inbound message.

Instructions

Check the platform rules for a conversation without sending: is the reply window open, when does it end, what conditions apply and what alternatives exist. Based on the last inbound message this server has seen.

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

Input Schema

NameRequiredDescriptionDefault
tagNoMessage tag when kind is tag, for example HUMAN_AGENT.
kindNoMessage kind. Default free_form. Others: template (WhatsApp), tag, private_reply.
senderNobot (automation, default) or human (a person replying manually).
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.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered elsewhere. The one genuinely additive statement is 'Based on the last inbound message this server has seen', which warns that the answer reflects the server's local view rather than a live platform query — valuable, but it is a single caveat. Nothing is said about failure modes, unknown conversations, or what 'alternatives' actually contains.

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?

One sentence, front-loaded with the action and the 'without sending' constraint, then a compact colon list of the questions answered. Every clause carries information and nothing is repeated from the schema.

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?

With no output schema, the description usefully enumerates what the result covers (window open, end time, conditions, alternatives), which is enough for an agent to know what it will receive. It stops short of describing the response shape or what happens when no inbound message exists, a realistic edge case given the 'last inbound message we have seen' framing.

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% and every parameter, including the enums for channel and sender, is documented in the schema, so the description has no obligation to restate them. It adds no meaning about how channel or kind influences the rules evaluated, which is the natural place for extra signal in this tool.

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?

The description names a specific action (checking platform messaging rules) applied to a specific resource (a conversation), and the phrase 'without sending' immediately separates it from send_message. It does not explicitly contrast itself with get_rules, so the boundary between conversation-scoped rules and general platform rules is left for the agent to infer.

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?

'Check ... without sending' establishes the pre-send decision context clearly, and the enumerated questions (window open, when it ends, conditions, alternatives) tell the agent when this check is appropriate. There is no explicit exclusion clause, such as a note that this is unnecessary for channels with no reply-window concept.

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