Skip to main content
Glama

Find music for an Instagram Reel

search_ig_audio
Read-onlyIdempotent

Searches Instagram's licensed music library for a Reel. Omit query for what is trending now (refreshed hourly). Returns tracks with audio_id, title, artist, duration (seconds), cover_url, is_trending; pass the chosen audio_id as audio on create_post or update_post (ig_type reel). Meta returns only audio licensed for apps, so results differ from the Instagram app, and there is no preview of a Reel with its track: tell the user the title and artist you picked.

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": {
      "page": "<page>"
    },
    "name": "search_ig_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesChannel id from list_pages (a Facebook Page or an Instagram account)
queryNoSong, artist or mood. Omit for trending
audio_typeNomusic (default) = licensed songs; original_sound = sounds from other creators' Reels

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, but the description adds behavior an agent could not infer: trending refreshes hourly, Meta returns only app-licensed audio so results differ from the Instagram app, and there is no Reel preview with the track. The instruction to report title and artist to the user is a useful operating note for a gap the API leaves open.

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?

Three tight sentences: purpose first, then the omit-query shortcut and the return fields, then the downstream handoff and the licensing caveat. No filler, and the highest-value constraint (no preview, tell the user the title and artist) is stated plainly rather than buried.

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 no output schema, the description lists the returned fields (audio_id, title, artist, duration, cover_url, is_trending) so the agent knows what comes back. Combined with the downstream parameter name and the licensing limitation, nothing needed to call or act on this tool 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 coverage is 100%, so the baseline is 3. The description reinforces 'omit query for trending' and adds the hourly refresh detail, but says nothing extra about audio_type beyond the schema's own enum documentation, and page is not addressed at all.

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: 'Searches Instagram's licensed music library for a Reel.' The scope (licensing-limited catalog, Reel audio) distinguishes it clearly from a lookup-style sibling like get_ig_audio, which takes a known id rather than searching.

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 concrete use context: omit query for trending, and pass the returned audio_id as 'audio' on create_post or update_post with ig_type reel, which is genuinely actionable routing. It stops short of explicitly naming when to prefer a different search or lookup tool, so it lands just under full marks.

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.