Skip to main content
Glama

Attach media to an existing post

attach_media_to_post
Destructive

Add an already hosted image/video URL to a post that exists. Handy after a video job finishes: create the post first, generate the video, then attach it. Docs: https://ignix.social/help/content-library

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": {
      "postId": "<postId>",
      "url": "<url>"
    },
    "name": "attach_media_to_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic https URL of the media.
postIdYes
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is largely covered. The description adds the hosted-URL precondition and workflow ordering but never explains what the destructive hint means in practice (does attaching replace existing media on the post?), what permissions are needed, or how the annotation's idempotentHint=false relates to the supplied idempotencyKey retry contract. Meaningful gaps remain for a mutation tool.

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?

Three short sentences, front-loaded with the core action followed by the motivating workflow, then a docs link. Little waste, though the docs URL contributes nothing an agent can act on mid-call.

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?

Annotations cover the mutation/idempotency safety profile and there is no output schema, so the description needn't explain return values. However, for an attach operation on an existing post, the description omits whether attaching replaces or appends existing media, whether it is reversible, and any constraints on the media type or count – all of which an agent should know before invoking a destructive tool.

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 67%: url and idempotencyKey are documented in-schema, but postId carries no description. The description partially compensates by implying postId must reference a post that already exists and that the URL must be a hosted image/video, but it adds no detail on post id format, media limits (count per post, size, aspect), or when to supply idempotencyKey. Baseline 3 for the coverage level.

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?

"Add an already hosted image/video URL to a post that exists" gives a specific verb (add/attach) and resource (media on an existing post), and the "already hosted URL" qualifier implicitly separates it from upload_media / import_media which handle local files. It stops short of naming a sibling or stating the boundary explicitly, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies a concrete when-to-use scenario: "Handy after a video job finishes: create the post first, generate the video, then attach it," which tells the agent the correct ordering relative to create_post and the media-generation job. It gives no explicit exclusions (e.g., use upload_media instead if the file is local), which keeps it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources