Skip to main content
Glama

set_choice

Select a radio variant on a 1C managed form during QA automation, targeting a field and returning whether the choice was accepted.

Instructions

Set a radio (Переключатель) to variant natively. A choice ACTIVATES the EditField and carries the selected variant as a length-prefixed string (…EditField[NAME] … e0 4b 53 <0x9a><len><variant>); variant is the value NAME (e.g. PF_CHOICE_C). Opens the form (replays the genuine setup from capture, which set base_field to captured_variant) and sends the genuine choose block re-targeted: the EditField leaf to target_field (defaults to base_field) + the variant string to variant (same-length swap). Returns {base_field, target_field, variant, accepted}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo127.0.0.1
portNo
captureNogenuine-card90-choice-20260617/traffic-selfcontained
variantYes
base_fieldNoPF_CHOICE_MODE
target_fieldNo
captured_variantNoPF_CHOICE_A

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose substantial behavior: it ACTIVATES the EditField, carries a length-prefixed variant string, opens/replays the form from the capture, re-targets the choose block to target_field, and returns {base_field, target_field, variant, accepted}. That is unusually rich behavioral detail. It does not state error or failure semantics, which keeps it short of a 5.

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?

The first sentence is front-loaded and clear, but the remainder is a single run-on paragraph mixing hex byte sequences, backtick jargon, and protocol mechanics. The information is high-density but not structured for scanning, and the hex dump and re-targeting aside add reading cost.

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?

An output schema exists, so return values need not be fully explained, though the description helpfully names them. For a low-level protocol-manipulation tool with no annotations, it supplies enough behavioral and parameter context to invoke it correctly; only the networking params and failure behavior are left implicit.

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 0% across 7 params, so the description must compensate. It adds real meaning for variant (the value NAME, e.g. PF_CHOICE_C), target_field (defaults to base_field), base_field, captured_variant, and capture. But host and port are never addressed, and the explanations are buried in bit-level jargon, leaving gaps at low coverage.

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 opening sentence gives a specific verb and resource: 'Set a radio (Переключатель) to ``variant`` natively.' That is distinguishable from toggle_checkbox, choose_from_list, and choose_from_menu by resource type. However, the rest of the sentence is dense internal jargon that obscures rather than sharpens what the tool does.

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 explicit when-to-use guidance and no mention of alternatives among the many sibling tools (toggle_checkbox, choose_from_list, choose_from_menu). The preconditions ('Opens the form, replays the genuine setup from capture') are stated mechanically but never framed as conditions for choosing this tool.

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