Skip to main content
Glama

Export an existing persisted Studio CreativeDocument version to JPEG, PNG, or a version-bound HTML5 ZIP. HTML5 supports only the declared platform packaging profiles and does not generate or replace editable creative state.

export_creative
Idempotent

Export an existing persisted Studio CreativeDocument version to JPEG, PNG, or a version-bound HTML5 ZIP. HTML5 supports only the declared platform packaging profiles and does not generate or replace editable creative state.. Classification: writes to Studio. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. The returned JSON is internal application state for LeanrIQ and ChatGPT orchestration. Use assistantSummary first when responding to the user. Never display raw JSON, data, or meta unless the user explicitly asks for raw JSON. Mention IDs only when useful for follow-up or debugging. Prefer concise, human language, highlight the most useful insight, and suggest the next best LeanrIQ action. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_creative"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefNo
forceNo
inputNo
assetsNo
promptNo
seatIdNo
taskIdNo
assetIdNo
outputsNoOptional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output.
audienceNo
campaignNo
creativeNo
flightIdNo
seatNameNo
templateNo
accountIdNo
objectiveNo
advertiserNo
campaignIdNo
creativeIdNo
templateIdNo
creativeIdsNo
persistenceNo
advertiserIdNo
instructionsNo
sourceLocaleNo
targetMarketNo
contentLocaleNo
marketContextNo
targetMarketsNo
contentLocalesNo
idempotencyKeyNo
requestedFormatsNo
defaultContentLocaleNo
marketLanguageProfileNo
resolvedContentLocaleNo
skipTraffickedRebuildNo
languageVariantGroupIdNo
requestedOutputLocalesNo
supportedContentLocalesNo

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes
errorNo
statusYes
assistantSummaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed34 schema fields changed
    • removedInput schema / properties / accountId / maxLength
      Removed value: -240
    • removedInput schema / properties / accountId / minLength
      Removed value: -1
    • addedInput schema / properties / advertiser
      Added value: +{}
    • addedInput schema / properties / advertiserId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / assetId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / assets
      Added value: +{}
    • addedInput schema / properties / audience
      Added value: +{}
    • addedInput schema / properties / brief
      Added value: +{}
    • addedInput schema / properties / campaign
      Added value: +{}
    • addedInput schema / properties / campaignId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / creative
      Added value: +{}
    • removedInput schema / properties / creativeId / maxLength
      Removed value: -240
    • removedInput schema / properties / creativeId / minLength
      Removed value: -1
    • addedInput schema / properties / creativeIds
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / flightId / maxLength
      Removed value: -240
    • removedInput schema / properties / flightId / minLength
      Removed value: -1
    • addedInput schema / properties / force
      Added value: +{
      +  "type": "boolean"
      +}
    • removedInput schema / properties / format
      Removed value: -{
      -  "default": "jpeg",
      -  "enum": [
      -    "jpeg",
      -    "png"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / input
      Added value: +{}
    • addedInput schema / properties / instructions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / maxBytes
      Removed value: -{
      -  "exclusiveMinimum": 0,
      -  "maximum": 9007199254740991,
      -  "type": "integer"
      -}
    • addedInput schema / properties / objective
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / outputs
      Added value: +{
      +  "description": "Optional editable/static JPEG/PNG delivery requirements. Studio persistence is required for static output.",
      +  "items": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "type": {
      +            "const": "editable",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "format": {
      +            "enum": [
      +              "jpeg",
      +              "png"
      +            ],
      +            "type": "string"
      +          },
      +          "maxBytes": {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          "quality": {
      +            "maximum": 100,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "type": {
      +            "const": "static",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "enum": [
      +          "editable",
      +          "static_jpeg",
      +          "static_png"
      +        ],
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "maxItems": 8,
      +  "type": "array"
      +}
    • addedInput schema / properties / persistence
      Added value: +{
      +  "enum": [
      +    "preview_only",
      +    "save_to_studio"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / prompt
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / quality
      Removed value: -{
      -  "maximum": 100,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • addedInput schema / properties / requestedFormats
      Added value: +{
      +  "items": {},
      +  "type": "array"
      +}
    • addedInput schema / properties / skipTraffickedRebuild
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / taskId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / template
      Added value: +{}
    • addedInput schema / properties / templateId
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / versionId
      Removed value: -{
      -  "maxLength": 240,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "creativeId"
      -]
  2. Changed1 schema field changed
    • addedInput schema / properties / flightId
      Added value: +{
      +  "maxLength": 240,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Added

TDQS

A3.5/5.0
Behavior5/5

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

Beyond the annotations, the text discloses execution mode (synchronous), forbidden task support, the three mutation modes (validate_only, preview_only, execute), and the partial failure policy (completed_items_not_rolled_back). It also explains deterministic retry-key derivation when idempotencyKey is omitted and the hard requirement that seatId or seatName appear on the exact mutation call rather than being remembered. That is substantive operational context the annotations do not carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is correctly front-loaded, but the body is a dense policy block with a stray double period after 'state..'. Several sentences are generic response-formatting boilerplate ('Never display raw JSON', 'Use assistantSummary first') that is not specific to exporting and dilutes the tool-specific content.

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

Completeness3/5

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

For a 40-parameter mutation tool with an output schema present, the description covers behavior and return-handling well but leaves the input surface largely unexplained. An agent could call it, yet would be guessing on most of the 40 fields, which is a meaningful gap given near-zero schema coverage.

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?

With 40 parameters at 3% schema description coverage, the schema explains almost nothing, so this dimension has real weight. The description does add meaning for seatId/seatName (must be supplied per-call for mutations) and idempotencyKey (auto-derived deterministic retry key), but it says nothing about the large majority of fields such as brief, prompt, outputs quality/maxBytes, persistence, or the locale/market fields, leaving most of the surface undocumented.

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 opening sentence gives a specific verb (export) and resource (persisted Studio CreativeDocument version) with concrete output formats, and clarifies that it is version-bound rather than generative. It does not, however, distinguish itself from the nearest sibling, export_trafficked_assets, which an agent could plausibly confuse with this tool.

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

Usage Guidelines2/5

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

There is one negative constraint ('does not generate or replace editable creative state') that tells the agent what this is not, but no positive when-to-use condition and no explicit routing to export_trafficked_assets, get_asset, or generate_preview_links. The agent must infer selection from the purpose line alone.

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