Skip to main content
Glama
telegram-api-mcp

telegram-api-mcp

by EngDawood

create_invoice_link

Generate a Telegram invoice link for digital goods or services with a title, description, payload, and currency, so you can share a payable checkout URL via any Telegram Bot API client.

Instructions

Create a link for an invoice.

Input Schema

NameRequiredDescriptionDefault
titleYes
pricesNo
payloadYes
currencyYes
need_nameNo
photo_urlNo
need_emailNo
photo_sizeNo
descriptionYes
is_flexibleNo
photo_widthNo
photo_heightNo
provider_dataNo
max_tip_amountNo
provider_tokenNo
need_phone_numberNo
subscription_periodNo
need_shipping_addressNo
suggested_tip_amountsNo
business_connection_idNo
send_email_to_providerNo
send_phone_number_to_providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already disclose that this is a non-read-only, non-idempotent, open-world operation, so the safety profile is known. Beyond that the description adds nothing: it does not explain that each call mints a new link (non-idempotency consequences), that it requires payment-provider credentials, or that it does not send anything to a chat itself.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded with no filler, so it is efficiently worded. But brevity here reflects under-specification rather than disciplined concision for a 22-parameter payment tool.

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

Completeness1/5

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

For a complex, high-stakes payment tool with 22 undocumented parameters, no output schema, and no clarification of the returned link, one sentence is wholly inadequate. An agent cannot reliably construct a valid call from this definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 22 parameters with 0% schema description coverage, so the description carries the full burden of explaining them. It mentions none — not prices, payload, provider_token, currency, or the need_* flags — leaving critical payment fields entirely opaque.

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

Purpose3/5

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

The description states a verb and resource ('Create a link for an invoice'), so the basic operation is identifiable. However, it does not clarify what an invoice link is (a Telegram payment URL for external checkout) or how it differs from the sibling send_invoice, which also deals with invoices.

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 guidance on when to use this versus send_invoice, no mention of prerequisites such as a payment provider token, and no indication of what happens to the created link (validity, one-time use, revocation). The agent is left to infer everything.

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