Skip to main content
Glama

Ask the current user

ask_user

Ask the user of this session one or more structured questions. Clients that display MCP Apps or support elicitation show them as a form. Nothing is stored: the answers stay in the conversation. With request_id, the questions are those of a request someone sent the user (see inbox), and the answers are sent with the respond tool.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ask_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoThe question, as the user will read it. Required unless request_id is given.
fieldsNoForm fields to fill in. If omitted, the user answers with free text.
contextNoWhy the answer is needed. Shown to the user.
request_idNoA request waiting for the user's answer. Its title, context and fields replace the ones given here.

Output Schema

NameRequiredDescriptionDefault
titleYes
fieldsYes
answersNo
contextYes
form_idYes
outcomeNo
request_idNo
request_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes further by noting that rendering depends on client support for MCP Apps or elicitation, that nothing is persisted and answers stay in the conversation, and how the request_id variant routes answers through respond.

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?

Three tight sentences, front-loaded with what the tool does, followed by client-rendering behavior and the request_id variant. No redundant restatement of the title or schema.

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 a zero-required-parameter interactive tool with full schema coverage and an output schema, the description covers the essential unknowns: client rendering fallback, non-persistence, and how the request_id flow connects to inbox and respond.

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 to request_id by saying the questions come from a request someone sent (see inbox) and that answers go back via respond, which the schema alone does not establish.

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 of this session one or more structured questions') and pins the scope to the current session, which separates it from ask_person or request_approval without opening either 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 clear context of use and names the request_id path, pointing to inbox for the originating request and respond for delivering answers. It stops short of explicit exclusions (e.g. when to prefer request_approval or a free-text ask), so it is clear but not fully disambiguating.

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.

Resources