Skip to main content
Glama
Amigent – Amiga remote control for AI agents

Amigent – Amiga remote control for AI agents

amiga_audio_levels

Read left and right AmiGUS output levels over time to check whether each channel carries sound, including while AHI plays, and to detect simultaneous playback.

Instructions

Left and right output level of an AmiGUS card over time, read back from the card.

seconds 1-30, hz 1-50 samples a second; peak=True takes the maximum of each interval, else the average. Shows for each channel whether it carries sound, with a series in percent of full scale: e.g. to hear whether two players play at once. Reads the card's level registers as the AmiGUS Mixer does, reserves nothing, so it works while the AHI driver plays. Copies the small program amigent-levels to T: and runs it.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "amiga_audio_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
hzNo
peakNo
machineNo
secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description still discloses meaningful behavior: it reads level registers the same way the AmiGUS Mixer does, reserves nothing, and — importantly — copies a small helper program (amigent-levels) to T: and runs it, a real filesystem side effect an agent should know about. It omits any note on failure modes or permissions, so not 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, then constraints, then semantics, then side effects, then the machine parameter. Dense and generally efficient, though the prose is somewhat run-on and could be split into shorter labeled lines.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given four parameters, an output schema, and no annotations, the description covers input ranges, sampling semantics, output meaning (per-channel sound presence and a series in percent of full scale), side effects, and machine resolution. An agent has everything needed to invoke it correctly.

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 coverage is 0%, but the description documents all four parameters: seconds (1-30), hz (1-50 samples a second), peak (max of each interval vs average), and machine (saved Amiga name or ID from amiga_machines, defaulting to AMIGENT_HOST or the sole registered machine). Ranges and default fallback logic are supplied where the schema has none.

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?

States a specific verb and resource: reads left/right output level of an AmiGUS card over time, directly from the card's level registers. That is clearly distinct from sibling status tools such as amiga_amigus_status, and an agent can identify the target hardware and measurement without opening the schema.

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 a concrete use case (e.g. to hear whether two players play at once) and a key operating condition: it reserves nothing, so it works while the AHI driver plays. It does not name an alternative or say explicitly when not to use it, which keeps it out of the top band.

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