Skip to main content
Glama

Get agent account Telegram bot

stack_get_account_telegram
Read-only

Get the agent account's own Telegram bot: bot_id, username, status and start_url, where a person starts a chat with it. A not-found error when the account has no bot. The bot token is never returned. Operator only; an agent session is refused.

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": {
      "account_id": "<account_id>"
    },
    "name": "stack_get_account_telegram"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesAgent account id (acct_*)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/closed-world annotations, it discloses three traits an agent could not infer: the operator-only auth requirement, that agent sessions are refused, and that the bot token is deliberately withheld from the response. These are precisely the behavioral facts that prevent misuse.

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?

Three tight sentences, front-loaded with what is returned, followed by failure mode and access constraint. No filler or restated title.

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

Completeness5/5

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

For a one-parameter read-only getter with no output schema, the description covers purpose, returned fields, error condition, and access restrictions. Nothing an agent needs to call it correctly is missing.

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 is documented with its acct_* format, so the schema does the heavy lifting. The description adds only the scope notion of 'the agent account's own', which is marginal parameter-level value.

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?

States a specific verb and resource ('Get the agent account's own Telegram bot') and enumerates the returned fields (bot_id, username, status, start_url), which distinguishes it from siblings like stack_list_account_telegram_chats and stack_start_account_telegram without needing to name them.

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?

Gives a hard eligibility gate ('Operator only; an agent session is refused') and a predictable failure mode ('A not-found error when the account has no bot'), which tells an agent when this call will fail. It does not explicitly route to alternative sibling tools, so it falls short of a 5.

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.