Skip to main content
Glama

独行录 / opcmenu

发消息

send_message

登录;list_my_conversations/start_conversation取conversationId,须确认收件人/全文,再以本人身份真发文字。

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": {
      "conversationId": "<conversationId>",
      "content": "<content>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes消息正文(纯文本)
conversationIdYes会话 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / content / description
      Previous value: -"消息正文(纯文本)"New value: +"消息正文(纯文本)"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare destructiveHint=false, so the description carries most of the weight and does add real value: it discloses that login is required, that the message is attributed to the caller's own identity, and that it results in an actual delivery rather than a draft or preview. It does not address irreversibility, whether sent messages can be recalled, or delivery failure behavior.

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?

A single compact sentence with semicolon-separated clauses ordered as workflow steps: login, derive the id, verify, then send. No filler or repetition, and the confirmation requirement is placed before the send step where it matters.

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

Completeness5/5

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

For a two-required-parameter tool with no output schema and only a destructiveHint annotation, the description supplies what the structured data cannot: the authentication requirement, how to obtain the conversation id, the verify-before-send discipline, and the identity of the sender. That is sufficient for an agent to invoke it safely without guessing.

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 coverage is 100%, so both conversationId and content already carry type, length, and plain-text constraints. The description only adds provenance for conversationId (it comes from list_my_conversations/start_conversation), which is a modest gain over the schema, matching the baseline 3.

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 concrete action — sending plain text as the authenticated user ('以本人身份真发文字') — which is distinguishable from sibling read helpers like list_my_conversations, which it explicitly frames as a prerequisite rather than an alternative. It stops short of differentiating itself from the many other send_* siblings, so it is clear but not fully disambiguating.

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?

It gives an explicit precondition chain (log in, obtain conversationId via list_my_conversations/start_conversation) plus a hard operational rule: confirm recipient and full message text before sending. What is missing is any statement of when not to use it or how to choose between this and the other send_* tools.

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