Skip to main content
Glama

Ask User Question Async

ask-user-question-async

Ask the user a question with structured choices when this workflow is running on a cloud agent and no live UI session is attached. Requires workflowExecutionId. Do not call from a local IDE chat or when CHIMPHANDS_UI_ATTACHED is set — ask in the conversation instead. Put the recommended choice first. Notifies the automation's humans by email/Slack, or fans out to a live ChimpHands session when one is attached. One open question per execution.

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": {
      "workflowExecutionId": "<workflowExecutionId>",
      "question": "<question>",
      "choices": "<choices>"
    },
    "name": "ask-user-question-async"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
choicesYes
questionYes
projectIdNoThe TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.
projectApiKeyNoProject API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it.
chimphandsSessionIdNo
recommendedChoiceIdNo
workflowExecutionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectApiKey / description
      Previous value: -"QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it."New value: +"Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it."
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

With annotations only covering the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description supplies the real behavioral payload: email/Slack notification of humans, fan-out to a live ChimpHands session, and a one-open-question-per-execution limit. It stops short of explaining what an async call actually returns or whether it blocks, and the 'fans out to a live session when one is attached' line sits in mild tension with the earlier instruction not to call when a UI is attached.

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-loaded with the purpose and the hard preconditions, and every sentence carries content rather than restating the name. The notification/fan-out sentence could be tighter and its overlap with the do-not-call rule adds a moment of hesitation.

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?

There is no output schema, yet the description never says what comes back — a question id, a pending status, or nothing — which matters precisely because the tool is async and its whole value is deferred answering. For a mutation tool that notifies humans, the caller is left guessing about acknowledgement and timeout behavior.

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 only 38% across 8 parameters, so the description has to compensate and only partly does: it explains that workflowExecutionId is required and that the recommended choice should be first, which adds ordering meaning the schema does not encode. It says nothing about chimphandsSessionId, the 8-choice cap, or the shape of a choice object, leaving the undocumented remainder unexplained in both places.

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 ('Ask the user a question with structured choices') plus the exact execution context that qualifies it (cloud agent, no live UI session). An agent can tell this apart from simply asking in chat without opening the schema.

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?

Explicit when-to-use (workflow running on a cloud agent without an attached UI session) and when-not (local IDE chat, CHIMPHANDS_UI_ATTACHED set), with the named alternative being to ask in the conversation. This is the rare definition that closes the routing question outright.

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.