Skip to main content
Glama

selectFromGroup

Select one or more options from radio or checkbox groups by name. Radios pick a single value; checkboxes support set, add, remove, or toggle modes.

Instructions

Select option(s) from radio or checkbox group by name attribute. For radio groups: selects one option. For checkbox groups: supports multi-select with modes (set/add/remove/toggle). Use 'name' to identify the group, and 'value'/'text' to select by value or label. See groups in analyzePage output for available options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byNoMatch by value, label text, or auto-detect (default: 'auto')
modeNoFor checkboxes: 'set' (replace all), 'add', 'remove', 'toggle' (default: 'set')
nameYesName attribute of the radio/checkbox group (e.g., 'size', 'topping')
textNoLabel text to match (alternative to value)
textsNoMultiple label texts to match (for checkbox group)
valueNoSingle value to select (for radio or single checkbox)
valuesNoMultiple values to select (for checkbox group)
Behavior4/5

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

With no annotations provided, the description takes on the full burden of behavioral disclosure. It explicitly differentiates radio (single-select) from checkbox (multi-select with modes), and references analyzePage for option availability. It does not cover error handling or return values, but the core interactive behavior is clearly explained.

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?

The description is three sentences, front-loaded with the primary action, and contains no fluff. Every sentence adds meaningful context: group selection behavior, mode support, and reference to analyzePage for options.

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?

Given the tool has 7 parameters, 2 enums, and no output schema, the description covers the main behavior, group types, selection modes, and points to analyzePage for available options. It does not detail error handling or return values, but it is sufficient for an agent to invoke the tool in most scenarios.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by explicitly mentioning 'name', 'value', and 'text' parameters and links to analyzePage for where options come from. This helps the agent understand source data for parameters without reading the schema alone.

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 clearly states the verb 'select' and the resource 'radio or checkbox group' with a specific scope of 'by name attribute'. It distinguishes itself from sibling tools like selectOption by explicitly naming the group type, making its purpose unambiguous.

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

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: it is for radio/checkbox groups, explains radio vs. checkbox behavior, and directs users to analyzePage output for available options, implying a prerequisite. However, it does not explicitly name alternatives or state when not to use it, though the group type implicitly excludes dropdowns.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/docentovich/chrometools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server