Skip to main content
Glama

ask_user

Read-onlyIdempotent

Prompt the user for more information when the AI needs clarification or encounters uncertainty. Supports single or multiple questions, options, and importance markers.

Instructions

当 AI 需要更多信息、遇到不确定因素时使用。向用户提问工具,AI 可主动向用户提问;支持单个或多个问题、提供选项、标注重要性;可在任何时候使用

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo为什么要问这个问题(提问原因)
contextNo问题的背景信息或上下文
questionNo单个问题(如'你希望支持哪些支付方式?')
questionsNo多个问题列表,每个问题可包含 question、context、options、required 字段
Behavior4/5

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

Annotations (readOnlyHint=true, idempotentHint=true) are consistent with asking a user. The description adds behavioral context beyond annotations by noting support for multiple questions, options, and importance, and that it can be used at any time. No contradictions with annotations.

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 concise and front-loaded with the purpose. Every sentence adds value, and there is no redundant or wasted text. It effectively communicates the tool's functionality in a compact form.

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?

Given the simple input schema and lack of output schema, the description covers when to use and what it does. However, it does not explain the expected response format or behavior on errors, which could be helpful for a tool that interacts with users.

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 100% with parameter-level descriptions. The tool description provides an overview of parameter capabilities but does not add significant semantic value beyond what the schema already provides. Baseline score of 3 applies.

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 clearly states the tool's purpose: to ask users questions when the AI needs more information or encounters uncertainty. It specifies that it supports single/multiple questions, options, and importance marking, which distinguishes it from sibling tools like search_memory or interview.

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?

The description provides explicit when-to-use guidance: '当 AI 需要更多信息、遇到不确定因素时使用' (use when AI needs more info or uncertainty). It also notes it can be used at any time. However, it does not explicitly state when not to use or mention alternatives, which would improve clarity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mybolide/mcp-probe-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server