Skip to main content
Glama

Ask several sessions one question

ask

Sends one question to up to 16 sessions or a channel at once, waits for their replies, and returns all answers together with who failed to respond.

Instructions

Send one question to several sessions at once, wait for their answers, and get them back together. to lists session names or refs, and "#channel" names to ask a channel's subscribers; at most 16 sessions. Each message names the answer tool and the ask id. The call returns when all have answered or after timeout_seconds, and says who did not answer. With pick "best" the smart-routing model, if your user turned it on, also says which reply answers best and how likely each is; that is its opinion, every reply is still shown, and the question and replies are sent to that model. A Claude session cannot ask Claude sessions this way: they are listed so you can use SendMessage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesSession names or refs from list_peers, and "#channel" names; at most 16 sessions in all
pickNoSet "best" to also get the smart-routing model's opinion on which reply answers best, with probabilities. It sends the question and the replies to that model.
questionYesThe question, in plain text. Include everything the others need; they cannot see this conversation.
timeout_secondsNoHow long to wait for the answers, at most 280 seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses blocking/wait semantics, the timeout cap, partial-result behavior ('says who did not answer'), and a privacy-relevant side effect ('the question and replies are sent to that model'). It does not cover permissions, rate limits, or whether the reply is delivered as a message.

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 action and stays dense with facts per sentence, but the pick='best' explanation is restated from the schema and the Claude-session caveat arrives as a trailing aside, adding length without new routing value.

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?

No output schema exists, so the description must explain returns, and it does: answers returned together, non-responders identified, and the optional best-reply opinion with probabilities plus the caveat that every reply is still shown. An agent has enough to invoke and interpret results correctly.

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 100%, so the baseline is 3, but the description adds meaning the schema lacks: that '#channel' targets a channel's subscribers and that refs come from list_peers, plus the consequence of pick='best'. The rest largely restates schema text.

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+resource with scope: 'Send one question to several sessions at once, wait for their answers, and get them back together.' It also distinguishes itself from siblings by naming the one case it does not cover (Claude-to-Claude) and routing that case to SendMessage.

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 clear conditions for use (one question fanned out to multiple sessions, max 16, blocking with a timeout) and an explicit when-not with an alternative ('A Claude session cannot ask Claude sessions this way... use SendMessage'). It stops short of contrasting against broadcast, which an agent might otherwise consider for a similar fan-out.

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