Skip to main content
Glama

get_state

Returns current key, tempo, allowed tempo range, deck playback/queue, and mix bar state so an agent can decide what to play or adjust next.

Instructions

The session's key and tempo, the tempo range FUSER allows, each deck's playing and queued disc, and the mix playing, if one is: the bar it is on and the bar its next step is on.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full burden, and it does disclose the return contents in detail, including the conditional 'if one is' case for the mix. However, it never explicitly confirms the call is a side-effect-free read, says nothing about cost/polling, and gives no hint about how deck state is represented when idle.

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?

A single dense sentence with no filler, front-loading the most important items (key and tempo) before deck and mix details. The trailing colon clause ('the bar it is on and the bar its next step is on') is grammatically awkward and slightly harder to parse than it needs to be.

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 and no parameters, the description must explain what comes back, and it does so item by item including the conditional mix case. What is missing is any statement of read-only semantics or when the snapshot can be stale, which matters for a state-inspection tool in a live playback session.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; this hits the 0-param baseline. Nothing in the text misleads about inputs.

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 enumerates exactly what the tool returns: session key and tempo, the allowed tempo range, each deck's playing and queued disc, and the currently playing mix with its bar position. That is a specific and recognizable resource snapshot. It never states a verb ('returns'/'reads') and never contrasts itself with the sibling get_set, so it does not fully earn a 5.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus alternatives, even though get_set, await_event, and the mutators (play_mix, set_key, set_tempo) all plausibly relate to inspecting or changing state. The only implicit cue is the 'get' prefix. No preconditions or exclusions are given.

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