Skip to main content
Glama
grammy-mcp
by louietyj

sendGame

Sends a Telegram game to a specified chat and returns the sent message, enabling bots to deliver playable game messages with optional inline keyboard and notification controls.

Instructions

Use this method to send a game. On success, the sent Message is returned.

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": {
      "chat_id": "<chat_id>",
      "game_short_name": "<game_short_name>"
    },
    "name": "sendGame"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesUnique identifier for the target chat or username of the target bot in the format `@username`. Games can't be sent to channel direct messages chats and channel chats.
reply_markupNoAn object for an inline keyboard. If empty, one 'Play game_title' button will be shown. If not empty, the first button must launch the game.
game_short_nameYesShort name of the game, serves as the unique identifier for the game. Set up your games via BotFather.
protect_contentNoProtects the contents of the sent message from forwarding and saving
reply_parametersNoDescription of the message to reply to
message_effect_idNoUnique identifier of the message effect to be added to the message; for private chats only
message_thread_idNoUnique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only
reply_to_message_idNoUse `reply_parameters` instead.
allow_paid_broadcastNoPass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.
disable_notificationNoSends the message silently. Users will receive a notification with no sound.
business_connection_idNoUnique identifier of the business connection on behalf of which the message will be sent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this as a non-destructive write with open-world side effects. The description adds that the sent Message is returned on success, which is valuable because no output schema exists, but it discloses nothing about the default 'Play game_title' inline button, the BotFather prerequisite, or any rate/permission constraints.

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 short sentences, front-loaded and free of filler. The second sentence earns its place by stating the return value in the absence of an output schema; the only knock is that the whole description is barely more than a header.

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

Completeness3/5

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

For an 11-parameter mutation tool with nested objects and no output schema, the description covers only the action and return type. The rich schema and safety annotations carry most of the load, but the game-specific mechanics and default keyboard behavior an agent would benefit from are absent.

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 every parameter, including nested reply_markup and reply_parameters, is already documented in the input schema. The description adds no parameter-level meaning beyond that baseline, which is acceptable but not additive.

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?

"Use this method to send a game" gives a specific verb and resource, but does nothing to distinguish it from the crowded send* family (sendMessage, sendPhoto, sendInvoice, etc.) or to explain what a 'game' is in this context. The core action is identifiable, yet the purpose is thin enough that an agent must open the schema to learn it creates a message with a Play button.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as sendMessage or sendInvoice. The chat-type restriction (games can't go to channel chats or channel direct messages) exists only inside the chat_id schema description, not in the tool description itself.

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

Deploy Server

Other Tools