Skip to main content
Glama

render_asset

Render films from pre-formed SirenSeed bodies (advanced). FILMS ONLY: images are painted from a brief, so for any image, ad or creative call create_campaign with asset_type=card (a still here returns 422 stills_use_a_brief). Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, music?, direction?, brand_override?}. Prefer create_campaign unless the user has concrete seed JSON. Returns run ids, estimated_seconds and poll_after_seconds; wait that long, then get_run, or pass callback_url and Siren pings it once per run when each ends.

THE DIRECTOR: every film body is edited against Brand DNA before it renders. It keeps the film and your brand-specific lines, rewrites empty, generic or reference-body copy, and never touches media. director in the response says what changed. direction is a free line ("dark, club energy, fast") that steers words, pace and music. A film that cannot use what you sent returns 422 film_does_not_fit with a fix and films_that_fit.

ANY BRAND: put brand_override={"name": "Acme", "site": "acme.com", "logo_url": "https://acme.com/logo.png", "primary": "#FF4400", "accent": "#111111"} on an item to render it for a brand that is not this workspace's own. With a name it is a clean slate: none of this workspace's logo, mascot, font, handle, screenshots or stills are used. Media slots take only URLs you uploaded with upload_media.

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": {
      "items": "<items>"
    },
    "name": "render_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoHuman-readable name for the asset or run.
itemsYesPre-formed SirenSeed film bodies to render (films only; images go through create_campaign). Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, music?, direction?, brand_override?}. music = a bed track_id (omit and the bed follows the film and brand). direction = one free line that steers words, pace and music. brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}.
callback_urlNoInstead of polling: an https URL Siren POSTs to once when the run ends, with event run.completed (asset_url, caption) or run.failed (error). Signed with callback_secret: Standard Webhooks headers (webhook-id, webhook-timestamp, webhook-signature) plus X-Signature-256 (hex HMAC-SHA256 of the raw body). If your harness can make a webhook address for you, pass it here and wait for the ping.
callback_secretNoSecret for the callback signature, 16 to 200 characters. Omit and Siren mints one, returned once as callback_secret.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / callback_secret
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Secret for the callback signature, 16 to 200 characters. Omit and Siren mints one, returned once as callback_secret."
      +}
    • addedInput schema / properties / callback_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Instead of polling: an https URL Siren POSTs to once when the run ends, with event run.completed (asset_url, caption) or run.failed (error). Signed with callback_secret: Standard Webhooks headers (webhook-id, webhook-timestamp, webhook-signature) plus X-Signature-256 (hex HMAC-SHA256 of the raw body). If your harness can make a webhook address for you, pass it here and wait for the ping."
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / items / description
      Previous value: -"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, music?, direction?, brand_override?}. music = a bed track_id (omit and the bed follows the film and brand). direction = one free line that steers words, pace and music. brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}."New value: +"Pre-formed SirenSeed film bodies to render (films only; images go through create_campaign). Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, music?, direction?, brand_override?}. music = a bed track_id (omit and the bed follows the film and brand). direction = one free line that steers words, pace and music. brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}."
  3. Changed1 schema field changed
    • changedInput schema / properties / items / description
      Previous value: -"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, music?, brand_override?}. music = a bed track_id (omit and the bed follows the brand archetype). brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}."New value: +"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, music?, direction?, brand_override?}. music = a bed track_id (omit and the bed follows the film and brand). direction = one free line that steers words, pace and music. brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}."
  4. Changed1 schema field changed
    • changedInput schema / properties / items / description
      Previous value: -"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, brand_override?}. brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}."New value: +"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, music?, brand_override?}. music = a bed track_id (omit and the bed follows the brand archetype). brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}."
  5. Changed1 schema field changed
    • changedInput schema / properties / items / description
      Previous value: -"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?}."New value: +"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?, brand_override?}. brand_override with a name = render for ANOTHER brand, clean slate: {name, site, logo_url, primary, accent, secondary, tagline, font, x_handle}."
  6. Changed2 schema fields changed
    • addedInput schema / properties / items / description
      Added value: +"Pre-formed SirenSeed bodies to render. Each item: {output_type, channel, seed_body, archetype?, family?, surface?, caption?, voice_id?}."
    • addedInput schema / properties / name / description
      Added value: +"Human-readable name for the asset or run."
  7. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false); the description adds substantial behavior beyond that: the Director rewrites empty/generic copy against Brand DNA but never touches media, brand_override with a name produces a clean slate, media slots accept only URLs from upload_media, and results arrive via polling with estimated_seconds/poll_after_seconds or via callback_url ping. Nothing contradicts the annotations.

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-loads the films-only constraint before anything else and uses headed blocks (THE DIRECTOR, ANY BRAND) that scan well. It is dense and runs long, with some repetition of the item shape between prose and schema, but nearly every sentence carries operational information.

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?

For a non-idempotent mutating render tool with an output schema and four params, the description covers the async lifecycle (poll vs callback, with timing fields), the transformation the Director applies, the error codes with remediation hints, and cross-brand rendering. Nothing an agent needs to invoke it correctly is 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 baseline is 3, but the description adds real meaning: direction is "a free line that steers words, pace and music," music follows the film and brand if omitted, and brand_override with a name means none of the workspace's logo/mascot/font/stills are used. It stops short of explaining name or callback_secret beyond what the schema already says.

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?

Opens with a specific verb and resource ("Render films from pre-formed SirenSeed bodies") and immediately hard-scopes it ("FILMS ONLY"), naming the sibling it is not for — images go through create_campaign with asset_type=card. An agent can distinguish this from create_campaign without opening either schema.

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 when-to-use ("Prefer create_campaign unless the user has concrete seed JSON"), explicit when-not (any image/ad/creative, with the 422 stills_use_a_brief consequence stated), and names the alternative tool for each case. It also documents the failure path (422 film_does_not_fit with fix and films_that_fit) so the agent knows what to do when the body does not apply.

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.