Skip to main content
Glama

Blitframe

Get HTML5 ad

get_html_ad
Read-onlyIdempotent

Get an HTML5 ad: status queued, building, ready (url downloads one index.html or an ad.zip, as fileName says; the link lasts up to an hour, call again for a fresh one) or failed (error says why).

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>",
      "htmlAdId": "<htmlAdId>"
    },
    "name": "get_html_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlAdIdYesHTML5 ad id, from export_html_ad.
renderIdYesThe render the ad was made from.
waitSecondsNoSeconds to hold the answer until the ad is ready or failed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses genuinely useful behavior: the URL is time-limited (about an hour) and must be re-fetched for a fresh link, and failures surface a reason in 'error'. That expiring-link caveat is the kind of behavior an agent cannot infer from annotations alone, though auth or rate-limit behavior is not covered.

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?

One dense sentence, front-loaded with the resource and immediately followed by the state list, so the most decision-relevant information comes first. The nested parenthetical for the 'ready' case is slightly hard to parse but carries no wasted sentences.

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?

With no output schema, the description compensates by explaining the returned fields (url, fileName, error) and their semantics, which is the key gap it needed to fill for a 3-parameter retrieval tool. The dangling 'as fileName says' reference and the absence of any polling-timing advice leave a small residual gap.

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 coverage is 100%, so both required IDs and waitSeconds are already documented in the schema, making 3 the baseline. The description adds no new meaning about the parameters and instead references a 'fileName' value that is not a declared input, which is unhelpful here.

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?

The description names a specific resource (an HTML5 ad) and enumerates the four states it can return (queued, building, ready, failed), which tells an agent exactly what a call yields. It does not directly contrast with siblings like export_html_ad or get_download_archive, but the state-machine framing makes the operation distinct.

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?

Usage is implied rather than stated: the 'call again for a fresh one' clause signals a polling pattern, and the htmlAdId schema note points back to export_html_ad. There is no explicit when-to-use/when-not guidance, and the description never mentions the waitSeconds parameter as a way to avoid polling.

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