Skip to main content
Glama

publish_to_meta

Publish approved image or video ads directly to Instagram and Facebook, using a public media URL and customizable caption.

Instructions

Publish an image (or video) to Instagram and/or Facebook. Use after a client approves an image ad variant from assemble_image_ad.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
captionYesPost caption (include hashtags here if desired).
media_urlYesPublic URL of the approved image or video to publish.
platformsYesTarget platforms: 'instagram', 'facebook', or both.
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action but does not disclose that publishing is immediate and irreversible, may require authenticated connections, or what the result/confirmation looks like. For a mutation tool, this is a significant gap.

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 concise sentences: the first states the core function, the second gives the usage trigger. There is no fluff, and the essential information is front-loaded.

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?

While the schema documents parameters well, the description omits critical behavioral context for a publishing tool: side effects (immediate public post, irreversibility), prerequisites (connected accounts), and expected return value. This makes the description incomplete for an agent to safely anticipate the tool's outcomes.

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?

The schema covers 100% of parameters with clear descriptions for media_url, platforms, and caption. The description adds workflow context (approved variant) but does not add parameter-level meaning beyond the schema. The baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (publish), the resource (image or video), and the target platforms (Instagram and/or Facebook). It also ties the tool to a specific workflow step (after client approval from assemble_image_ad), distinguishing it from scheduling or drafting tools.

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 provides an explicit when-to-use condition: 'Use after a client approves an image ad variant from assemble_image_ad.' This gives clear context. However, it does not mention when not to use the tool or compare it with immediate siblings like publish_now or schedule_post, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AI-Product-Allen-Yu/viralspin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server