Skip to main content
Glama
LumabyteCo

Clarifyprompt-MCP

clarify_with_user

Resolves ambiguous draft prompts by generating 1–3 targeted clarifying questions with suggested answers. Skips questions when confident, or accepts a force flag to always produce questions.

Instructions

Given an ambiguous draft prompt, return 1–3 targeted clarifying questions instead of guessing. Each question carries a suggested_answer you can accept verbatim to keep moving, an optional 2–4 quick-pick options list, and a dimension tag (audience/scope/format/length/tone/constraints/goal/platform). When the analyzer is highly confident AND the prompt is non-trivially long, the tool short-circuits with clarificationNeeded: false so callers can pipeline this in front of optimize_prompt without paying a latency tax on every call. Pass force: true to always generate questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe draft prompt the user is unsure about.
categoryNoCategory hint. Will skip questions about category/platform if you pass it.
cwdNoWorking directory to pull workspace rules (CLAUDE.md / AGENTS.md / .cursorrules) from. Defaults to server cwd.
file_pathNoActive file path — informs the clarifier's defaults.
file_languageNoExplicit language override for the active file.
file_excerptNoShort excerpt of the active file to ground the questions.
user_localeNo
forceNoAlways generate questions even when the analyzer is highly confident. Useful for UIs that want to surface clarification on every call.
max_questionsNoCap on returned questions. Default 3, hard max 5.
Behavior5/5

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

With no annotations provided, the description fully carries the burden of behavioral disclosure. It explains the short-circuit behavior (clarificationNeeded: false), the structure of each question (suggested_answer, options, dimension), and the effect of the force flag. It also notes that passing a category skips questions about category/platform. This is comprehensive for a non-destructive tool.

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?

The description is thorough but not overly verbose. It front-loads the core purpose and then expands on behavior and structure. Every sentence contributes useful information. Could be slightly more compact, but it remains efficient.

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?

Given 9 parameters (1 required), high schema coverage, and no output schema, the description provides complete context. It explains the tool's behavior, response format, short-circuit logic, and ties to sibling tools (optimize_prompt). No critical gaps are present.

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 89%, so the schema already documents most parameters. The description adds value by explaining the structure of the generated questions (suggested_answer, options, dimension) and the effect of force: true. It also clarifies how category can skip certain questions. These details enhance understanding beyond the schema.

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: 'Given an ambiguous draft prompt, return 1–3 targeted clarifying questions instead of guessing.' It specifies the verb (return), resource (clarifying questions), and distinguishes from alternative behaviors (short-circuiting). This is specific and unambiguous.

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?

The description provides explicit when-to-use and when-not-to-use guidance: it explains the short-circuit behavior when the analyzer is highly confident and the prompt is non-trivially long, and mentions pipelining in front of optimize_prompt. It also describes the force parameter for overriding the short-circuit. This clearly differentiates usage contexts.

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/LumabyteCo/clarifyprompt-mcp'

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