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

Amigent – Amiga remote control for AI agents

amiga_cpu

Measure per-task CPU load and idle time on an Amiga for 1–60 seconds, including real MIPS and JIT cache misses under Emu68, so agents can diagnose performance.

Instructions

CPU load per task, measured on the Amiga for seconds (1-60).

amigentd samples every every_ms milliseconds at a priority above all others which task was running, with no network traffic meanwhile, and amigent-monitor stays still. Shows percent per task and idle. Needs amigentd 1.4.0. Under Emu68 (amigentd 1.5.0) also the real MIPS and JIT cache misses meanwhile.

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_cpu"
  }
}

Input Schema

NameRequiredDescriptionDefault
machineNo
secondsNo
every_msNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 a solid job: it discloses the sampling mechanism (priority above all others), that measurement runs exclusively with no network traffic meanwhile, the amigentd 1.4.0 requirement, and extra Emu68-only metrics. It leaves the blocking/duration cost and whether the call fails on older amigentd implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Front-loaded summary and parameter note are well placed, but there are small defects ('samples every every_ms milliseconds' duplication) and a cryptic fragment ('amigent-monitor stays still') whose meaning is unclear to an agent. The core content earns its place; the phrasing costs clarity.

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 described. Given three optional parameters, an unannotated mutation-free sampling tool, and the disclosed prerequisites and sampling caveats, the definition covers what an agent needs to invoke it correctly; only the call's time cost is unstated.

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%, so the description must compensate. It does define all three: 'seconds (1-60)' adds a range constraint, 'samples every every_ms milliseconds' explains the interval parameter, and the machine parameter's default chain (amiga_machines ID, AMIGENT_HOST, saved default, sole machine) is spelled out. The definitions are terse and 'every_ms' resolution/limits beyond the default are not addressed, so it compensates adequately but not fully.

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?

Opens with a specific verb+resource: 'CPU load per task, measured on the Amiga' over a bounded window. It clearly distinguishes itself from status/audio/emu68 siblings by naming the resource and measurement, though it doesn't explicitly contrast with any named alternative.

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?

Usage is implied rather than stated: the reader can infer this is a sampling/profiling tool to run when interested in per-task CPU. Prerequisites (needs amigentd 1.4.0, MIPS/miss metrics only under Emu68 1.5.0) are useful context, but there is no explicit when-to-use/when-not-to-use or alternative routing.

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