Skip to main content
Glama
apiwat59
by apiwat59

Sa Gui

sa_gui

Provide generic access to any SAStudio4 control by name when no dedicated setting tool exists; use action=menu to open menus for menu-only controls.

Instructions

Generic access to any SAStudio4 control by name, for settings without a dedicated tool. Menu controls are only reachable while their right-hand menu page is shown: open it with action=menu.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoValue for set (e.g. '10dB', '3MHz'), option for select, text for text
actionYeslist | menu | click | set | select | options | value | text
targetNoControl objectName or caption (from action=list), or menu name (Frequency, Span, Amplitude, BW, Sweep, Detect, Meas, Trigger, Marker...) for action=menu

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses one non-obvious behavioral trait, the menu-page visibility dependency and its two-step workflow, which the schema does not convey. However, it says nothing about connection state requirements, error behavior when a control name is wrong, or the side effects of the write-oriented actions (click/set/select).

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?

Two sentences with essentially zero waste; the fallback role is front-loaded, and the menu prerequisite follows immediately. No restating of the name or title.

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 no explanation, and the schema fully documents the three parameters. For a high-complexity generic GUI-automation tool with many action modes and no annotations, the description covers the key menu prerequisite but leaves the per-action workflows and failure modes under-explained.

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 description coverage is 100%, so the baseline is 3. The description goes slightly beyond the schema by tying action=menu to the target menu-name values and to menu-page reachability, clarifying workflow rather than just enumerating the action list. It still does not explain the relationships among list/click/set/options/value/text beyond the schema's own hints.

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?

States a specific verb+resource ('generic access to any SAStudio4 control by name') and carves out its niche as the fallback 'for settings without a dedicated tool', which distinguishes it from the many sibling tools like sa_set, sa_configure, and sa_menu. It is clear what the tool does, though 'control' is left somewhat abstract.

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?

Gives an explicit selection rule ('for settings without a dedicated tool') and an actionable prerequisite for the menu case ('Menu controls are only reachable while their right-hand menu page is shown: open it with action=menu'). It lacks an explicit inverse statement (e.g. 'do not use this for X, use sa_scpi instead'), which keeps it from a 5.

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