Skip to main content
Glama
Open Instagram API

Open Instagram API

get_post

Read-only

Retrieve a single Instagram post or reel by shortcode to view its caption, media URLs, author, and like and comment counts.

Instructions

One post or reel: caption, media URLs, author, like and comment counts.

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": {
      "shortcode": "<shortcode>"
    },
    "name": "get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
shortcodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavioral context by disclosing what comes back (caption, media URLs, author, engagement counts), which matters because there is no output schema. It says nothing about error behavior for an unknown shortcode or whether reels and posts are shaped differently.

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?

One short fragment with zero filler, and the most important information (singular resource, returned fields) is front-loaded. It is telegraphic rather than well-structured prose, which costs it a point but wastes nothing.

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

Completeness3/5

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

For a simple read tool with annotations covering safety, the definition is nearly sufficient: it identifies the resource and the payload. The remaining gap is the undocumented required shortcode parameter, which is the one thing an agent must get right to call the tool successfully.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single required parameter 'shortcode', and the description never mentions it. A 'shortcode' is domain-specific jargon (the identifier from a post URL) that an agent could easily confuse with a numeric media ID; the description should define its format or origin, and it does not.

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 states a specific resource and scope: a single post or reel, not a list, and enumerates the returned fields (caption, media URLs, author, like/comment counts). It implicitly contrasts with the list-oriented siblings like get_feed and get_user_posts, though it never names them or uses an explicit verb.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer get_feed, get_user_posts, or get_user_reels, and no prerequisites such as needing a valid shortcode from another call. The agent must infer the selection rule from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.