Skip to main content
Glama
bale-mcp

bale-mcp

by sepehr071

Bot: chat info

bot_get_chat
Read-onlyIdempotent

Retrieve a Bale chat's type, title, username, and description by chat ID or @username to support context-aware bot responses.

Instructions

Get a chat's type, title or name, username and description.

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": {
      "chat_id": "<chat_id>"
    },
    "name": "bot_get_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesChat id (number) or public '@channel' username.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / properties / chat_id / description
      Previous value: -"Chat id (number, e.g. 123456789) or public '@channel' username. See bot_list_chats."New value: +"Chat id (number) or public '@channel' username."
  2. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / chat_id / description
      Previous value: -"Chat id (number from bot_get_new_messages or bot_list_chats, e.g. 123456789) or a public channel/group username like '@mychannel'."New value: +"Chat id (number, e.g. 123456789) or public '@channel' username. See bot_list_chats."
    • removedInput schema / properties / chat_id / title
      Removed value: -"Chat Id"
    • removedInput schema / title
      Removed value: -"bot_get_chatArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "bot_get_chatDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds the returned attribute set but says nothing about failure modes (unknown chat_id, bot not a member, private chat limits) or return shape, which is the main added-value gap.

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?

One front-loaded sentence with no filler; the resource and the returned fields come first and every word earns its place.

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 one-parameter read tool with full schema coverage, rich annotations and no output schema, the description is adequate but thin: it lists the returned fields without noting error conditions or access prerequisites, which is the remaining thing an agent cannot get from structured data.

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% and the single parameter's anyOf (integer id or '@channel' username) is already documented in the schema. The description adds no extra meaning about accepted formats or constraints, so the baseline of 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?

A specific verb ('Get') with a clear resource ('a chat') plus the exact fields returned (type, title/name, username, description), so the agent knows this is a metadata lookup rather than a message fetch. It does not, however, name or distinguish itself from siblings like bot_read_chat or bot_list_chats, which also operate on chats.

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?

There is no explicit when-to-use guidance: nothing says to prefer this over bot_read_chat (messages), bot_list_chats (enumeration), or bot_search_messages. The field list only weakly implies 'metadata only', leaving the agent to infer the distinction from sibling names.

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