Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

getBusinessAccountGifts

Fetch gifts received and owned by a managed business account. Apply filters for saved, unique, limited, or priced items and paginate results to review them.

Instructions

Returns the gifts received and owned by a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns an OwnedGifts object on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of gifts to be returned; 1-100. Defaults to 100.
offsetNoOffset of the first entry to return as received from the previous request.
exclude_savedNoPass True to exclude gifts that are saved to the account's profile page.
sort_by_priceNoPass True to sort results by gift price instead of send date. Sorting is applied before pagination.
exclude_uniqueNoPass True to exclude unique gifts.
exclude_unsavedNoPass True to exclude gifts that are not saved to the account's profile page.
exclude_unlimitedNoPass True to exclude gifts that can be purchased unlimited number of times.
business_connection_idYesUnique identifier of the business connection.
exclude_from_blockchainNoPass True to exclude gifts transferred from the TON blockchain.
exclude_limited_upgradableNoPass True to exclude limited gifts that can be upgraded.
exclude_limited_non_upgradableNoPass True to exclude limited gifts that cannot be upgraded.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds meaningful context by stating the required permission ('can_view_gifts_and_stars business bot right') and the success return type ('OwnedGifts object'). It does not explicitly mention that the operation is read-only, but the 'Returns' language and 'get' verb strongly imply it.

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?

The description is two sentences with no filler: it states the result, the scope, the permission requirement, and the success return type. Every sentence earns its place, and the most important information is front-loaded.

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 an 11-parameter tool with no annotations or output schema, the description provides the essential context: what the tool returns, for whom, and what permission is required. It only lacks a more detailed breakdown of the OwnedGifts return structure, but the agent has enough to invoke the tool correctly using the thoroughly described input 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?

The input schema covers 100% of the parameters with descriptions, so the baseline is 3. The tool description does not add additional parameter-level meaning beyond pointing to the business account context, which is already reflected in the required business_connection_id parameter. No parameter semantics are missing, but the description also does not enhance them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Returns') and a specific resource ('gifts received and owned by a managed business account'), making the tool's purpose immediately clear. It also distinguishes itself from sibling gift-related tools by scoping to managed business accounts rather than user or chat gifts.

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?

The description provides clear context for when to use the tool: it is for managed business accounts, and it states the required business bot right. It does not explicitly name alternative tools or state when not to use it, but the 'managed business account' scope gives enough situational guidance for correct selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TONresistor/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server