Skip to main content
Glama

Gamedev Tavern — MCP for the game industry

Написать в личный чат

send_message
DestructiveIdempotent

Write in the person's private chat (room chat_id) on their behalf, marked as sent via an AI agent. Sends only after their yes to this exact text: the first call returns details.confirm, the repeat with it sends.

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": {
      "text": "<text>",
      "id": "<id>",
      "request_key": "<request_key>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPrivate chat_id room:… from list_chats or open_contact contact.chat_id
textYesMessage on the person's behalf, 1-2000 chars, not starting with /
confirmNodetails.confirm of the first call's answer; only after their yes to this exact text
request_keyYesIdempotency key: reuse it on retry, new per action

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "details.confirm of the first call's answer; only after their yes to this exact text",
      +  "maxLength": 40,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / request_key / description
      Previous value: -"Your idempotency key, 16-128 of [A-Za-z0-9_:-]; reuse it on retry, new per action"New value: +"Idempotency key: reuse it on retry, new per action"
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructive=true, openWorld=true, idempotent=true and readOnly=false, so the safety profile is known; the description adds the crucial human-approval gate and the two-phase confirm handshake, plus the fact that the message is visibly attributed to an AI agent. It stops short of describing failure modes, undo, or what a successful send 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?

Two dense sentences, front-loaded with the action and the approval constraint. The phrase 'the repeat with it sends' is slightly telegraphic, but nothing is wasted.

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 destructive, open-world, two-phase write with no output schema, the description covers the essentials: who acts, on whose behalf, with what consent, and how the confirm token flows. Missing only retry/error guidance and any note on what a sent message looks like in the chat.

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 all four parameters are already documented, and the description only reinforces id and adds the origin of confirm (details.confirm from the first call). That is a small amount of meaning beyond the schema, so the baseline of 3 is right.

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?

Names a concrete verb and resource: write a message into a person's private chat (room chat_id) on their behalf, marked as AI-agent-sent. The scope and the attribution behavior are unambiguous, though it does not name a sibling tool it is distinguished from (list_chats/open_contact appear only in the schema).

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?

Gives an explicit precondition for use: send only after the person's yes to this exact text, with a first call that returns details.confirm and a repeat call that carries it. This is clear procedural context, but it never states when not to use it or which sibling to prefer for reading chats instead.

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.