Skip to main content
Glama

preview_browser

Audition browser items without loading them onto a track, then stop the active preview by omitting the item URI.

Instructions

Audition a browser item (item_uri from search_browser/browse_library) without loading it onto a track. Omit item_uri to stop the active preview.

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

Input Schema

NameRequiredDescriptionDefault
item_uriNo

Output Schema

NameRequiredDescriptionDefault
dataYes
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only supply destructiveHint=false, so the description carries most of the burden and does add real behavior: nothing is written to the arrangement, and omitting the argument stops the active preview (a stop/reset semantic not in the schema or annotations). It doesn't say what happens if a preview is already playing and a new URI is sent, which is the remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero waste, with the primary action and the no-argument stop behavior front-loaded. Nothing could be removed without losing 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?

An output schema exists so return values need no explanation, and for a single-optional-parameter tool the description covers source, effect, and stop semantics. Only overlapping-preview/toggle behavior is unaddressed, a minor gap.

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 coverage is 0% — the schema only names 'Item Uri' with an anyOf string/null default — so the description must compensate, and it does: it identifies the parameter's source tools and defines the null/omitted case as 'stop the active preview'. That is more than the structured field conveys.

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 and resource ('Audition a browser item') and immediately scopes it against the obvious alternative by saying 'without loading it onto a track' — an agent can distinguish this from load_browser_item without opening either schema.

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?

Gives clear positive context (preview rather than committing to a track) and names the sibling tools that produce the required `item_uri` (search_browser/browse_library), plus the stop condition. It stops short of an explicit 'use load_browser_item instead when you want it on a track', so routing is implied rather than stated.

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