Skip to main content
Glama
grammy-mcp
by louietyj

getBusinessConnection

Read-only

Fetch information about a bot's connection to a business account using the unique business connection ID; returns a BusinessConnection object on success.

Instructions

Use this method to get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.

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": {
      "business_connection_id": "<business_connection_id>"
    },
    "name": "getBusinessConnection"
  }
}

Input Schema

NameRequiredDescriptionDefault
business_connection_idYesUnique identifier of the business connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds only the return type; it does not disclose the failure behavior when the connection id is unknown or not owned by the bot, nor any permission requirements.

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?

Two short sentences with the purpose front-loaded and the return value second; nothing is redundant. The phrasing echoes Telegram API boilerplate ("Use this method to...") rather than starting with the verb, which is a minor inefficiency.

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

Completeness4/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 lookup with full schema coverage and annotations covering safety, this is close to sufficient. The only meaningful gap is error behavior for an invalid or foreign business_connection_id, which the output type mention partly offsets.

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 business_connection_id is fully documented in the schema as a unique identifier. The description adds no format, source, or acquisition hint (e.g., where to obtain the id), so baseline 3 applies.

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 names a specific verb and resource (get information about the bot's connection with a business account) and states the return type, so an agent can distinguish it from sibling getters like getBusinessAccountStarBalance or getBusinessAccountGifts. It stops short of saying what information the BusinessConnection object actually contains.

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?

"Use this method to get information about..." is framing rather than guidance. There is no statement of when this should be called instead of other business-account getters, and no prerequisite such as the bot needing an existing connection.

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

Deploy Server

Other Tools