Skip to main content
Glama
geopopos

NewsBreak MCP Server

by geopopos

Upload Ad Asset

newsbreak_upload_asset

Upload image, video, or GIF to NewsBreak CDN and get a CDN URL for use in ads. Optionally save to media library for reuse.

Instructions

Upload an image, video, or GIF asset to NewsBreak CDN.

The returned assetUrl can then be used when creating ads.

Args:

  • assetPath (string, required): Local file path of the asset

  • adAccountId (string, required): ID of the ad account

  • saveToMediaLibrary (boolean, optional): Save to Media Library for reuse

  • mediaName (string, optional): Name for the media (required if saveToMediaLibrary=true)

Returns:

  • assetUrl: CDN URL to use in ads

  • mediaId: Media library ID (if saved)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetPathYesLocal file path of the asset to upload
mediaNameNoMedia name (3-256 chars, required if saveToMediaLibrary=true)
adAccountIdYesID of the ad account
saveToMediaLibraryNoSave to account's Media Library

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already indicate this is a write, non-idempotent, non-destructive operation. The description adds useful behavioral context: the asset is uploaded to NewsBreak CDN, may be saved to the Media Library, and returns assetUrl/mediaId. However, it does not disclose potential side effects such as duplicate uploads, file size or format limits, or 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?

The description is front-loaded with the core purpose and uses a compact Args/Returns structure. It remains readable and avoids fluff, though the Args list repeats information already in the schema.

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?

There is no output schema, so the Returns section usefully supplies the expected result (assetUrl and mediaId). All parameters and the conditional requirement are covered in one place. It is complete enough for a straightforward upload tool, though minor operational details such as size limits or supported file types are absent.

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 the schema already documents all parameters. The description mostly restates the parameter meanings and the conditional relationship between saveToMediaLibrary and mediaName, which is also present in the schema. It adds little beyond the structured definition.

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 a specific action ('Upload an image, video, or GIF asset to NewsBreak CDN') and the downstream purpose ('The returned assetUrl can then be used when creating ads'). It distinguishes this tool from the campaign/ad-management siblings because none of them handle asset uploads.

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 gives clear workflow context by explaining that the returned assetUrl is intended for ad creation. It does not name explicit alternatives or exclusions, but among the listed siblings this is the only asset-upload tool, so the usage context is sufficiently clear.

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