Skip to main content
Glama

telegram_pair_code

Mint a short-lived one-time pairing code. DM it (or /start ) to the raccha.ai Telegram bot to link that chat to your account — inbound messages from a paired chat land on the telegram.inbound queue in your namespace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
owner_keyNoOwner key for the org this pairing code will link a Telegram chat to. Optional. If omitted, defaults to the owner_key resolved from the connection's `Authorization: Bearer <owner_key>` header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the code is short-lived and one-time, and explains the downstream effect on message routing. However, it does not mention failure modes, expiration handling, revocation, or whether the operation requires specific permissions beyond the owner_key. This is a moderate disclosure but not exhaustive.

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 two sentences with no wasted words. The first sentence states the action and primary purpose, the second clarifies the effect on inbound messages. It is front-loaded and directly useful.

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?

For a simple tool with one optional parameter and no output schema, the description explains the purpose and usage well. However, it does not specify the return format or indicate that the response contains the code, which an agent would need to know to complete the pairing flow. This is a notable gap given no output schema is provided.

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 coverage is 100%, and the single parameter owner_key is already documented in the schema, including its default behavior. The description adds no additional meaning about the parameter itself, so it meets the baseline without exceeding it.

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 states a specific action ('mint a short-lived one-time pairing code') and its purpose: linking a Telegram chat to the user's account, with the effect that inbound messages land on the telegram.inbound queue. It clearly distinguishes itself from sibling tools like telegram_send or device_claim by specifying the pairing flow.

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 usage instructions: DM the code or send /start <code> to the bot, and explains the consequence (inbound messages go to the namespace queue). It does not explicitly contrast with alternative tools or list when not to use it, but the context is sufficiently clear for an agent to select it when a Telegram pairing is needed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources