Skip to main content
Glama

calibrate_cognition

Enables bias-free audio exercises by downloading anonymous MP3s to a private directory, then revealing track metadata for attribution.

Instructions

Download an anonymous MP3 into a private directory for blind agent listening or reveal metadata afterward.

When anonymous=True (default), selects a track from the Music For Robots catalog (randomly when slug is empty), downloads the GitHub Release v1.0.0 .mp3 into a unique private temporary directory (mode 0700), caches the session record in ~/.cache/m4r/last_anonymous_track.json (mode 0600), and returns listening instructions without exposing the track title or slug so title words cannot bias the agent's analysis. When anonymous=False, reads the private session record (or looks up slug) without network calls to reveal the track title, composer, and URLs for attribution. Use this tool for runtime audio exercises; use get_dequantization_skill when you need the full Markdown SKILL.md documentation.

Args: slug: Optional track slug from list_tracks (e.g. "invalid-pointer"). Leave empty ("") to select a random track when anonymous=True, or to reveal the most recently fetched anonymous track when anonymous=False. anonymous: When True (default), downloads the audio to a private temporary directory and hides the track title and slug until after listening. Set to False after listening to reveal the track title and URLs for attribution.

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

Input Schema

NameRequiredDescriptionDefault
slugNo
anonymousNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.0
    • addedInput schema / properties / anonymous
      Added value: +{
      +  "default": true,
      +  "title": "Anonymous",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / slug / default
      Previous value: -"invalid-pointer"New value: +""
  2. Addedv1.0.0

TDQS

A4.4/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 most of it: file permission modes (0700 directory, 0600 cache), the exact cache path `~/.cache/m4r/last_anonymous_track.json`, that the reveal branch makes no network calls, and the deliberate withholding of title/slug to avoid biasing the agent. It does not cover failure modes (missing GitHub release asset, corrupt cache, download errors), which is the remaining gap for a tool that writes to disk and hits the network.

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?

Front-loaded with the core action, then mode-specific detail, then an Args block — a sensible structure. There is some duplication: the prose already explains the anonymous=True/False behavior that the Args section restates, which adds length without new information, though the repetition does aid scanning.

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, and the description covers both execution paths, artifacts created, privacy guarantees, and the ordering between phases. What is missing for a tool that downloads and caches files is any statement about error/edge behavior (unknown slug, failed download, stale cache).

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 supply all meaning, and it does: `slug` is documented as coming from `list_tracks` with a concrete example ('invalid-pointer') plus the empty-string semantics in each mode, and `anonymous` is documented with its default and its branch-specific effect. This is meaningfully more than the bare schema types and defaults.

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 states concrete verbs and resources: downloads a GitHub Release v1.0.0 .mp3 into a private temp directory, or reads a cached session record to reveal title/composer/URLs. It clearly separates the two operating modes and points at `get_dequantization_skill` as the documentation-only alternative, so an agent can distinguish it from siblings even though the name `calibrate_cognition` alone gives no hint of the behavior.

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

Usage Guidelines5/5

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

It explicitly routes usage: 'Use this tool for runtime audio exercises; use `get_dequantization_skill` when you need the full Markdown `SKILL.md` documentation.' It also prescribes the two-phase workflow (anonymous=True first, then anonymous=False after listening to attribute) and tells the agent where to get a slug (`list_tracks`). No ambiguity remains about when to call which branch.

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