Skip to main content
Glama

inline_query_send

Sends a selected inline bot query result to a whitelisted Telegram destination chat, with an optional reply target.

Instructions

Send a selected inline bot query result to a whitelisted destination chat.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "<to>",
      "query_id": "<query_id>",
      "result_id": "<result_id>"
    },
    "name": "inline_query_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination chat reference (subject to send whitelist and pinning).
query_idYes`query_id` returned by `inline_query`.
result_idYesSelected result ID from `inline_query`.
reply_to_message_idNoOptional message ID to reply to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the safety profile (not read-only, not idempotent, open-world, non-destructive), so the description only needs to add context. It adds the notable constraint that the destination is subject to a whitelist, which tells the agent calls can fail on non-permitted chats, but says nothing about side effects, pinning, or retry behavior for a non-idempotent send.

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?

A single front-loaded sentence with no filler; the operative verb and resource appear first and the whitelist qualifier follows immediately. Nothing is redundant.

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

Completeness3/5

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

The schema and annotations together carry most of the load for a four-parameter mutation with no output schema. Still missing is the prerequisite relationship to inline_query (that the IDs expire or come from a prior call) and any indication of what a successful send yields, which matters more because no output schema exists.

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 100%, so all four parameters are documented in the schema and the baseline is 3. The description adds only the framing that 'to' must be whitelisted and that the result is 'selected'; it provides no syntax, format, or edge-case meaning beyond the schema text.

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?

Uses a specific verb (send) with a specific resource (a selected inline bot query result) and names the destination. It is distinguishable from inline_query (which produces the results) and from send_message (which sends authored content), though it never names those siblings explicitly.

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?

Usage is only implied: 'selected inline bot query result' and the query_id/result_id parameters signal this must follow an inline_query call, and 'whitelisted destination chat' hints at a permission prerequisite. There is no explicit when-to-use statement, no when-not, and no alternative named.

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