Skip to main content
Glama

Ask a bot

ask_bot
Destructive

Send a message to a Casama bot and get its reply, continuing a thread with conversation_id. Use bounded wait_seconds to avoid blocking, then follow up with get_run when the bot is still working.

Instructions

Send a message to a Casama bot and wait for its reply. The bot can use its own computer and tools; risky actions may wait for the person's approval (see what_needs_me and list_approvals). Pass conversation_id to continue a thread. Assistants that can't wait long should pass wait_seconds: if the bot is still working when it runs out, the answer says so with a run_id (follow up with get_run), and the person gets a notification when it's done.

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": "<bot>",
      "message": "<message>"
    },
    "name": "ask_bot"
  }
}

Input Schema

NameRequiredDescriptionDefault
botYesBot name or id
messageYes
workspaceNo
wait_secondsNoHow long to wait for the reply, 5–120 seconds (default: up to 10 minutes)
conversation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "description": "How long to wait for the reply, 5–120 seconds (default: up to 10 minutes)",
      +  "maximum": 120,
      +  "minimum": 5,
      +  "type": "integer"
      +}
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the bot may use its own computer and tools, that risky actions can block on human approval, and precisely what happens when wait_seconds expires (a run_id is returned and the person is notified). That explains the destructiveHint/openWorldHint flags in practical terms and tells the caller what state is left behind after a timeout.

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?

Front-loads the core action in the first sentence, then layers continuation, timeout, and approval guidance. The parenthetical cross-references are dense but each sentence carries real information; there is no filler.

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 an open-world, non-idempotent tool with no output schema and only 40% parameter coverage, the definition supplies the missing essentials: async timeout semantics, the follow-up path via get_run, and the approval path. An agent can invoke it correctly and handle both the fast and slow outcomes without further information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40%, but the description compensates for the two non-obvious parameters: it explains conversation_id as thread continuation and wait_seconds as a blocking budget with defined timeout consequences, adding meaning beyond the schema's '5–120 seconds'. The workspace parameter and reply payload remain undocumented, so it is not fully compensating.

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 ('Send a message to a Casama bot') plus the key behavior that it blocks for a reply. This cleanly separates it from list_bots (discovery) and get_run (follow-up on an unfinished run) without the agent needing to open any schema.

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 concrete routing guidance: pass conversation_id to continue a thread, use what_needs_me/list_approvals for pending approvals, and use get_run to follow up when wait_seconds times out. It stops short of stating when not to use this tool (e.g., versus react_to_message or run_routine), so it is strong but not exhaustive.

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