Skip to main content
Glama
bale-mcp

bale-mcp

by sepehr071

Bot: read chat

bot_read_chat

Read a Bale chat's recent messages in both directions, oldest first, and mark the chat read in the local store to review and respond.

Instructions

Show a chat's recent messages in both directions, oldest first, and mark the chat read (local store; Bale keeps no history).

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_read_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax messages.
chat_idYesNumeric chat id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / properties / chat_id / description
      Previous value: -"Numeric chat id (see bot_list_chats)."New value: +"Numeric chat id."
  2. Changed6 schema fields changedv0.2.0
    • changedInput schema / properties / chat_id / description
      Previous value: -"Numeric chat id (from bot_get_new_messages or bot_list_chats)."New value: +"Numeric chat id (see bot_list_chats)."
    • removedInput schema / properties / chat_id / title
      Removed value: -"Chat Id"
    • changedInput schema / properties / limit / default
      Previous value: -30New value: +20
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / title
      Removed value: -"bot_read_chatArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "bot_read_chatDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

The description discloses the key non-obvious behavior: the call has a side effect (marks the chat read), which explains readOnlyHint=false, and clarifies the history comes from a local store since Bale keeps none. It does not cover what happens on an invalid chat_id or how results are shaped, but the crucial mutation is surfaced rather than left to annotations alone.

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 tight sentence that front-loads the primary action and appends the side effect and storage caveat in a parenthetical. No filler, nothing repeated from the schema.

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 two-parameter tool with full schema coverage the description is mostly adequate, and it correctly flags the write side effect. With no output schema, however, it never indicates what a returned message contains, which an agent would need in order to use the results.

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%, so both chat_id and limit are already documented, including the default and 1-500 bounds. The description adds only ordering semantics ('oldest first') and says nothing about how limit interacts with the read-marking side effect, so it sits at the baseline.

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?

States a specific verb and resource (show a chat's recent messages) plus scope qualifiers: both directions, oldest first. It implicitly differentiates from siblings like bot_get_new_messages and bot_search_messages by saying 'recent', but never names them, so the distinction must be inferred.

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 or when-not-to-use guidance, and no alternative is named despite close siblings (bot_get_new_messages for unread, bot_search_messages for lookup). Usage is only implied by the phrase 'recent messages'.

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