Skip to main content
Glama
timoncool

telegram-api-mcp

by timoncool

answer_pre_checkout_query

Confirm or reject Telegram payment pre-checkout queries within 10 seconds. Send ok and error details to validate transactions.

Instructions

Respond to pre-checkout queries. Must answer within 10 seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
error_messageNo
pre_checkout_query_idYes
Behavior4/5

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

Annotations already indicate this is not read-only, not idempotent, and not destructive. The description adds a crucial behavioral constraint: the tool must be answered within 10 seconds. This is a rate/performance limit that goes beyond the annotation fields and is useful for the agent's decision-making.

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

Conciseness4/5

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

The description is extremely concise, using just two short sentences. Both sentences carry essential information: the purpose and the time constraint. There is no unnecessary fluff, so it scores well on conciseness, though the lack of detail limits its overall utility.

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?

The tool has no output schema, so the description should explain what the response looks like or what the tool returns. It also does not describe the meaning of the parameters or how ok/error_message relate to the pre-checkout query. This leaves the description incomplete for a tool with three parameters and no output schema.

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?

Schema description coverage is 0%, and the description provides no explanation of the parameters. The agent cannot infer what pre_checkout_query_id, ok, or error_message mean from the description alone, leaving a critical gap in understanding how to invoke the tool correctly.

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 uses the specific verb 'respond' with the resource 'pre-checkout queries', clearly distinguishing this tool from sibling tools like answer_shipping_query, answer_inline_query, and answer_callback_query. It names the exact type of query it handles.

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 by specifying it handles pre-checkout queries, which implies it is for pre-checkout rather than other query types. However, it does not explicitly state when not to use it or mention alternative tools, so it stops short of full guidance.

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/timoncool/telegram-api-mcp'

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