Skip to main content
Glama

Mark messages as read

mark_read
Destructive

Put blue ticks on messages your number received in a chat. Free. Message ids come from the inbound webhook.

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": {
      "to": "<to>",
      "messageIds": "<messageIds>"
    },
    "name": "mark_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient: a phone number in international format (+5511988887777) or a WhatsApp address (5511988887777@s.whatsapp.net, an @lid contact, or a @g.us group).
fromNoWhich of your WhatsApp numbers sends this: its id or its phone number. Optional: with a single connected number it is resolved for you.
messageIdsYesIds of the received messages to acknowledge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the mutation profile is covered structurally. The description adds genuine context beyond that — the operation is free and applies only to already-received messages — but it omits the most important behavioral trait: that blue ticks become visible to the other party and are effectively irreversible. With annotations present the bar is lower, but that privacy/visibility consequence is the fact an agent most needs.

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?

Three very short sentences, front-loaded with the action and followed by cost and id provenance. "Free." is tersely stated but carries real decision value (no billing side effect); otherwise there is no wasted wording.

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 three-parameter mutation with full schema coverage and no output schema, the description covers purpose, cost, input provenance and inbound-only scope. The remaining gap is the absence of any note on the visible, hard-to-reverse effect on the recipient, which is small but meaningful for a destructiveHint=true tool.

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 100%, so the baseline is 3. The description goes beyond the schema by explaining where the required messageIds values originate (the inbound webhook), which is operationally useful provenance the schema does not provide. The `from` and `to` semantics are left to the schema, which already handles them well.

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?

States a concrete verb+resource in plain language: "Put blue ticks on messages your number received in a chat." This unambiguously identifies read-receipt marking and separates it from the send_* and list_* siblings, which do entirely different things.

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?

The definition scopes usage to messages the number *received* (inbound only), which implicitly excludes outbound messages and rules out misuse as a send tool. It also tells the agent where messageIds come from (the inbound webhook). It stops short of naming an alternative or stating exclusions explicitly, so it doesn't reach the top band.

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