Skip to main content
Glama
grammy-mcp
by louietyj

transferBusinessAccountStars

Destructive

Transfers Telegram Stars from a business account balance to the bot's balance, requiring the can_transfer_stars business bot right.

Instructions

Transfers Telegram Stars from the business account balance to the bot's balance. Requires the can_transfer_stars business bot right. 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>",
      "star_count": "<star_count>"
    },
    "name": "transferBusinessAccountStars"
  }
}

Input Schema

NameRequiredDescriptionDefault
star_countYesNumber of Telegram Stars to transfer; 1-10000
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 flag destructiveHint=true and openWorldHint=true, so the bar is lower, yet the description still adds an authorization requirement (can_transfer_stars right) and the return contract ('Returns True on success'). It stops short of stating irreversibility or failure behavior, but the added context is real.

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: action and direction first, then the prerequisite, then the return value. Every sentence carries information and nothing is padded.

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 two-parameter mutation with no output schema, the description covers purpose, prerequisite, and the success return. Only error/failure modes and irreversibility of the fund movement are left implicit.

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%, with both business_connection_id and the 1-10000 star_count range documented in the schema itself. The description adds no further meaning about either parameter, so the baseline 3 applies.

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 gives a specific verb and resource plus an explicit direction of value movement: 'Transfers Telegram Stars from the business account balance to the bot's balance.' That direction inherently separates it from siblings like convertGiftToStars or transferGift, though no sibling is named outright.

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 states the prerequisite ('Requires the can_transfer_stars business bot right'), which is genuine usage context, but offers no explicit when-to-use vs when-not guidance or named alternatives for moving Stars between balances.

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