Skip to main content
Glama

Blitframe

Export HTML5 ad

export_html_ad
Idempotent

Queue an HTML5 ad of a succeeded H.264 MP4/HLS render for an ad network. Returns the ad with its id and status; asking again for the same ad while it is queued, being made, or ready with more than an hour left returns that one. Unless its status is already ready, call get_html_ad with waitSeconds until status is ready. The whole ad must be under 5 MB; for theTradeDesk the video must be below 1.1 MB, or at most 2.2 MB with tapToContinue. too_large gives the ad's size and the highest quality, or for a custom bitrate the bitrateKbps, that would fit. Ads are kept for 24 hours. At most 10 per workspace wait or are made at once (html_ad_limit).

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": {
      "renderId": "<renderId>"
    },
    "name": "export_html_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
clickUrlNoWhere a tap or click goes: an HTTPS URL without credentials. Required for adform, appLovin and unityAds.
platformNoThe ad network to package for.generic
renderIdYesRender id, from render or list_renders.
interactionNovideo plays the ad; tapToContinue asks for a tap first. Default: video, or tapToContinue on the playable networks, which require it (appLovin, unityAds, googleAppCampaigns, meta, tikTok, pangle, mintegral, moloco, liftoff).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: request coalescing while queued/rendering, per-platform size ceilings, tapToContinue raising the limit, the too_large error payload contents, 24-hour ad retention, and an html_ad_limit concurrency cap. Annotations only declare safety/idempotency; the description supplies the operational envelope.

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?

Front-loaded with the action and polling rule, then the failure constraints, with no filler sentences. Some sentences are densely packed and slightly telegraphic ('At most 10 per workspace wait or are made at once'), which costs a bit of readability but not content.

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

Completeness5/5

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

With no output schema, the description still reports what is returned (the ad with its id and status), what a failure looks like (too_large with size and a fitting quality/bitrate), and how long the artifact lives. Nothing an agent needs to call this correctly appears missing.

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 cross-parameter meaning the schema does not: theTradeDesk's lower byte budget and how interaction=tapToContinue changes the allowed size. It does not explain clickUrl's platform requirements itself, leaving that to the schema.

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 verb and resource ('Queue an HTML5 ad of a succeeded H.264 MP4/HLS render for an ad network'), including the precondition that the source render must have succeeded. It implicitly distinguishes itself from get_html_ad by describing queueing versus polling.

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

Usage Guidelines5/5

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

Gives explicit next-step routing ('Unless its status is already ready, call get_html_ad with waitSeconds until status is ready') and explains the reuse/dedup condition for repeat calls. Operational limits (5 MB, theTradeDesk 1.1/2.2 MB, 24-hour retention, 10 concurrent per workspace) tell the agent exactly when a call will succeed or fail.

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