Skip to main content
Glama

ask_operator

Send a question to a human operator via Telegram and wait for their reply to obtain decisions, approvals, or clarifications when you can't infer them from the conversation.

Instructions

Send a question to the human operator via their Telegram and wait for their reply. Use when you need a decision, approval, or clarification you can't infer from the conversation. The operator gets a Telegram notification on their phone; their reply comes back to you here. Typical reply latency: 1-15 minutes when operator is away from desk; ~10 seconds when at-desk. Cost: $0.005 above the daily free tier (5 free/day). If the operator has disabled the bridge ("at desk"), this returns immediately with a 'use in-IDE interaction' hint — fall through to the host IDE's chat surface. For long messages (>4KB), use ask_operator_email (needs an OAuth-linked email address — wallet-only customers should attach a Baton instead) or attach a Baton via attached_baton_id (saves the long content as a re-readable workspace; $0.01). ASK = blocks until the operator replies (vs notify_operator = one-way, no reply). Example: ask_operator {message:'Deploy to prod now?'}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
max_wait_secondsNo
attached_baton_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so thoroughly: it discloses blocking behavior, typical latency ranges, cost and free-tier limits, immediate fallback behavior when the bridge is disabled, and the fact that replies return to the agent in the conversation.

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?

The description is longer than typical but every sentence adds a distinct operational detail: how to trigger, when to use, latency, cost, fallback, alternatives, and an example. Information is front-loaded with the core action and selection criteria.

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?

Given three parameters, no annotations, and no output schema, the description covers nearly everything an agent needs to invoke correctly: input format, blocking semantics, timeout-adjacent latency expectations, fallback behavior, alternatives, and example usage. No critical operational context is missing.

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 0%, so the description should compensate. It does clarify message via an example and attached_baton_id as a way to save long content, but max_wait_seconds is never explained even though it directly relates to blocking/wait behavior. This leaves a meaningful gap for one of the three parameters.

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?

The description opens with a specific verb and resource: 'Send a question to the human operator via their Telegram and wait for their reply.' It clearly differentiates itself from sibling tools by contrasting ASK (blocking) with notify_operator (one-way) and referencing ask_operator_email as a long-message alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: 'when you need a decision, approval, or clarification you can't infer from the conversation.' It also gives concrete alternative routes for long messages, operator-disabled bridge fallback, and one-way notification usage, leaving little ambiguity for an agent.

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