Skip to main content
Glama

toggle_checkbox

Toggles a Boolean checkbox in 1C managed forms using a native value-free edit activation. Opens the genuine form, flips the target Boolean, and fires its change event without requiring ASCII read-back.

Instructions

Toggle a Boolean checkbox (флаг) natively. A checkbox commits with NO value buffer: the wire only ACTIVATES the EditField (the value-free e0 4b 55 toggle, identical for set & clear) and the server flips the Boolean + fires ПриИзменении — the EditField twin of switch_page. Opens the form (replays the genuine setup from capture, which toggled base_field) and sends the genuine toggle re-targeted to target_field (the EditField leaf). Returns {base_field, target_field, accepted}. (A toggle has no ASCII value read-back — the Boolean reads as Да/Нет; confirm via a side-effect field or capture_screenshot.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo127.0.0.1
portNo
captureNogenuine-card90-20260617/traffic-selfcontained
base_fieldNoPF_CHECKBOX_FALSE
target_fieldYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 reasonably well: it discloses that a checkbox commits with NO value buffer, the wire only activates EditField, and the server flips the Boolean and fires ПриИзменении. It also warns that there is no ASCII read-back (Boolean reads as Да/Нет) and advises confirming via a side-effect field or capture_screenshot. This is substantive behavioral context. It avoids claiming schema-adjacent things. Minor gap: doesn't mention auth/prerequisites or failure modes.

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 description is dense and jargon-heavy, mixing protocol hex bytes, Russian identifiers, and nested parentheticals. It is not front-loaded: the most actionable detail (no value buffer) is buried in the second sentence. A reader must parse multiple technical asides to extract the core behavior, and some phrasing is redundant.

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?

An output schema exists, so return values need not be explained (and indeed the wire fields are summarized). The description covers the commit mechanism and read-back caveat, but for a 5-parameter tool with 0% schema coverage, it omits host, port, and full parameter semantics, leaving the definition incomplete for correct invocation.

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

Parameters2/5

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

Schema coverage is 0% and there are 5 parameters, so the description must compensate. It only explains two of them: 'capture' (replays the genuine setup, which toggled 'base_field') and 'target_field' (the EditField leaf). It is silent on host, port, and the semantics of base_field beyond the replay reference. Three of five parameters remain undocumented in both schema and description.

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 description states a specific verb+resource ('Toggle a Boolean checkbox natively') and distinguishes itself from siblings by identifying itself as 'the EditField twin of switch_page' and contrasting with value-buffering tools. The core purpose (flipping a Boolean field) is clear despite the dense protocol jargon.

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?

No explicit when-to-use or when-not-to-use guidance against alternatives. It references switch_page and capture as related concepts but never states conditions for choosing toggle_checkbox over write_form_value, set_choice, or switch_page. The agent must infer usage from the technical mechanism description.

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