Skip to main content
Glama
ma-pony

mcp-playwright

by ma-pony

fill_input

Fills a web input field with provided text using a CSS selector or XPath. Enables automated form entry in browser automation tasks.

Instructions

填写输入框

Args:
    selector: CSS选择器或XPath
    text: 要输入的文本
    timeout: 超时时间(毫秒)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYes
textYes
timeoutNo
Behavior2/5

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

The description does not disclose behavioral traits beyond the parameter list. For instance, it does not specify if the tool clears existing text, triggers events, or waits for the element. With no annotations, this is a significant gap.

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 extremely brief with zero waste: a one-line title and a bullet list of args. Every sentence is necessary and front-loaded.

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 no output schema and no annotations, the description covers basic usage but omits return value, edge cases, and version of clearing behavior. It is adequate but not thorough for a 3-parameter tool.

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?

Despite 0% schema coverage, the description adds meaning: 'CSS选择器或XPath' clarifies selector type, '要输入的文本' explains text, and '超时时间(毫秒)' gives timeout unit. This compensates for the schema lack of descriptions.

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 states '填写输入框' (fill input box), a specific verb-resource pair that clearly distinguishes from siblings like click_element or get_text_content. It unambiguously indicates the tool fills an input field.

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?

No guidance is provided on when to use this tool versus alternatives (e.g., click_element for focusing, execute_javascript for custom input). No exclusions or prerequisites are mentioned.

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/ma-pony/mcp-playwright'

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