Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Instagram Hashtag Search

instagram_hashtag_search

Search Instagram hashtag posts and Reels by keyword, returning up to 50 items with an optional 24-hour cache to reduce credit use.

Instructions

Hashtag Explore: native grid first, fallback path only on miss. Max 50. Flat 2 credits. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": "instagram_hashtag_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesHashtag without the # (min 2 characters). One token — spaces are 400 HASHTAG_HAS_SPACES.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 20, max 50). Flat 2 credits per call.
mediaTypeNoall (default) or reels — return only Reels/clips when set to reels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does disclose meaningful behavior: flat 2-credit pricing, that empty results and failures are never charged, and that cache=true is required for a free 24h cache hit (fresh by default). It stops short of describing the response shape, pagination, or error behavior beyond the hashtag format, but the cost/billing disclosure is genuinely valuable context an agent cannot get from the schema alone.

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 text is short but wasteful in places: "Flat 2 credits. Costs 2 credits." says the same thing twice, and "Max 50" repeats the schema. Front-loading a vague internal phrase ("native grid first") ahead of the actual capability weakens the opening.

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

Completeness3/5

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

For a four-parameter search tool with no annotations and no output schema, the description covers billing, caching, and result limits but not what a call returns (posts? grid items?) or how results are shaped. It is adequate on cost/safety but leaves the agent guessing about output.

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 every parameter (q, cache, limit, mediaType) is already documented with constraints and defaults. The description adds no new parameter meaning — its "Max 50" and cache mention duplicate the schema, and "native grid first, fallback path only on miss" does not map to any parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with "Hashtag Explore," which largely restates the tool name rather than naming a specific verb and resource (e.g., "search Instagram posts for a hashtag"). The "native grid first, fallback path only on miss" clause is internal jargon that doesn't clarify what the tool returns, and nothing distinguishes it from siblings like instagram_reels_search or instagram_tagged_posts.

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

Usage Guidelines2/5

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

It gives parameter-level guidance ("Pass cache=true for a free 24h cache hit") but never says when to choose this tool over the many sibling Instagram/hashtag search tools. There is a faint usage hint in "fallback path only on miss," but no conditions, exclusions, or named alternatives.

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

Deploy Server

Other Tools