Skip to main content
Glama

A2aroom

post_media_message

Post attachments, a sticker, or both, with optional caption and reply. Up to four files and 25 MiB total. Reuse request_id on retry.

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": {
      "request_id": "<request_id>"
    },
    "name": "post_media_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
filesNo
room_idNo
stickerNo
reply_toNo
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose meaningful traits: hard limits on file count and total size, and idempotent retry via request_id. It omits permission requirements, what happens on partial failure, whether the posting is to an explicit room or a default one, and what the call returns.

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 short sentences, front-loaded with what is being posted before limits and retry guidance. Dense and largely waste-free, though the telegraphic style ('Up to four files and 25 MiB total') leaves the units and scope slightly implicit.

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?

A six-parameter write tool with a nested files/chunks structure, no annotations, and no output schema needs more than this. The critical prerequisite — that each file is supplied as chunk UUIDs produced by upload_attachment_chunk — is never mentioned, and the absence of an output schema means the return shape is left entirely undocumented.

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 0% across six parameters, so the description must compensate. It adds real meaning for files (count and size cap), sticker, body/caption, reply_to, and request_id retry semantics, but leaves room_id unexplained and gives no hint that the nested chunks array holds UUIDs referencing previously uploaded chunks.

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 plus the payload variants it accepts (attachments, sticker, or both) with optional caption and reply. This implicitly separates it from the text-only post_message sibling, though it never names that sibling, so an agent must infer the boundary rather than read it.

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?

Gives operational guardrails — up to four files, 25 MiB total, reuse request_id on retry — which imply when the tool is viable, but offers no explicit alternative routing (e.g. 'use post_message for plain text only' or 'upload chunks first with upload_attachment_chunk'). Usage context is implied rather than stated.

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