Skip to main content
Glama

HandleHaul

Live stories

get_stories
Read-onlyIdempotent

Stories a public Instagram account posted in the last 24 hours, with media URLs and expiry times. 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_stories"
  }
}

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.2/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description discloses the 24-hour data window, what fields come back, the full pagination protocol including the loop-terminating condition, and the credit cost model with explicit free cases. The note that cache hits, errors, and kd_test_ sandbox keys cost nothing is concrete operational context an agent cannot get from the structured fields.

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, each load-bearing: what it returns and its window, how to paginate, what it costs. The scope is front-loaded and the cost caveats are compressed into a single parenthetical without losing precision.

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, and the description compensates by naming the return contents and the pagination envelope (next_cursor, has_more) that the cursor loop depends on. For a three-parameter, one-required read tool, an agent has everything needed to call it correctly, including billing implications.

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 fields are already documented, but the description adds real usage meaning: it tells the agent to feed pagination.next_cursor into cursor and to keep doing so while pagination.has_more is true, which connects an input parameter to a response field the schema cannot reference. The user and fresh parameters gain nothing from the description, hence not a 5.

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 first sentence names a specific verb and resource: stories a public Instagram account posted in the last 24 hours, with media URLs and expiry times. The 24-hour scope implicitly separates it from get_highlight_stories and get_story, but neither sibling is named, so an agent must infer the distinction rather than read it.

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?

Usage is implied by the 'last 24 hours' framing and the 'public account' qualifier, which implicitly tells the agent this fails for private accounts. There is no explicit when-to-use vs. when-to-use-instead statement and no named alternative for historic or highlight stories, leaving the agent to infer the routing.

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.