Skip to main content
Glama
antonio-castellon

io.github.antonio-castellon/mcp-telegram-bridge

telegram_answer_callback

Acknowledge Telegram callback queries and send optional toast text or alert notifications to confirm user actions on inline buttons.

Instructions

Acknowledge a callback_query (optional toast text / alert).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
show_alertNo
callback_query_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 states the action and optional text/alert, but does not mention that this is a required acknowledgment to avoid the Telegram loading indicator, or any constraints (e.g., invalid callback_query_id behavior). It is too terse to convey the operational 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 concise sentence with no waste. It is front-loaded with the core action and includes the optional parameters in parentheses. However, it is so brief that it borders on under-specification, though it earns a 4 for efficiency.

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?

Given the tool is a mutation with no annotations and an output schema (which likely describes the result), the description should still cover prerequisites and typical usage context. It fails to mention that this should be called after receiving a callback_query, or that it is necessary to prevent UI spinning. The description is incomplete for an agent to understand when and why to invoke it.

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 0%, so the description must compensate. It adds meaning by explaining 'toast text / alert', which maps to the 'text' and 'show_alert' parameters, giving agents a hint about their purpose. However, it does not clarify the distinction between toast and alert (i.e., show_alert=true forces a popup), nor does it explain the required callback_query_id beyond its obvious name.

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 the action: acknowledging a callback_query, which is a specific verb and resource. It also hints at optional parameters (toast text/alert). However, it does not explicitly differentiate from sibling tools like telegram_send_message or telegram_edit_reply_markup, though the resource is distinct enough to infer.

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 on when to use this tool versus alternatives. It does not mention that this is typically called in response to a callback_query from the user, nor does it state any conditions or exclusions. The description provides no context for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.