Skip to main content
Glama

meta_upload_image

Validates and uploads a local JPEG or PNG to a Meta ad account and returns a reusable image hash; upload only occurs when confirm=true.

Instructions

Validate and upload one local JPEG/PNG to a Meta ad account, returning the reusable image hash. No upload occurs until confirm=true.

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": {
      "image_path": "<image_path>"
    },
    "name": "meta_upload_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to upload the image to Meta.
account_idNoMeta ad account ID. Uses the active account or META_AD_ACCOUNT_ID when omitted.
image_pathYesLocal JPEG or PNG path beneath BURNR8_MEDIA_ROOT (defaults to the server working directory)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the two most important behaviors: a validation pass happens before upload, and nothing is sent to Meta unless confirm=true. Permissions, size/format limits, and what validation actually checks remain undisclosed, which keeps it short of a 5.

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 tightly written sentences with zero waste: the capability and its return value come first, and the confirm gate is front-loaded as the second sentence so the agent sees the safety condition before calling.

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 three-parameter upload tool with an output schema covering the returned hash, the description plus schema covers nearly everything an agent needs. The only real gap is behavioral detail around validation failures and any file constraints the schema does not state.

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 100%, so account_id, image_path, and confirm are already documented, including the BURNR8_MEDIA_ROOT constraint. The description reinforces confirm's consequence but adds no new syntax, format, or fallback semantics beyond the schema, so the baseline 3 applies.

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?

States a specific compound verb (validate and upload), a precisely scoped resource (one local JPEG/PNG), the target system (a Meta ad account), and the artifact produced (the reusable image hash). The Meta qualifier also separates it from the Reddit upload siblings without needing to name them.

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 mention of a 'reusable image hash' implies the workflow (upload first, then reference the hash when building ads), and the confirm gate tells the agent the call is two-phase. However, there is no explicit when-to-use guidance and no comparison to alternatives such as create_image_extension or the Reddit upload tools.

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

Deploy Server

Other Tools