Skip to main content
Glama

Refresh the player

get_session
Idempotent

Application polling for an already-mounted OffStereo card. It refreshes one PlayableSession in place. An optional narration playback receipt can continue the existing research run and requires write access. A selected library story opens through make_playable(existingSessionId), while playback and contextual follow-ups use steer_session.

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": {
      "sessionId": "<sessionId>"
    },
    "name": "get_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYes
playingItemIdNoApplication receipt emitted for the exact queue item after its media provider confirms narration playback. Requires offstereo.write because it can continue research generation.

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. Changed1 schema field changed
    • addedInput schema / properties / playingItemId
      Added value: +{
      +  "description": "Application receipt emitted for the exact queue item after its media provider confirms narration playback. Requires offstereo.write because it can continue research generation.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=true, and the description explains why a 'get'-style tool is not read-only: the optional narration playback receipt 'can continue the existing research run and requires write access.' That reconciles the name with the non-read-only annotation and adds genuine side-effect context. It does not cover error or rate-limit behavior, but with annotations plus an output schema that is a minor gap.

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?

Four sentences, front-loaded with what the tool does and then the routing alternatives, with no filler. The opening clause is slightly cryptic ('Application polling for an already-mounted OffStereo card'), but every sentence contributes purpose, side-effect, or alternative 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 annotations covering the safety profile and an output schema covering return values, the description supplies what is otherwise missing: the polling trigger, the write-access side effect of the receipt, and routing to two siblings. Only the required sessionId's provenance is left unexplained for a two-parameter tool.

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 coverage is 50%, and the description's receipt sentence largely restates what playingItemId's schema text already says about continuing research generation and requiring offstereo.write. sessionId, the required parameter, gets no explanation of format or source beyond the phrase 'already-mounted card', so the coverage gap is only partly closed.

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 gives a specific verb and resource: it 'refreshes one PlayableSession in place' when the application polls for an already-mounted card. That is concrete enough to distinguish it from make_playable and steer_session, though the mismatch between the name get_session and the actual refresh/poll behavior means the description is doing the heavy lifting rather than the name.

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

Usage Guidelines4/5

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

It states the triggering context (application polling for an already-mounted OffStereo card) and names two alternatives with the conditions that select them: make_playable(existingSessionId) for opening a selected library story, and steer_session for playback and contextual follow-ups. It does not say what to do when no card is mounted, but the routing guidance is otherwise explicit.

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