Skip to main content
Glama

Ask a human

ask_user

Ask the human a question and wait for their answer. Offer multiple-choice options and/or let them type a free-text reply, or pass items (rows to pick from) and input_schema (the shape of the answer) to get a real form: a table with checkboxes and per-row fields instead of a request to type JSON. Returns the answer as text, or as validated JSON when input_schema was given.

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": {
      "question": "<question>"
    },
    "name": "ask_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNo
contextNo
optionsNo
questionYes
input_schemaNo
allow_free_textNo
timeout_secondsNo
approval_workflowNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, it discloses the critical blocking trait ('wait for their answer') and the return contract ('text, or as validated JSON when input_schema was given'). It does not explain what happens on timeout or how approval_workflow changes behavior, which are meaningful gaps for a call that can block.

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?

Two sentences, front-loaded with the core action and return contract, with no filler. The second sentence is dense and slightly convoluted in its 'table with checkboxes and per-row fields instead of a request to type JSON' clause, but every part conveys information.

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?

An output schema exists, so return-value detail is optional, and the description still covers the text-vs-JSON distinction well. However, for an 8-parameter, potentially long-blocking human-interaction tool, the absence of any mention of timeout_seconds or approval_workflow leaves the agent unable to reason about blocking duration or escalation.

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% across 8 parameters, so the description must carry the load. It adds real meaning for question, options, allow_free_text, items, and input_schema, but leaves context, timeout_seconds, and approval_workflow entirely unexplained in both schema and prose.

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: 'Ask the human a question and wait for their answer.' It then enumerates the three interaction modes (multiple-choice, free text, structured form), so an agent knows exactly what the tool produces 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 Guidelines4/5

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

It gives clear mode-selection guidance, notably 'pass items ... and input_schema ... to get a real form ... instead of a request to type JSON,' which tells the agent when the heavier form mode is warranted. It stops short of naming alternatives or exclusions, e.g. when to use request_approval instead, so it is clear context without routing.

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.