Skip to main content
Glama

answer_callback_query

Answer callback queries from inline buttons by sending feedback text or alerts to keep user interactions responsive.

Instructions

Answer a callback query (from inline buttons).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
show_alertNo
callback_query_idYes
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, but it only states the action without explaining consequences such as the acknowledgment nature, the optional text/alert behavior, or timeout requirements. This is a thin description for a tool with no structured safety hints.

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 a single short sentence that is immediately clear and contains no wasted words. It is well-structured for quick scanning.

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 and no annotations, and the description is only a fragment. It omits information about parameter effects, response behavior, and any prerequisites, making it insufficient for an agent to use correctly without external knowledge.

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%, so the description must compensate, but it does not mention the parameters (text, show_alert, callback_query_id) or their semantics. The reader is left to infer from property names alone.

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 'answer' with the resource 'callback query', and clarifies that these come from inline buttons. This clearly distinguishes it from message-sending and editing siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the use case (responding to inline button interactions) but does not explicitly state when to use this tool versus alternatives like send_message or edit_message_text. It offers no exclusions or preconditions.

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

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