Skip to main content
Glama

Identify music in an image

identify_image
Read-only

Use for natural photo requests such as What records are these?, Tell me about this collection, Which pressing is this?, Play these, or Make me a playlist from this photo. The user does not need to name a tool or transcribe the image. Identify music in a user-attached album cover, several covers or shelf spines, vinyl/CD label, tracklist screenshot or concert poster. Returns observed text, uncertain details, song identities or album release choices for review. Does not generate a show, save a file or start playback. For a tracklist, use confirmed tracks with make_playable experience=media. For photo-to-playlist requests, identify the attached image first, pass each identified album title in make_playable tracks[].album or catalog mediaItems[].album so the server enforces album membership, then build a clearly labeled sampler across the confidently identified albums unless complete albums or specific songs were requested. Do not require confirmation for obvious identities. If a model-selected song cannot resolve, try one verified alternative from the same album before asking the user; preserve exact user-selected songs and report remaining gaps. Explain unresolved albums before offering a partial sampler; report readiness only for the returned queue. For an album, confirm the release before making an album story. For a poster, confirm the artists and ask what listening experience is wanted. Cover artwork alone does not establish a physical pressing or exact edition. If an attachment URL expires, ask for the file again rather than inferring its contents.

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": {
      "image": "<image>"
    },
    "name": "identify_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered; the description adds real value beyond that with return contents (observed text, uncertain details, song identities or release choices for review) and a key epistemic limit ('Cover artwork alone does not establish a physical pressing or exact edition'). It also discloses failure handling for expired attachment URLs. The only gap is that the confirmation/fallback policy is presented as dense orchestration prose rather than cleanly scoped to this call.

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

Conciseness3/5

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

The opening is well front-loaded with usage triggers, but the back half is a dense chain of downstream workflow policy (sampler labeling rules, model-selected song fallback, album story confirmation, poster follow-ups) that reads like multi-tool orchestration rather than what this call needs. Individual sentences carry information, but the volume dilutes the core instruction and makes the definition harder to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one nested parameter, no output schema, and open-ended visual input, the description supplies what structured fields cannot: the range of image types accepted, what the response contains, the limits of inference from artwork, and the expired-attachment recovery path. Nothing an agent needs in order to call this correctly or interpret the result is missing.

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 description coverage is 0% on a nested object with four fields (file_id, file_name, mime_type, download_url), so the description must compensate and only partly does — it establishes that the input is a user-attached image and that a download URL can expire, but never explains the file_id/file_name/mime_type fields or what a valid attachment looks like. Baseline 3 reflects that it adds conceptual meaning without documenting the parameter structure.

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?

The description opens with a specific verb+resource ('Identify music in a user-attached album cover... vinyl/CD label, tracklist screenshot or concert poster') and enumerates the accepted visual inputs, so the agent knows exactly what goes in. It also distinguishes itself from siblings by naming make_playable as the downstream step and explicitly stating it does not generate a show, save a file, or start playback.

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?

It gives concrete natural-language triggers ('What records are these?', 'Play these', 'Make me a playlist from this photo') and states the user need not name a tool or transcribe the image. It names the alternative path explicitly ('For a tracklist, use confirmed tracks with make_playable experience=media') and adds negative guidance about what this tool must not do, leaving little to inference.

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