Skip to main content
Glama
grammy-mcp
by louietyj

transferGift

Destructive

Transfers an owned unique gift to another active chat via a Telegram business connection, using Telegram Stars when the transfer is paid.

Instructions

Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Requires can_transfer_stars business bot right if the transfer is paid. Returns True on success.

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": {
      "business_connection_id": "<business_connection_id>",
      "owned_gift_id": "<owned_gift_id>",
      "new_owner_chat_id": "<new_owner_chat_id>",
      "star_count": "<star_count>"
    },
    "name": "transferGift"
  }
}

Input Schema

NameRequiredDescriptionDefault
star_countYesThe amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the can_transfer_stars business bot right is required.
owned_gift_idYesUnique identifier of the regular gift that should be transferred
new_owner_chat_idYesUnique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.
business_connection_idYesUnique identifier of the business connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true. The description adds value beyond them by naming the exact bot rights needed and by stating the return value ('Returns True on success'), so the agent knows the authorization preconditions and success signal.

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?

Three short sentences, front-loaded with the action, then prerequisites, then return value. No redundant or filler wording.

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 mutation with four required parameters and no output schema, it covers action, permissions, conditional permission and success return. It omits failure behavior and whether the original owner loses the gift irrecoverably, but destructiveHint covers the general risk profile.

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 the schema already documents all four parameters, including the 24-hour activity constraint on new_owner_chat_id. The description only re-links star_count to the paid-transfer right, which is marginal added meaning beyond the schema.

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: 'Transfers an owned unique gift to another user.' That distinguishes it from sendGift (new gift) and convertGiftToStars (conversion), although the near-identical sibling transferBusinessAccountStars is not contrasted explicitly.

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

Usage Guidelines3/5

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

It gives the required business rights (can_transfer_and_upgrade_gifts, plus can_transfer_stars when paid), which is real prerequisite guidance. It never says when to prefer this over convertGiftToStars or upgradeGift, or when a transfer should be avoided, so the when-to-use dimension is only implied.

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