Skip to main content
Glama

Get recent Instagram posts

instagram_posts
Read-only

Get recent Instagram posts. 12 posts per page with likes, comments, views, caption and media URLs. Pinned posts come first (pinned: true), the rest newest first. A private account returns an empty posts list with is_private: true. Page with cursor.

Cost: 1 credit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "instagram_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNonext_cursor from the previous page of the same request.
user_idNoNumeric Instagram user id. Pass this or username.
usernameNoInstagram handle, with or without @. A profile URL also works. Pass this or user_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only and open-world safety profile, and the description adds real behavioral context beyond that: fixed page size of 12, returned fields, pinned-first then newest ordering, private-account edge case (empty list + is_private: true), cursor pagination, and a stated cost of 1 credit. Only error/failure behavior is left unspecified.

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?

Extremely dense and front-loaded: purpose first, then pagination/page contents, ordering, edge case, paging mechanism, and cost. Every sentence earns its place with no filler.

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?

With no output schema, the description must describe returns and largely does: fields per post, ordering semantics, and the private-account response shape. It is complete enough to call and interpret results, though it does not cover rate-limit or error outcomes.

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% with self-documenting cursor/user_id/username fields and an example for username, so the schema carries the load. The description only adds that cursor drives pagination, which is baseline-level value over the schema.

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 ('Get') and resource ('recent Instagram posts'), and the '12 per page' and ordering details make it recognizable as the profile-feed listing tool. However it never explicitly contrasts itself with close siblings like instagram_post, instagram_media, or instagram_tagged, so the agent must infer the boundary.

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 rather than stated: 'Page with cursor' signals a paginated fetch, and the private-account note implies a pre-check. There is no explicit when-to-use or when-to-prefer-a-sibling guidance (e.g. instagram_post for a single post, instagram_reels for video-only).

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.