Skip to main content
Glama

download_message

Save the photos, videos, or audio from a single Instagram direct message to local disk using its chat and message ID.

Instructions

Save the photos, videos, or audio of one direct message (its id from read_messages) to the local disk.

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": {
      "chat": "<chat>",
      "message_id": "<message_id>"
    },
    "name": "download_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYes
overwriteNo
message_idYes
destinationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the core effect (writing media to local disk), but says nothing about where files land when destination is empty, what happens for a message with no media, whether existing files are replaced, or any auth/permission requirements.

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 tight sentence with no filler; the message-id sourcing hint is placed directly where it is needed. Slightly under-specified rather than padded, which is the safer failure mode.

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?

For a 4-parameter file-writing tool with no annotations, no output schema, and zero schema coverage, this definition is too thin. An agent still cannot predict the destination path format, overwrite semantics, or failure behavior for messages lacking media.

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%, so all four parameters rely on the description. It clarifies message_id (obtained from read_messages) and hints at destination ('to the local disk'), but never explains the required chat parameter or overwrite, leaving half the parameters undocumented in both places.

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 (save) and a specific resource (photos, videos, or audio of one direct message) plus the scope (one message, by id). This inherently separates it from download_post, though it never names that sibling explicitly.

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?

The parenthetical 'its id from read_messages' gives useful implied chaining guidance on how to obtain the required input. However, there is no explicit when-to-use/when-not-to-use statement and no mention of download_post as the alternative for post media.

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