Skip to main content
Glama

Socializioz — AI Social Media Manager

Attach Media to Post

invoke_attach_assets_to_post

Attach media to a DRAFT with Asset IDs or a real HTTPS file URL (images up to 20MB; videos 50MB). Inline Base64 is an optional 2MB image fallback only; do not compress or retry unresolved file references.

Input Schema

NameRequiredDescriptionDefault
fileNoClient-provided HTTPS file reference; never invent.
post_idYesSocializioz post ID.
file_urlNoPublic HTTPS media URL for this draft. (format: "uri")
filenameNoOriginal media filename.
asset_idsNoExisting workspace Asset IDs.
mime_typeNoClaimed image MIME; checked against bytes.
base64_dataNoPNG/JPEG/WebP/GIF Base64 or data URI (max 2MB decoded). Requires original bytes; never fabricate or combine with file/file_url. (minLength: 1; maxLength: 2796300)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / asset_ids / description
      Previous value: -"Optional existing Socializioz asset IDs."New value: +"Existing workspace Asset IDs."
    • addedInput schema / properties / base64_data
      Added value: +{
      +  "description": "PNG/JPEG/WebP/GIF Base64 or data URI (max 2MB decoded). Requires original bytes; never fabricate or combine with file/file_url. (minLength: 1; maxLength: 2796300)",
      +  "type": "string"
      +}
    • changedInput schema / properties / file / description
      Previous value: -"Optional host-provided file reference. Use only when the MCP client actually supplies it; never fabricate local paths or assume a chat attachment is auto-injected."New value: +"Client-provided HTTPS file reference; never invent."
    • changedInput schema / properties / file_url / description
      Previous value: -"Optional public HTTPS media URL to copy into the authenticated draft's workspace. (format: \"uri\")"New value: +"Public HTTPS media URL for this draft. (format: \"uri\")"
    • changedInput schema / properties / filename / description
      Previous value: -"Optional original filename for file_url."New value: +"Original media filename."
    • addedInput schema / properties / mime_type
      Added value: +{
      +  "description": "Claimed image MIME; checked against bytes.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the generic mutation profile (readOnly=false, destructive=false, non-idempotent, open-world), so the description carries the real burden and delivers: size ceilings per media type (20MB images, 50MB videos, 2MB decoded base64), mode precedence, and explicit failure guidance against retry loops. It does not state what happens on partial failure, whether the post must be unpublished/approved, or what the call 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?

Two sentences, zero filler, and the primary action plus its draft constraint are front-loaded before the size limits and the fallback rule. Every clause carries a constraint an agent would otherwise guess at.

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

Completeness4/5

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

For a 7-parameter mutation tool with a nested object and no output schema, the description covers the operational essentials: valid input modes, size ceilings, fallback rules, and retry/compression prohibitions. It stops short of describing the success response or where the resulting asset ordering lands, which an agent may want given the sibling reorder tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: per-type size limits, the precedence of asset_ids/file_url over base64_data, and that base64 is image-only and fallback-only. It does not explain the relationship between the nested 'file' object and the flat file_url/filename fields, which remains ambiguous across 7 parameters.

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?

Names a specific verb and resource ('Attach media to a DRAFT') and constrains the target to a draft, which separates it from publish/schedule operations. It does not explicitly name the sibling operations it is adjacent to (detach, reorder, import_media_from_url), so an agent must infer differentiation from the name alone.

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?

States the precondition (target must be a DRAFT) and establishes a preference order across input modes: Asset IDs or a real HTTPS URL first, with Inline Base64 described as an 'optional 2MB image fallback only.' It adds a negative instruction against compressing or retrying unresolved file references, but never points to a sibling tool such as media preflight for validation of an unresolved reference.

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