Skip to main content
Glama

check

Set a checkbox, radio button, or switch to checked or unchecked, clicking only when the state actually needs to change. Use it to toggle form controls by element ref, selector, or visible label.

Instructions

Set a checkbox, radio or switch to checked/unchecked (clicks only if it needs to change).

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": {
      "checked": "<checked>"
    },
    "name": "check"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from snapshot/find, e.g. "e12" (preferred).
tabIdNoTab ID from tabs_list. Omit for the active tab.
checkedYes
elementNoVisible text or label of the element, e.g. "Sign in" (fallback).
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.
selectorNoCSS selector (fallback).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a genuinely useful behavioral trait — idempotent, conditional clicking — but says nothing about failure modes when the target is not a checkable element, how radio groups are handled, or whether the action waits for the state to settle.

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 action, targets, and the key conditional-click behavior all appear before any reader could lose interest.

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?

Six parameters with a clear required one and a documented fallback chain, plus no output schema to explain. The description covers the happy path but leaves error behavior and radio-group/scoping semantics unaddressed, which matters for an element-targeting tool with three different locator strategies.

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 83%, so ref, tabId, element, profile and selector are already documented as preferred/fallback options. The description adds only the meaning of the checked flag implicitly ('checked/unchecked'), which the boolean name already conveys. Baseline 3 applies.

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 (set) and the exact resources it targets (checkbox, radio, switch) with the resulting state (checked/unchecked). The parenthetical 'clicks only if it needs to change' implicitly separates it from the generic click sibling, though no sibling is named.

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 phrase 'clicks only if it needs to change' implies this is the right tool when you want a guaranteed end state rather than a blind toggle, which hints at when to prefer it over click. There is no explicit when-not guidance or named alternative for plain buttons or dropdowns (select_option).

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