Skip to main content
Glama

Try the bot

chat_with_bot

Send a test message to the bot and get its reply, as a customer would. Pass conversation_id from the previous reply to continue the same conversation.

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": {
      "bot_id": "<bot_id>",
      "message": "<message>"
    },
    "name": "chat_with_bot"
  }
}

Input Schema

NameRequiredDescriptionDefault
bot_idYesThe bot id, like b_AbC123xyz789 (from create_bot or list_my_bots).
messageYes
edit_keyNoThe bot's edit key, like bsk_… (from create_bot). Not needed when the user is signed in and the bot is in their account. Keep it private.
conversation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / bot_id / description
      Previous value: -"The bot id, like b_AbC123xyz789 (from create_bot)."New value: +"The bot id, like b_AbC123xyz789 (from create_bot or list_my_bots)."
    • changedInput schema / properties / edit_key / description
      Previous value: -"The bot's edit key, like bsk_… (from create_bot). Keep it private."New value: +"The bot's edit key, like bsk_… (from create_bot). Not needed when the user is signed in and the bot is in their account. Keep it private."
    • changedInput schema / required
      Previous value: -[
      -  "bot_id",
      -  "edit_key",
      -  "message"
      -]New value: +[
      +  "bot_id",
      +  "message"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this writes out to a live bot. The description adds genuinely useful context that the call simulates a customer and that conversations persist across calls via conversation_id, but it says nothing about side effects such as a test conversation being recorded, rate limits, or what the reply payload contains.

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?

Two sentences, zero filler, with the primary behavior front-loaded and the continuity mechanic second. Nothing could be removed without losing meaning.

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 stateful, unannotated-output tool, the description tells the agent what is returned (the bot's reply) and that the reply carries a conversation_id to reuse. It stops short of describing error conditions or whether test conversations consume quota, which would matter for a live-traffic tool.

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 50%: bot_id and edit_key are described inline, while message and conversation_id are not. The description recovers some ground by explaining that conversation_id comes 'from the previous reply' and continues the same conversation, and message is self-evident, but it adds nothing about edit_key or bot_id beyond the schema. Baseline 3 for partial compensation.

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 ('Send a test message to the bot and get its reply') plus the 'as a customer would' framing, which tells an agent this is end-user simulation rather than bot configuration. It does not name a sibling such as list_conversations, so the differentiation is implicit rather than explicit.

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 makes the use case plain (testing a bot's replies) and gives a concrete continuation rule for conversation_id. It offers no explicit when-not-to-use guidance, e.g. that real customer traffic should be inspected through list_conversations instead.

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