Skip to main content
Glama

Send chat message

chat_send

Send from the widget. Widget only.

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": {
      "hub": "<hub>"
    },
    "name": "chat_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
hubYeshub key
bodyNomessage text
filesNoids of files uploaded for this message
stickerNosticker name instead of text
reply_toNoid of the message this one replies to

Output Schema

NameRequiredDescriptionDefault
idYes
seqYes
viaYes
bodyNo
kindYes
mineNo
emojiNo
filesYes
authorYes
deletedNo
stickerNo
reply_toNo
author_idNo
edited_atNo
created_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered structurally. The description contributes one genuine behavioral constraint — that sending is restricted to the widget surface — which is context not present in the annotations. It says nothing about what happens when both body and sticker are supplied, or about failure behavior outside widget context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the constraint front-loaded, so nothing is buried. However, "widget" is repeated in both sentences and the extreme brevity crosses into under-specification rather than economy — the second sentence could have carried the missing purpose information instead of restating the restriction.

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?

An output schema exists, so return values need not be explained, and annotations cover the mutation/safety profile. What is missing is the core operational context: what "widget" means, whether calls outside it fail, and how this differs from the several sibling send/post tools. For a five-parameter mutation tool, the description is too thin to call it safely.

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%, so all five parameters (hub, body, files, sticker, reply_to) are already documented with per-field descriptions. The description adds no meaning beyond the schema — no guidance on body-vs-sticker precedence or on how file ids are obtained. Baseline 3 applies when the schema carries the full parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb ("Send") plus a scoping qualifier ("from the widget"), but never names the resource being sent — the agent must fall back on the title "Send chat message" to learn it is a chat message. It does hint at a widget-vs-hub distinction, which helps separate it from siblings like post_to_hub_chat, but the phrasing is too compressed to be self-contained.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Widget only" functions as a weak exclusion, implying the tool is not the right choice for hub-side posting, but it never names an alternative such as post_to_hub_chat or send_file_to_hub_chat. There is no explicit when-to-use statement, no prerequisites, and no explanation of what "widget" context actually means.

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