Skip to main content
Glama
ChristofMilius

mcp-agent-playwright

browser_type

Replace the contents of a text field with typed input, optionally pressing Enter to submit.

Instructions

Type text into an input field, replacing its current content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to enter.
enterNoPress Enter afterwards.
targetYesSnapshot ref or locator of a text field.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add one useful behavioral trait—replacing current content—but it doesn't mention focus behavior, waiting, or whether the action can fail for non-visible fields. This is adequate but not rich.

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?

A single, front-loaded sentence with no filler. The key behavior is stated before any detail, and every word earns its place.

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

Completeness4/5

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

For a simple action with a complete input schema and an output schema present, the description is nearly sufficient: it names the action, the target, and the replacement behavior. The only real gap is the absence of sibling-routing guidance.

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 parameters (text, enter, target) are already meaningfully documented. The description adds no extra parameter semantics beyond saying the text replaces existing content, so the baseline of 3 applies.

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 a specific verb ('Type'), a resource ('input field'), and a defining behavior ('replacing its current content'). This clearly distinguishes browser_type from siblings like browser_press_key or browser_click.

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 given about when to prefer this tool over siblings such as browser_press_key or browser_evaluate, and no exclusions or alternatives are mentioned. The usage context is only implied by the action itself.

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