Skip to main content
Glama
Open Instagram API

Open Instagram API

send_photo

Send an image file from a local path to a specified Instagram chat thread, enabling assistants to share photos directly in conversations.

Instructions

Send an image file (path on this machine) to a chat.

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": {
      "thread_id": "<thread_id>",
      "path": "<path>"
    },
    "name": "send_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful operational context with '(path on this machine)', telling the agent the server reads the local filesystem rather than a URL. It omits file-size/format limits and any indication of what happens on failure, which a mutation tool with side effects would benefit from.

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 front-loaded sentence with no filler; every clause carries information. It is efficient but borders on under-specified for a tool whose schema documents neither parameter.

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 mutation with no output schema and zero schema coverage, an agent can invoke it correctly but must guess at accepted image formats, size limits, and whether the sent file is re-uploaded or referenced locally. The definition is adequate rather than 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 parameter meaning and it partially does: 'path on this machine' disambiguates a local filesystem path from a URL, and 'to a chat' implies thread_id identifies the target conversation. It adds no format, example, or constraint detail for either parameter, so the compensation is only partial.

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 (send), resource (image file) and destination (a chat), which cleanly separates it from send_message (text) and set_profile_photo (profile mutation) without needing to name them. It stops short of explicit sibling differentiation, which keeps it out of 5 territory.

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 versus when-not guidance, no mention of the text alternative send_message, and no stated prerequisites such as the thread already existing or the file being accessible. The intended usage is only inferable from the words 'send ... to a chat'.

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