Skip to main content
Glama

Check

browser_check

Check a checkbox, radio button, or switch in a browser page, selected by element ref, role, label, or text, with optional scoped container and postcondition expectations.

Instructions

Check a checkbox, radio or switch.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
nthNo
refNoElement ref from snapshot (preferred)
nameNo
roleNo
textNo
exactNo
labelNo
expectNoExpectSpec postconditions
pageIdNo
testIdNo
withinNoScope to a unique container (ref, role+name, label, testId or CSS selector)
sessionNo
selectorNoCSS (last resort)
snapshotNoPage state returned after the action: diff (default), full, none
placeholderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say whether the element is toggled or forced to checked, what happens if the element is already checked or disabled, or that page state is returned per the snapshot parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of padding, so there is no wasted wording. However, the brevity comes at the cost of under-specification rather than serving efficiency, leaving a complex 15-parameter tool described in seven words.

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 tool with 15 parameters, nested scoping objects, an expect postconditions array, and no output schema, the description is far too thin. Essential operational context, such as how elements are resolved or what the returned page state looks like, is absent.

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 15 parameters and only 33% schema description coverage, the description carries a heavy burden but adds no parameter meaning at all. The loosely related element types do not explain ref versus selector precedence, the within scoping object, nth indexing, or the expect postconditions array.

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?

The description uses a specific verb ('check') and names the affected element types (checkbox, radio, switch), which distinguishes the intent from a plain click well enough for an agent to recognize a state-setting action. It falls short of naming a sibling alternative such as browser_click explicitly, so the differentiation is implicit rather than stated.

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 prefer this over browser_click, browser_select_option or browser_fill, nor any note about prerequisites such as obtaining a ref from a snapshot. The agent must infer the appropriate context entirely from the tool name and the one-line description.

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