Skip to main content
Glama
Open Instagram API

Open Instagram API

follow_user

Follow or unfollow an Instagram user by username; set unfollow to true to remove an existing follow.

Instructions

Follow a user, or unfollow them (unfollow=True).

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": {
      "username": "<username>"
    },
    "name": "follow_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
unfollowNo
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already state readOnlyHint=false, openWorldHint=true, destructiveHint=false. The description adds the one behavior the annotations cannot express: the same tool reverses its own effect when unfollow=True. It does not say whether the call is idempotent, whether following a private account only creates a pending request, or what the response returns.

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?

One short sentence with the primary action first and the flag semantic placed inline where it is needed. No filler, no restatement of the tool name.

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 two-parameter social-graph mutation with no output schema, the description covers the operation but omits result expectations (does it return the updated friendship state?) and edge cases like private accounts or already-following users. Annotations cover the safety profile, so this is workable but not complete.

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 description coverage is 0%, so the description must carry the load. It explains the non-obvious parameter (unfollow=True reverses the action) reasonably well, and username is self-evident from its title, but the default value of false and any format constraints on username are left entirely to 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?

"Follow a user, or unfollow them" gives a specific verb and resource, and immediately signals that the tool covers both directions of the relationship action. It doesn't contrast itself with read-only siblings like get_followers or get_friendship, but the write action is unmistakable.

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: use this to follow someone, or set the flag to unfollow. There is no explicit statement of when not to use it, no prerequisites (e.g. private accounts requiring approval), and no named alternative. Adequate but thin.

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