Skip to main content
Glama

Compare 1 core with all cores

compare_processing_cores

Measures Lathe rendering on one core versus all cores, alternating runs to offset warming or throttling, then reports speed-up, per-track cost, and conditions while restoring the processing setting.

Instructions

Measures the same bars with Lathe rendering on 1 core and on all cores (Auto), alternating (1, all, 1, all) so a warming or throttling computer doesn't favour either, and returns both side by side with the speed-up, every run, each track's cost, and the conditions. The Processing cores setting is put back afterwards. Takes about 2 x rounds x seconds, plus warm-ups.

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": "compare_processing_cores"
  }
}

Input Schema

NameRequiredDescriptionDefault
roundsNoRounds of 1 core + all cores, 1 to 3 (default 2)
to_barNoBar to stop at
secondsNoSeconds per run, 2 to 20 (default 6)
from_barNoFirst bar to play (1-based)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

The description discloses the key side effect that the annotations only hint at: the Processing cores setting is temporarily changed and 'put back afterwards', which explains readOnlyHint=false. It also reveals the alternating 1/all run order and the anti-bias rationale, plus a concrete runtime estimate. That is substantive behavioral context well beyond the annotation set.

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?

The definition leads with what the tool does and follows with the side-effect and timing notes; no filler sentences. The opening sentence is long and packs several ideas (alternation, outputs, conditions) into one clause chain, but each clause carries real information.

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?

With no output schema, the description correctly takes on the burden of describing return values — both sides, speed-up, per-run results, per-track cost, and conditions. Runtime and side effects are also covered. What is missing is the setup prerequisite (an open session with the bars available), which matters for a tool that actually plays audio.

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 coverage is 100%, so ranges and defaults for rounds, seconds, from_bar and to_bar are already documented. The description still adds meaning by tying rounds and seconds to wall-clock cost ('2 x rounds x seconds, plus warm-ups'), which helps an agent choose values. It stops short of explaining how from_bar/to_bar define the measured region.

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 names a specific verb and resource: it benchmarks 'the same bars with Lathe rendering on 1 core and on all cores (Auto)' and returns a side-by-side speed-up. That is far more precise than a generic 'measure performance' statement. It does not, however, distinguish itself from the sibling measure_performance or compare_mix, so an agent must infer which benchmarking tool to pick.

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 intended use is implied — you run this when you want to know the speed-up from using all cores. There is no explicit 'use this instead of measure_performance' routing, no stated prerequisites (e.g. an open project with playable bars), and no when-not-to-use case. Usage is inferable but not spelled out.

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