Skip to main content
Glama

Steer the listening session

steer_session

Control and contextual follow-ups for an embedded OffStereo chat card only. To control the listener's website player on their own device, use control_player when available; steer_session does not control that browser. Card actions: pause, resume, skip, play the next song, append one exact next song, adjust the music level, explain why a song is present, open an explicitly requested documented sample lineage, or return to the story. The result updates the mounted card in place. For an AI-DJ transition to a newly chosen record, pass queueTrack with exact artist and title; OffStereo resolves it and appends it to this same widget so the current song can finish and auto-advance. Keeping the transition in this queue avoids a second make_playable call. Use instruction='Queue this as the next song without interrupting the current song' to queue ahead, or 'Play this next now' to append and immediately advance. A why-this-song question preserves the queue. sessionId identifies the active session, and activeItemId plus positionMs preserve exact continuity when the card supplies them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instruction": "<instruction>"
    },
    "name": "steer_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdNo
positionMsNo
queueTrackNoOne exact new record to append to the active widget queue. Use this instead of opening another one-song widget when the listener asks the AI DJ to choose what comes next.
instructionYes
activeItemIdNo
playbackStateNo
acknowledgeDirectiveIdNoMounted-card acknowledgement for the exact one-shot playback directive it has finished applying. Periodic cursor syncs omit this field.

Output Schema

NameRequiredDescriptionDefault
idYesStable session id, reused for get_session and steer_session.
modeNo
queueNoOrdered narration and track items.
titleYes
objectYesplayable_session, lineage, or lineage_show.
statusYesLifecycle: building, partial, ready, failed, and similar.
thesisNo
webUrlNo
actionsNo
chaptersNo
coverageNoRequested album and song coverage. Searched albums are not necessarily represented; representation requires verified catalog metadata, not proof of a relationship.
progressNoCurrent build stage and message.
warningsNo
webLabelNo
citationsNo
storyScopeNoCount-level result assessment.
descriptionNo
queueUpdateNoMost recent model-authored queue change.
resumeStackNo
activeBranchNo
nowPlayingContextNo
playbackDirectiveNoOne-shot transport request the mounted card applies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / coverage
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Requested album and song coverage. Searched albums are not necessarily represented; representation requires verified catalog metadata, not proof of a relationship.",
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing that 'The result updates the mounted card in place' and that OffStereo resolves queueTrack and appends it to the same widget so the current song finishes and auto-advances. It also discloses a non-obvious preservation rule: a why-this-song question preserves the queue. It does not cover failure modes (e.g. what happens when no card is mounted or the sessionId is stale), which keeps it from 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?

Front-loaded with the scope constraint and the sibling exclusion before any detail, which is the right order for routing decisions. It is dense with useful specifics, but there is mild redundancy between 'append one exact next song' in the action list and the later queueTrack paragraph, and the closing sentence packs sessionId, activeItemId and positionMs into one clause.

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?

For a 7-parameter, nested-object mutation tool with an output schema, it supplies the routing, the instruction-string contract, and the continuity/identity parameters an agent needs. Missing only edge-case behavior (missing card, invalid sessionId, what acknowledgeDirectiveId semantics imply at the call site), which the schema partly backstops but the description does not.

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 description coverage is only 29%, so the description must carry the load, and it largely does: sessionId is 'the active session', activeItemId plus positionMs 'preserve exact continuity when the card supplies them', queueTrack takes an exact artist and title that OffStereo resolves, and instruction carries the branching semantics. playbackState and acknowledgeDirectiveId get no treatment in the description (the latter is covered only in the schema), leaving a small gap.

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 set and resource ('Control and contextual follow-ups for an embedded OffStereo chat card only') and immediately delimits scope against sibling control_player. The enumeration of card actions (pause, resume, skip, append one exact next song, explain why a song is present, open lineage, return to story) makes the tool's remit unmistakable.

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?

Explicitly routes away from two siblings: control_player for the listener's own website player, and make_playable for another one-song widget ('Keeping the transition in this queue avoids a second make_playable call'). It also gives the exact instruction strings that select between queuing ahead ('Queue this as the next song without interrupting the current song') and immediate advance ('Play this next now'), so the agent knows which variant to invoke.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources