Skip to main content
Glama
HyperClockUp

DrissionPageMCPServer_Modified

by HyperClockUp

input_text

Enter text into web input fields using precise CSS selectors, with options to clear existing content first for accurate automation.

Instructions

在输入框中输入文本(智能优化版)

        ⚠️ 重要提示:使用此工具前,请务必遵循标准化工作流程:
        1. 📸 先使用 take_screenshot() 确认输入框存在且可见
        2. 🔍 使用 find_elements() 验证输入框的选择器
        3. 🎯 基于准确的DOM信息构建选择器
        
        🎯 输入框选择器优先级:
        - ID选择器:#input-id (最优先)
        - name属性:[name="username"]
        - CSS类选择器:.form-input
        - XPath选择器://input[@type="text"]
        
        Args:
            selector: 输入框选择器(必须基于实际DOM结构,禁止猜测)
            text: 要输入的文本内容
            clear_first: 是否先清空输入框(推荐True避免内容叠加)
            
        Returns:
            str: 输入操作结果和反馈信息
            
        💡 最佳实践示例:
        - 正确:先 find_elements("input[type='text']") 确认输入框,再输入文本
        - 错误:直接对未确认的选择器输入文本
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYes
textYes
clear_firstNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/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 effectively describes the tool's operational behavior including the selection strategy priority, the clear_first parameter's effect on content handling, and workflow dependencies. It doesn't cover rate limits or error handling, but provides substantial behavioral context beyond basic functionality.

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 well-structured with clear sections (warning, workflow steps, selector priority, parameters, returns, best practices) and uses visual markers effectively. While comprehensive, some sections could be more concise, but every sentence adds value for tool selection and invocation.

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 the tool's complexity (DOM interaction with selector validation), no annotations, and 0% schema coverage, the description provides complete context. It covers purpose, prerequisites, parameter semantics, workflow integration, and best practices. The presence of an output schema means return values don't need explanation in the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing detailed semantic explanations for all three parameters. It explains selector requirements ('必须基于实际DOM结构,禁止猜测'), text parameter purpose, and clear_first behavior with recommendations. The description adds significant value beyond the bare 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 specific action ('输入文本' - input text) and the target resource ('输入框' - input box), with the '智能优化版' (smart optimized version) qualifier distinguishing it from basic input operations. It explicitly differentiates from siblings like click_element and find_elements by focusing on text input functionality.

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, step-by-step guidance on when to use this tool ('先使用 take_screenshot() 确认输入框存在且可见', '使用 find_elements() 验证输入框的选择器'), clear prerequisites, and best practice examples showing correct vs incorrect usage patterns. It integrates with sibling tools in a workflow context.

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/HyperClockUp/DrissionPageMCPServer_Modified'

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