Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Instagram Profile Search

instagram_profile_search

Resolve a brand name, @handle, or Instagram profile URL into one public profile with stable ID, bio, links, and stats. Returns fresh data by default and never charges for empty results or failures.

Instructions

Resolve a brand or @handle to one public Instagram profile — stable id, bio, links, and stats (not niche discovery). Costs 1 credit. 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_profile_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesAccount name, @handle, or profile URL to resolve (min 2 characters). A leading _, accents (misión → mision), spaces and URL query strings (?igsh=…) are stripped. A q with no usable username characters is 400 BAD_REQUEST. Not a niche keyword search.
cacheNoServe from the 24h shared cache when available (0 credits on hit). Default true — set false to always fetch fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose billing rules (1 credit, empty results and failures never charged) and the 24h shared cache. However it conflicts with the schema on caching: the description's parenthetical "default always fresh" implies cache is off by default, while the schema says cache defaults to true. That inconsistency can lead an agent to wrong assumptions about freshness and cost; auth requirements are also unstated.

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

Conciseness4/5

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

A single dense sentence with the core action front-loaded, followed by a compact cost/cache clause; nothing is filler. The parenthetical cache note is the one spot that could be trimmed or corrected, since it muddies rather than clarifies.

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

Completeness4/5

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

For a 2-parameter resolver with no output schema and no annotations, the description covers the essentials: what comes back (id, bio, links, stats), billing behavior, and caching. Auth/permission expectations and any pagination or lookup-miss semantics are the remaining gaps, and the cache default ambiguity should be resolved.

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%, so both parameters are already well documented, and the description largely restates them. Its one added claim about cache defaulting to fresh actually contradicts the schema's stated default of true. Baseline 3 applies given the schema does the heavy lifting.

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

Purpose4/5

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

States a specific verb and resource ("resolve a brand or @handle to one public Instagram profile") and enumerates the return fields without needing the schema. The explicit "(not niche discovery)" exclusion separates it from keyword/hashtag styles of search. It stops short of distinguishing it from close siblings such as instagram_basic_profile and instagram_details, which the agent still has to disambiguate itself.

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 clear positive use case (resolving a known handle/brand to a canonical profile) and a clear negative one ("not a niche keyword search"), repeated in the q parameter description. There is no explicit pointer to the right alternative for the excluded case, but the context is unambiguous. Cost-per-call guidance (1 credit, free cache hit) further helps the agent decide whether to call it.

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