Skip to main content
Glama
Browser MCP Server

Browser MCP Server

check_checkbox

Check or uncheck a checkbox or radio button by selector, optionally specifying the page and desired state.

Instructions

Check/uncheck a checkbox or radio.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "selector": "<selector>"
    },
    "name": "check_checkbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNo
checkedNotrue=check, false=uncheck (default: true)
selectorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it is nearly silent: it does not say whether native change/click events fire, whether the element is scrolled into view, how radio buttons behave when unchecking is impossible, or what error occurs if the selector matches nothing. Only the check/uncheck duality is disclosed, which duplicates the parameter name.

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?

A single short sentence with the action front-loaded and zero padding. It is efficient, though its brevity is a symptom of under-specification rather than deliberate distillation.

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

Completeness2/5

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

For a mutation-style DOM interaction with three parameters, no annotations, no output schema, and low schema coverage, the definition leaves an agent guessing about selector format, default page targeting, event side effects, and failure modes. Substantially more context is needed.

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

Parameters2/5

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

With schema description coverage at 33%, only 'checked' is documented (in the schema itself, not the description). The description adds no meaning for 'selector' (CSS? XPath? text?) or the optional 'pageId' (which page/tab defaults), so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair ('Check/uncheck') and resource ('checkbox or radio'), so the agent knows exactly what action is performed. It does not distinguish itself from siblings like click or fill_form, which overlap in effect, but the purpose itself is unambiguous.

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?

There is no guidance on when to use this rather than click/click_element/fill_form, nor any mention of prerequisites such as the element being visible, in the active frame, or needing a valid CSS selector. The agent must infer all routing and preconditions.

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