Skip to main content
Glama

get_context_inspect

Retrieve detailed information about the currently playing playlist, album, or artist, including the current track's position within the context. Read-only.

Instructions

Inspect the currently-playing context (playlist/album/artist) in detail, including the position of the current track within that context when it is enumerable. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

No annotations are provided, so the description itself must carry the behavioral burden. It explicitly marks the operation as 'Read-only' and discloses the caveat that track position is only included 'when it is enumerable.' This is useful context, though it does not describe behavior when nothing is currently playing or the exact shape of the returned detail.

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?

The description is a single sentence that front-loads the core purpose, names the resource, highlights the key positional feature, and ends with the read-only guarantee. There is no filler or redundant restatement.

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 simple read-only tool with one optional parameter, the description covers the target resource, the important positional detail, and the safety profile. It could more explicitly separate itself from the many playback-context siblings, but the response_format schema fills in the main output-shape ambiguity.

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?

The input schema fully documents the only parameter, response_format, including its enum values, default, and meaning, so schema coverage is 100%. The description adds no parameter-level detail, but none is needed because the schema already explains the choices. Baseline 3 applies.

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 starts with a concrete verb-resource pair, 'Inspect the currently-playing context,' and specifies the target types (playlist/album/artist). It also adds a distinguishing behavior: reporting the current track's position when enumerable. However, it does not explicitly differentiate this tool from close siblings like get_playback_context or get_currently_playing.

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

Usage Guidelines3/5

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

The intended use case is implied: use this when someone needs a detailed view of the currently-playing context rather than just the current track. There is no explicit statement of when not to use it or which alternative tools to prefer, so an agent gets only indirect usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NovaLux12/spotify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server