Skip to main content
Glama

interactive_feedback

Collect user feedback through a web interface with custom questions and optional predefined choices to guide AI agent actions.

Instructions

MCP 工具:请求用户通过 Web UI 提供交互式反馈

参数

message : str, required 向用户显示的问题或消息(Markdown 格式支持) 最大长度: 10000 字符(超出部分自动截断) predefined_options : Optional[list], optional 预定义选项列表,用户可多选或单选 - 每个选项最大长度: 500 字符 - 非字符串选项会被自动过滤 - None 或空列表表示无预定义选项

返回

list MCP 标准 Content 对象列表,包含用户反馈: - TextContent: {"type": "text", "text": str} 包含选项选择和用户输入的文本 - ImageContent: {"type": "image", "data": str, "mimeType": str} 用户上传的图片(base64 编码)

示例

简单文本反馈: interactive_feedback(message="确认删除文件吗?")

带选项的反馈: interactive_feedback( message="选择代码风格:", predefined_options=["Google", "PEP8", "Airbnb"] )

复杂问题: interactive_feedback( message="""请审查以下更改: 1. 重构了 ServiceManager 类 2. 添加了多任务支持 3. 优化了通知系统

请选择操作:""", predefined_options=["Approve", "Request Changes", "Reject"] )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe specific question for the user
predefined_optionsNoPredefined options for the user to choose from (optional)
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/XIADENGMA/ai-intervention-agent'

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