Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

getUserGifts

Retrieve gifts received and owned by a Telegram user. Filter by type, exclude unique or unlimited gifts, sort by price, and paginate results using an offset.

Instructions

Returns the gifts received and owned by a given user. 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.
user_idYesUnique identifier of the target user.
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_unlimitedNoPass True to exclude gifts that can be purchased unlimited number of times.
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

C2.9/5.0
Behavior2/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 only states that the tool returns an OwnedGifts object on success; there is no mention of pagination behavior, filtering effects, ownership semantics, or any side effects. For a 9-parameter read operation, this is minimal behavioral transparency.

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 brief sentences with no filler. It front-loads the core purpose and adds the return type, which is useful since no output schema is present. Every sentence earns its place.

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

Completeness2/5

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

Despite having 9 parameters, no annotations, and no output schema, the description provides only a surface-level definition. It does not explain how the return object is structured, how pagination works, how the filter flags interact, or how this relates to sibling gift tools. For an agent to use this tool correctly and confidently, substantially more context is needed.

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 the input schema already documents every parameter, including limit, offset, user_id, and the various exclusion flags. The description does not add meaningful parameter semantics beyond saying 'given user', but because the schema handles parameter documentation well, the baseline score of 3 is appropriate.

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 clearly states a specific verb and resource: it returns the gifts received and owned by a given user, and mentions the result type OwnedGifts. However, it does not explicitly distinguish this from closely related sibling tools like getAvailableGifts, getChatGifts, or getBusinessAccountGifts, so it stops short of full differentiation.

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?

No guidance is provided about when to use this tool versus its siblings, or what kind of user/gift context it is intended for. The description implies a user-specific gift lookup, but there is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives.

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