Skip to main content
Glama

Search Instagram's popular reels on a topic

search_instagram
Read-only

The reels Instagram lists on its public popular page for a topic: shortcode, author, caption, exact play count and the date read off the media id. This is indexed discovery, not a hashtag feed. Instagram publishes these pages for some words only (art, travel and music have one; fitness and nasa did not when measured), lists up to 12 reels, and says in hasMore when it has more that cannot be read without signing in. A word with no page answers indexed: false and costs nothing. Cached for thirty minutes.

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": {
      "q": "<q>"
    },
    "name": "search_instagram"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesThe topic, the way Instagram names its popular pages: one word or a few ("travel", "street photography"). Not every word has a page.
limitNoReels to return, 1–12. One page is one read: a smaller `limit` on the same topic is served from it.
refreshNoRead the page again instead of serving the half-hour cache. Charged like any read, and the fresh answer replaces the cached one.

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 declare readOnlyHint and openWorldHint, but the description adds real operational facts on top: coverage is partial and topic-dependent, results cap at 12, `hasMore` signals more reels that require sign-in, missing pages return `indexed: false` at no cost, and responses are cached for thirty minutes. That is exactly the cost and limitation context an agent needs before spending a call.

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?

Four sentences, front-loaded with what is returned, then the hashtag-feed exclusion, then the coverage and `hasMore` limits, then caching. Every clause carries a fact an agent would otherwise have to discover by trial.

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 supplies the return shape itself (shortcode, author, caption, exact play count, date derived from media id) plus the two non-obvious response signals, `hasMore` and `indexed: false`. Nothing needed to call this correctly or to interpret its answer 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 100%, and the schema already explains `q` naming conventions, `limit`'s page-reuse behavior, and `refresh`'s charge-and-replace semantics. The description body adds only the thirty-minute cache figure and the no-cost miss case, which are marginal increments over the structured fields. Baseline 3 applies when the schema carries the parameter burden.

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 first sentence names a specific verb and resource — the reels Instagram lists on its public popular page for a topic — and immediately enumerates the returned fields (shortcode, author, caption, play count, date from media id). It also draws an explicit boundary: 'This is indexed discovery, not a hashtag feed,' which keeps an agent from confusing it with a feed-scraping operation.

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?

The description makes clear when the tool pays off (words with a popular page, examples `art`, `travel`, `music`) and when it is wasted effort (`fitness` and `nasa` had no page; a word with no page answers `indexed: false` and costs nothing). It stops short of naming the sibling search tools it competes with, so alternative routing is left to inference rather than stated.

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