Skip to main content
Glama

cat_build

Build a ';'-terminated CAT command for Kenwood, Elecraft, or Yaesu radios to query or set parameters like frequency, mode, power, and status.

Instructions

Build a ';'-terminated text CAT command (Kenwood, Elecraft, Yaesu) for query_text or send_text with line_ending="NONE".

Common commands: ID (rig id), FA/FB (VFO A/B frequency; empty value = read), MD (mode; read, or set with the family's code), IF (full status), PS (power), TX/RX, AI0 (silence auto-info), SM0 (S-meter), PC (output power).

Args: command: Two letters, e.g. "FA". value: Digits/letters to append for a set, e.g. "2" for MD2 (USB). Empty = read. frequency_mhz: For FA/FB sets: the frequency; formatted as 11 digits of Hz (Kenwood/Elecraft) or 9 (Yaesu). flavor: Which family's conventions: "kenwood" (default), "elecraft", "yaesu".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNo
flavorNokenwood
commandYes
frequency_mhzNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.2

TDQS

A4.3/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 behavioral burden and does a solid job: it discloses the ';' terminator, the line_ending='NONE' usage, the empty-value-means-read convention, and family-specific frequency formatting (11 vs 9 digits). It does not cover edge cases like unknown commands, but the key formatting behaviors are clearly exposed.

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 well organized: purpose in the first sentence, a helpful common-command reference, then a clean Args section. Nothing feels redundant, and the most important information is front-loaded before the parameter details.

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?

For a 4-parameter builder with no schema descriptions, the description is nearly complete: it covers all inputs, the output terminator, family variants, and how to pair it with query_text/send_text. The only minor gap is not explicitly listing alternatives/exclusions, but the parameter coverage and usage context are strong enough for correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must fully compensate, and it does. It explains all four parameters: command is two letters, value is an empty-read or set-append, frequency_mhz is formatted per family, and flavor is the convention choice with defaults. The MD2 example adds useful concrete meaning beyond the bare schema.

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 opens with a specific verb and resource: "Build a ';'-terminated text CAT command" for Kenwood, Elecraft, and Yaesu rigs. It also clarifies the relationship to companion tools by saying the result is for query_text or send_text, distinguishing it from parsing or CIV-building siblings.

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

Usage Guidelines3/5

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

The description clearly implies when to use the tool: when constructing a CAT text command to pass to query_text or send_text. However, it never explicitly states when not to use it or names alternatives such as civ_build or cat_parse, so the agent must infer the boundary from siblings and context.

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