Skip to main content
Glama

Instagram: Get audio details

instagram_audio
Read-onlyIdempotent

Get a song or original sound used in Instagram Reels by its audio ID or audio page link: title, artist, length, cover image, a downloadable audio file, whether it is trending and how many Reels use it. Get audio IDs from the audio field of a Reel. Read-only: returns public data and changes nothing. Costs 1 credit per request.

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": {
      "audioId": "<audioId>"
    },
    "name": "instagram_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioIdYesNumeric audio ID, or the audio page link, e.g. "6516695721690591" or "https://www.instagram.com/reels/audio/6516695721690591/".
cacheOnlyNoReturn only a cached result and never scrape live. With `cacheMaxAgeHours`, only a result that recent is returned; without it, the latest cached result of any age. Responds 404, at no cost, when there is none, e.g. true.
cacheMaxAgeHoursNoAccept a cached result scraped up to this many hours ago. A cached result costs no credits, and its `cachedAt` says when it was scraped. When no cached result is that recent, the data is scraped live at the normal price. Leave it out to always scrape live, e.g. 24.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), the description adds public-data scope and a pricing model ('Costs 1 credit per request'), which is behavior the agent cannot see in structured fields. The read-only statement partly restates readOnlyHint, and pagination/error behavior is left to the schema.

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?

Front-loaded with the verb and resource, then a compact list of return fields, then provenance and cost in single short sentences. No filler or repetition.

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 effectively summarizes the payload (fields, trending status, usage count), and it discloses cost and data sourcing. The cache parameters are fully specified in the schema, so nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already defines audioId, cacheOnly and cacheMaxAgeHours in depth. The description still adds value by stating where audioId values originate (a Reel's audio field), linking this tool to upstream discovery.

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 ('Get a song or original sound used in Instagram Reels') and enumerates exactly what is returned (title, artist, length, cover image, audio file, trending flag, Reel usage count). An agent can tell this is a single-audio lookup rather than a reel listing, even without a sibling named.

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 a concrete entry point ('Get audio IDs from the audio field of a Reel'), which tells the agent how to chain from a post/reel tool. It stops short of naming a specific alternative tool or an explicit when-not-to-use condition, so it sits below a 5.

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