Skip to main content
Glama

wa_channel_fetch_messages

Fetch recent WhatsApp Channel posts with server IDs and timestamps for automation and moderation checks. Specify a channel and optional count to review recent channel activity.

Instructions

Fetch recent posts of a WhatsApp Channel (server ids + timestamps) — useful for automation and moderation checks.

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>"
    },
    "name": "wa_channel_fetch_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
channelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It reveals the return payload shape (server ids + timestamps), which is genuinely useful, but says nothing about how 'recent' is bounded, what happens when count is omitted, whether results are paginated, or what access to the channel is required.

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?

One compact sentence with the core action front-loaded and no filler. The brevity is well-managed, though the appended use-case clause is the weakest part and the overall length leaves gaps that brevity alone does not excuse.

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

Completeness2/5

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

For a two-parameter tool with no annotations and no output schema, the definition should at minimum specify the channel identifier format and count defaults/limits. It supplies neither, so an agent would have to guess at invocation details despite the simple surface.

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% for both parameters, so the description must compensate and largely fails. It never explains what format the required 'channel' string takes (id, URL, or link) or what 'count' controls beyond a vague implication from 'recent posts' — the maximum of 50 and any default are left entirely to the schema.

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 concrete verb and resource: 'Fetch recent posts of a WhatsApp Channel.' Combined with the parenthetical about return content (server ids + timestamps), an agent can distinguish this read operation from the write-oriented siblings like wa_post_channel and wa_channel_delete. It stops short of naming an alternative explicitly, so it is clear but not sibling-differentiating.

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?

The phrase 'useful for automation and moderation checks' gives loose use-case context, which is enough to imply the tool is a read/inspection operation. However, it gives no guidance on when to prefer it over wa_channel_info or wa_list_chats, no prerequisites, and no exclusions.

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