Skip to main content
Glama
grammy-mcp
by louietyj

sendDice

Sends an animated dice, dart, basketball, football, bowling, or slot emoji to a Telegram chat, returning the message with its random value.

Instructions

Use this method to send an animated emoji that will display a random value. 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>",
      "emoji": "<emoji>"
    },
    "name": "sendDice"
  }
}

Input Schema

NameRequiredDescriptionDefault
emojiYesEmoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, “🏀”, “⚽”, “🎳”, or “🎰”. Dice can have values 1-6 for “🎲”, “🎯” and “🎳”, values 1-5 for “🏀” and “⚽”, and values 1-64 for “🎰”. Defaults to “🎲”.
chat_idYesUnique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`
reply_markupNoAdditional interface options. An object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user.
protect_contentNoProtects the contents of the sent message from forwarding
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
direct_messages_topic_idNoIdentifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
suggested_post_parametersNoAn object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the mutation/external-visibility profile is known. The description adds that the sent Message is returned on success, which is genuinely useful since there is no output schema, but it says nothing about posting side effects, chat-type restrictions, or the fee/rate-limit implications flagged by allow_paid_broadcast.

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?

Two short sentences, purpose first and return value second, with no redundant or filler text. Nothing could be removed without losing information.

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 13-parameter mutation tool with nested reply-markup objects and no output schema, the description covers the core action and the return type, which is the essential part. It stops short of noting that this posts into a chat with rate/stars implications, but the heavy parameter surface is fully documented in the schema.

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% and the emoji parameter already documents the allowed emoji and their value ranges, so the description adds no parameter meaning beyond the schema. Baseline 3 is appropriate when the schema does all the work. It notably omits any mention of chat_id or the reply/thread targeting options.

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: send an animated emoji that displays a random value, and notes the return. An agent can tell it sends a dice-like message rather than arbitrary text, but nothing in the description contrasts it with close siblings such as sendMessage or sendSticker.

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 named alternative. The 'random value' phrasing hints at games/randomness, but the agent must infer that itself rather than being routed.

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