Skip to main content
Glama
imranbarbhuiya

Ask Question MCP App

Ask Question MCP App

An MCP App that provides an interactive UI for asking questions with various input types.

Features

  • Text Input: Free-form text area for open-ended questions

  • Single Select: Choose one option from a list

  • Multi-Select: Choose multiple options with checkboxes

  • Confirm: Simple Yes/No confirmation dialog

Related MCP server: AskMeMCP

Installation

npm install
npm run build

Usage

The MCP server exposes a single tool ask_question with the following parameters:

Parameter

Type

Required

Description

question

string

Yes

The question to display

inputType

enum

Yes

text, select, multiselect, or confirm

options

array

No

Options for select/multiselect (each with value, label, optional description)

placeholder

string

No

Placeholder text for text input

Examples

Text Input:

{
	"question": "What feature would you like to implement?",
	"inputType": "text",
	"placeholder": "Describe the feature..."
}

Single Select:

{
	"question": "Which framework do you prefer?",
	"inputType": "select",
	"options": [
		{
			"value": "react",
			"label": "React",
			"description": "A JavaScript library for building user interfaces"
		},
		{
			"value": "vue",
			"label": "Vue",
			"description": "The progressive JavaScript framework"
		},
		{
			"value": "svelte",
			"label": "Svelte",
			"description": "Cybernetically enhanced web apps"
		}
	]
}

Multi-Select:

{
	"question": "Select the features to include:",
	"inputType": "multiselect",
	"options": [
		{ "value": "auth", "label": "Authentication" },
		{ "value": "db", "label": "Database" },
		{ "value": "api", "label": "REST API" },
		{ "value": "tests", "label": "Unit Tests" }
	]
}

Confirmation:

{
	"question": "Do you want to proceed with the deployment?",
	"inputType": "confirm"
}

VS Code Configuration

Add to your .vscode/mcp.json:

{
	"servers": {
		"ask-question-mcp": {
			"type": "stdio",
			"command": "node",
			"args": ["/path/to/ask-question-mcp/dist/index.js"]
		}
	}
}

Development

npm run watch

License

MIT

Available Tools

2 tools
ask_questionA

Ask the user a question with an interactive UI. Supports text input, single/multi-select options, and yes/no confirmation dialogs. Waits for user response and returns the answer.

ParametersJSON Schema
NameRequiredDescriptionDefault
questionYesThe question to ask the user
inputTypeYesType of input: 'text' for free-form input, 'select' for single choice, 'multiselect' for multiple choices, 'confirm' for yes/no
optionsNoOptions for select/multiselect input types
placeholderNoPlaceholder text for text input
timeoutNoTimeout in milliseconds (default: 5 minutes)

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes key behaviors like waiting for user response and returning the answer, and mentions timeout with a default value. However, it lacks details on error handling, UI appearance, or what happens if the user cancels.

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 appropriately sized with two sentences that are front-loaded with core functionality. It efficiently covers the tool's purpose and key features without unnecessary details, though it could be slightly more structured by separating behavioral aspects.

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 tool's moderate complexity (5 parameters, interactive UI) and no annotations or output schema, the description is somewhat complete but has gaps. It covers the basic flow and input types but lacks details on return values, error cases, or UI constraints, which could hinder an agent's ability to use it effectively.

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%, so the schema already documents all parameters thoroughly. The description adds no specific parameter semantics beyond what the schema provides, such as explaining how options are displayed or the implications of different input types. Baseline 3 is appropriate when the schema does the heavy lifting.

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 with specific verbs ('ask', 'waits', 'returns') and resources ('user', 'question', 'interactive UI'), and distinguishes it from its sibling submit_answer by focusing on initiating queries rather than responding to them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies usage when needing user input via interactive dialogs, but does not explicitly state when to use this tool versus alternatives or provide exclusions. It mentions support for various input types, which gives some contextual guidance.

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

submit_answerC

Submit an answer to a pending question. Used internally by the question UI.

ParametersJSON Schema
NameRequiredDescriptionDefault
questionIdYesThe ID of the question being answered
answerYesThe user answer

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions internal use by the question UI, hinting at context, but lacks details on permissions, side effects, response format, or error handling. For a mutation tool with zero annotation coverage, this is insufficient behavioral disclosure.

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 brief and front-loaded with the core purpose in the first sentence. The second sentence adds context efficiently. However, it could be more structured by explicitly separating usage from behavior, but overall it avoids unnecessary verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete for a mutation tool. It lacks details on what happens after submission, error scenarios, or interaction with the sibling tool. The internal use hint is insufficient for full contextual understanding.

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%, so the schema already documents both parameters fully. The description doesn't add any meaning beyond what the schema provides, such as format examples or constraints. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('submit an answer') and target resource ('to a pending question'), providing a specific verb+resource combination. However, it doesn't differentiate from the sibling tool 'ask_question' beyond mentioning it's used internally by the question UI, which is helpful but not explicit about functional distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides minimal guidance with 'Used internally by the question UI,' which implies a specific context but doesn't offer explicit when-to-use rules, alternatives, or exclusions. No mention of when to use this versus the sibling 'ask_question' tool, leaving gaps in practical usage advice.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • First observedask_question
    • First observedsubmit_answer

TDQS

B3.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: ask_question initiates a question to the user with UI support, while submit_answer handles the response submission. There is no overlap or ambiguity between them, as one is for asking and the other for answering.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern (ask_question and submit_answer), using snake_case throughout. The naming is predictable and aligns well with their functions, with no deviations or mixed conventions.

Tool Count2/5

With only 2 tools, the set feels thin for a server named 'Ask Question MCP App', which suggests a broader interactive questioning domain. This minimal count may limit functionality, as agents might expect more features like managing questions or handling different dialog types beyond the basic ask-answer cycle.

Completeness2/5

The tool surface is significantly incomplete for an interactive questioning domain. While ask_question and submit_answer cover a basic ask-answer flow, there are notable gaps such as tools for listing pending questions, canceling questions, or handling different UI modes beyond the described ones. This could lead to agent failures in more complex scenarios.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to request human input through a web interface, allowing them to pause execution and wait for responses via interactive tools like single questions, multiple choice selections, hypothesis challenges, and decision workflows.
    5 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to request human input through a web interface during execution. Supports single questions, multiple choice selections, hypothesis challenges, and decision workflows for human-in-the-loop interactions.
    5 npm
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to request human input through interactive GUI dialogs with quiz-style questions, supporting multiple choice and free-form responses for clarification, decisions, and knowledge extraction.
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to ask clarification questions and receive structured user input through a Human-in-the-Loop interface.
    1
    MIT

Appeared in Searches