Skip to main content
Glama
timoncool

telegram-api-mcp

by timoncool

answer_callback_query

Answer callback queries from inline keyboard buttons to acknowledge user interactions, show alerts, or provide additional information.

Instructions

Answer a callback query from an inline keyboard button.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
textNo
cache_timeNo
show_alertNo
callback_query_idYes
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the agent knows basic safety characteristics. However, the description adds no behavioral details beyond the purpose—such as the need to respond promptly, the effect of show_alert, or any side effects. It does not contradict annotations, but it also provides little extra behavioral context.

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 a single sentence with no unnecessary words, and the key action is front-loaded. It is efficient, though it could have included more useful detail without becoming verbose. It earns its place but is minimal.

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?

With 5 parameters, no output schema, and only a one-line description, the tool definition is incomplete for reliable invocation. The description helps with selection (what the tool does) but provides almost no guidance on how to call it correctly—parameter meanings, required fields, or behavioral constraints are all absent.

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 schema has 5 parameters with 0% description coverage, and the description mentions none of them. It says nothing about callback_query_id, text, url, cache_time, or show_alert, leaving the agent without any additional meaning beyond the bare property names. The description fails to compensate for the lack of schema descriptions.

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 a specific verb ('Answer') and resource ('callback query'), and clarifies the source ('from an inline keyboard button'). This clearly differentiates it from sibling tools like answer_inline_query, answer_shipping_query, and answer_pre_checkout_query, which handle different query types.

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 phrase 'from an inline keyboard button' gives clear context for when this tool is appropriate, but it does not explicitly mention alternatives or when not to use it. It provides a clear context without exclusions, matching a score of 4.

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