Skip to main content
Glama

toggle_checkbox

Toggles the checkbox matched by a CSS selector in a running Chrome/Chromium page to change its checked state.

Instructions

Toggle checkbox (alias)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.0

TDQS

D1.3/5.0
Behavior1/5

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

With no annotations provided, the description carries the full burden, and it discloses nothing: not the mutation semantics of toggling, not whether the element must be visible/in-frame, not what happens for disabled checkboxes, and not the return value. It is a bare label.

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

Conciseness2/5

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

It is short and front-loaded, but the brevity reflects under-specification rather than efficiency. "(alias)" is noise that consumes the only informative slot.

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

Completeness1/5

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

A mutating interaction tool with no annotations, no output schema, undocumented parameters, and a crowded set of competing siblings gets essentially no orientation from this description. It is not complete enough for an agent to call it correctly.

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

Parameters1/5

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

Schema description coverage is 0% for the single required selector parameter, so the description must compensate and adds nothing — no syntax (CSS/XPath/text), no required/uniqueness semantics. An agent cannot know what to pass.

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

Purpose2/5

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

"Toggle checkbox" essentially restates the tool name, and the only added word, "(alias)", does not clarify what resource or effect is involved. It never distinguishes itself from siblings like checkbox, set_checked, or check, which an agent must choose between.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 versus checkbox or set_checked, nor any prerequisite or context. The word "alias" hints at duplication with a sibling but actively muddies rather than directs selection.

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