Skip to main content
Glama

check

Toggles a checkbox or radio button by its visible label. If the real input is hidden, clicks the visible text instead, then returns the new state and any following content.

Instructions

Check or uncheck a checkbox or a radio button found by its label. When the real input is hidden, as in chip-style choices, it clicks the visible text instead, like a person would. Returns the new state and anything that followed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYesVisible label of the checkbox or the radio button, such as I agree to the terms. Part of the label is enough.
checkedNotrue to check it, false to uncheck it. Defaults to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.6
    • addedInput schema / properties / checked / description
      Added value: +"true to check it, false to uncheck it. Defaults to true."
    • addedInput schema / properties / label / description
      Added value: +"Visible label of the checkbox or the radio button, such as I agree to the terms. Part of the label is enough."
  2. First observedv0.4.5

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. It discloses the hidden-input fallback behavior ('clicks the visible text instead, like a person would') and states that the tool returns the new state and subsequent side effects. This goes meaningfully beyond a bare description.

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?

Three sentences, each earning its place: the core operation, the hidden-input behavior, and the return value. The most important scoping information is front-loaded, with no filler or repetition.

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 low-complexity tool with two parameters and no output schema, the description covers how matching works, what interaction occurs, and what is returned. The phrase 'anything that followed' is slightly vague, and failure/not-found behavior is omitted, but these are minor gaps.

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 baseline is 3. The description reinforces that matching is by visible label, but it does not add substantive detail about the parameters beyond what the schema already documents.

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 ('check or uncheck') with a specific resource ('checkbox or radio button found by its label'), and distinguishes itself from generic interaction by noting how hidden inputs are handled. This clearly separates it from siblings like click, fill, and select.

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 implies the right context: use this when the target is a checkbox or radio button identified by visible label. However, it never explicitly says when not to use it or names alternatives like click or select, so the routing guidance is only implicit.

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