Skip to main content
Glama

Klupt Instagram API

Story highlights

get_highlights
Read-onlyIdempotent

Story highlights of a public Instagram account (id, title, item count, cover). Use get_highlight_stories for the stories inside one. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).

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": {
      "user": "<user>"
    },
    "name": "get_highlights"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesNumeric user id (cheapest, e.g. "25025320") or Instagram username (e.g. "instagram"). All digits = an id; write "@12345" for a username made only of digits. A username we have not seen in 7 days may cost 1 extra credit for the lookup (see meta.lookup_credits); a numeric id never does.
freshNotrue skips the cache and fetches live data (full price). Default false.
cursorNopagination.next_cursor from the previous page. Leave out for the first page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and non-destructive behavior, and the description adds pricing and cache semantics that annotations cannot express: 1 credit per page, no charge from cache, on errors, or with a kd_test_ sandbox key. That is exactly the operational context an agent needs before spending credits.

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?

Three sentences, front-loaded with what is returned, then the alternative, then pagination, then cost. No filler, and each sentence carries a distinct operational fact.

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?

There is no output schema, but the description compensates by naming the returned fields and the pagination envelope keys (next_cursor, has_more). Combined with cost and cache disclosure, an agent has everything needed to call and iterate correctly.

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 baseline is 3; the description earns above that by explaining the cursor parameter's contract relative to pagination.next_cursor and pagination.has_more. It adds nothing about user or fresh beyond the schema, which is acceptable given the schema already documents id-vs-username and the cache-skip cost.

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 description names the exact resource (story highlights of a public Instagram account) and enumerates what each entry carries (id, title, item count, cover). It also names the sibling get_highlight_stories as the tool for the stories inside a highlight, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

It explicitly routes the agent: use get_highlight_stories for the stories inside one highlight, which is the natural follow-up call. It also states the pagination condition (pass pagination.next_cursor back as cursor while pagination.has_more is true), so the loop-termination rule is unambiguous.

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