Skip to main content
Glama
Open Instagram API

Open Instagram API

search

Read-only

Find Instagram users, hashtags, and places by query to locate profiles, topics, and locations for browsing or engagement.

Instructions

Search Instagram for users, hashtags and places.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

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 the safety and external-scope profile is covered. Beyond that the description only enumerates entity types — it says nothing about whether results are returned as mixed heterogeneous lists, how many are returned, ranking, pagination, or whether empty queries fail. For a search tool whose output shape matters a lot, that is thin.

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?

A single well-formed sentence with the resource and covered entity types front-loaded and no filler. It is not under-specified in length, just under-informative in content; nothing needs cutting.

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

Completeness2/5

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

With no output schema, one undocumented parameter, and no statements about result composition, the description leaves the agent guessing on both the input format and the return shape. It is adequate only as a one-line label, not as the full behavioral spec this tool requires.

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% and the sole parameter is generically named 'query'. The description does not say whether the value should be plain text, '@user', '#hashtag', or an entity-typed string, nor whether one query can span all three entity types. This is the highest-value missing information given the tool's shape.

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 (search) and resource (Instagram) plus the entity types searched: users, hashtags, places. This is clearly distinguishable from sibling retrieval tools like get_profile or get_hashtag, which fetch a known entity rather than discovering one, though the description never draws that contrast explicitly.

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 guidance on when to search versus when to use get_user_posts, get_hashtag, or get_profile. The agent must infer on its own that this is the discovery path for unknown handles or topics; nothing in the text says so or states any precondition.

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