Skip to main content
Glama
DanEvenSegler

Extended Playwright MCP Server

browser_toggle_checkbox

Destructive

Set a checkbox or radio button to checked or unchecked deterministically using a CSS selector or snapshot ID, enabling reliable web automation.

Instructions

Checks or unchecks a checkbox/radio button element deterministically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesCheckbox element reference (snapshot ID) or CSS selector.
checkedYesWhether the checkbox should be checked (true) or unchecked (false).
Behavior3/5

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

Annotations already indicate a write operation with destructive potential (readOnlyHint=false, destructiveHint=true). The description adds the trait 'deterministically' suggesting it sets the state directly, but does not elaborate on event firing or side effects. No contradiction with annotations.

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?

Single sentence, concise, front-loaded with action and target. No wasted words.

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 simple 2-parameter tool and existing annotations, the description covers the core action but omits return behavior and any prerequisites. Since there is no output schema, the agent might need to know if a result is returned. Overall adequate but not rich.

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 covers 100% of parameters with descriptions for target and checked. The tool description adds no additional semantic detail to the parameters beyond repeating 'checkbox/radio button'.

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 uses the specific verb 'Checks or unchecks' with resource 'checkbox/radio button element', clearly distinguishing it from sibling tools like browser_click or browser_select_option. It is specific and unambiguous.

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 does not explicitly state when to use this tool over alternatives like browser_click, nor does it mention preconditions or exclusions. The word 'deterministically' subtly hints at superiority over clicking but no direct guidance is given.

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/DanEvenSegler/extended-playwright-mcp'

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