Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Instagram Basic Profile

instagram_basic_profile

Retrieve an Instagram profile by numeric user ID, @handle, username, or profile URL to get follower counts, external links, and business address details; optionally serve cached responses.

Instructions

Instagram profile by user ID or @handle — camelCase schema aligned with Channel Details (followers, externalUrl, businessAddress). 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": {
      "userId": "<userId>"
    },
    "name": "instagram_basic_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
cacheNoSet true to serve from the response cache (default TTL). Default false — always fetch fresh. Prefer cacheMaxAge when you need 1d–30d freshness control.
userIdYesInstagram numeric pk (e.g. 13460080 — the id field on this endpoint), or a profile URL / @handle / username. A Facebook/Graph fbid (17-digit 17841…) is 400 WRONG_ID_TYPE.
cacheMaxAgeNoMax age of a cached response: 1d, 3d, 7d, 14d, or 30d. When set, enables caching with that TTL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does add real behavior: cost of 1 credit, no charge on empty results or failures, and explicit cache semantics (cache=true is free and 24h, default is always fresh). It stops short of stating auth requirements or what happens on rate limiting, but the billing and caching disclosures are genuinely useful.

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?

It is compact and front-loaded, leading with what the tool returns before the billing and cache caveats. The single dense em-dash sentence mixes schema notes, billing, and caching, which is slightly cramped but every clause carries information.

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 3-parameter read tool with no annotations and no output schema, the definition covers purpose, cost, cache behavior, and the shape of the returned object. The main residual gap is sibling disambiguation against instagram_channel_details, which is the most likely source of a misselection.

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 the schema already documents userId formats, the fbid 400 WRONG_ID_TYPE case, and the cacheMaxAge enum values. The description adds some meaning by calling out that cache=true is a free 24h hit and that the default is fresh, but that is largely a restatement of the cache parameter's own description.

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?

The description names a specific resource and operation (an Instagram profile fetched by user ID or @handle) and even previews the returned fields (followers, externalUrl, businessAddress). It does not clearly separate itself from close siblings like instagram_channel_details or instagram_profile_search; the 'aligned with Channel Details' note explains schema shape, not which tool to pick.

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

Usage Guidelines3/5

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

It implies usage (you have an id/handle, you want a profile) and gives practical caching guidance, but never states when to prefer this over instagram_channel_details or instagram_profile_search. No exclusions or decision criteria are offered, so the agent must infer the choice from sibling names alone.

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