Skip to main content
Glama
Open Instagram API

Open Instagram API

get_hashtag

Read-only

Retrieve posts for a specified hashtag by passing the tag without the # symbol. Use it to browse Instagram content tied to any topic or keyword.

Instructions

Posts for a hashtag (without the #).

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": {
      "tag": "<tag>"
    },
    "name": "get_hashtag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-reach are covered without the description. The description adds nothing further — no return shape (a list of posts), no ordering or recency behavior, no result limits, and no note about behavior for tags with zero matches.

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 sentence with the format constraint parenthesized immediately after the resource, which is front-loaded and wastes no words. It is efficient, though the terseness borders on under-specification rather than optimal density.

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 single-parameter read tool with annotations covering safety, this is close to sufficient, but with no output schema the description should say that a collection of posts comes back and whether pagination or a cap applies. As written, an agent knows what to send but not what to expect in return.

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 0%, so the description carries the full burden for the single parameter. It does add one genuinely useful constraint — the tag must be supplied without the leading '#' — but says nothing about case sensitivity, length, or whether spaces/unicode are allowed, so it only partly compensates.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Posts for a hashtag" identifies the resource being returned and the keying dimension (hashtag vs. user or feed), which separates it from siblings like get_user_posts or get_feed. However, there is no verb at all, so an agent must infer that this is a retrieval operation rather than a listing or search action.

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?

No when-to-use guidance, no conditions, and no mention of any alternative such as search or get_user_posts. The only guidance given is a format rule for the argument, not usage context, leaving the agent to infer selection criteria entirely.

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