Skip to main content
Glama

Build a DOOH-native poster for an existing Studio creative, compare exact native renders and save the complete editable working version by default. Below-threshold creative review retains a technically valid version without release approval. Explicit saveToStudio=false is an unsaved preview. DOOH never contains CTA buttons. It does not route through Display build_ad.

build_dooh
Idempotent

Build a DOOH-native poster for an existing Studio creative, compare exact native renders and save the complete editable working version by default. Below-threshold creative review retains a technically valid version without release approval. Explicit saveToStudio=false is an unsaved preview. DOOH never contains CTA buttons. It does not route through Display build_ad.. Classification: writes to Studio, creates billable AI usage. Execution: durable. Task support: optional. 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.

Input Schema

NameRequiredDescriptionDefault
copyNo
assetsNo
formatNo
seatIdNo
campaignNo
creativeNo
seatNameNo
templateNo
accountIdNo
templatesNo
advertiserNo
campaignIdNo
copyPolicyNo
creativeIdNo
doohContextNo
advertiserIdNo
saveToStudioNo
sourceLocaleNo
targetMarketNo
contentLocaleNo
marketContextNo
strategyBriefNo
targetMarketsNo
contentLocalesNo
idempotencyKeyNo
deliveryProfileNo
approvedCopyVariantsNo
defaultContentLocaleNo
designEvidenceContextNo
marketLanguageProfileNo
resolvedContentLocaleNo
languageVariantGroupIdNo
requestedOutputLocalesNo
expectedActiveVersionIdNo
supportedContentLocalesNo

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes
errorNo
statusYes
assistantSummaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / approvedCopyVariants
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "body": {
      +        "type": "string"
      +      },
      +      "claimReferences": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "cta": {
      +        "type": "string"
      +      },
      +      "eyebrow": {
      +        "type": "string"
      +      },
      +      "headline": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "legal": {
      +        "type": "string"
      +      },
      +      "proof": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
    • addedInput schema / properties / assets / properties / images / items / properties / alphaPadding
      Added value: +{
      +  "properties": {
      +    "bottom": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "left": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "right": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "top": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "left",
      +    "right",
      +    "top",
      +    "bottom"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / assets / properties / images / items / properties / visibleBounds
      Added value: +{
      +  "properties": {
      +    "height": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 1,
      +      "type": "number"
      +    },
      +    "width": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 1,
      +      "type": "number"
      +    },
      +    "x": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "y": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "y",
      +    "width",
      +    "height"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / assets / properties / logos / items / properties / alphaPadding
      Added value: +{
      +  "properties": {
      +    "bottom": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "left": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "right": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "top": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "left",
      +    "right",
      +    "top",
      +    "bottom"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / assets / properties / logos / items / properties / visibleBounds
      Added value: +{
      +  "properties": {
      +    "height": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 1,
      +      "type": "number"
      +    },
      +    "width": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 1,
      +      "type": "number"
      +    },
      +    "x": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "y": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "y",
      +    "width",
      +    "height"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / copy / properties / approvedCopyVariants
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "body": {
      +        "type": "string"
      +      },
      +      "claimReferences": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "cta": {
      +        "type": "string"
      +      },
      +      "eyebrow": {
      +        "type": "string"
      +      },
      +      "headline": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "legal": {
      +        "type": "string"
      +      },
      +      "proof": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
    • addedInput schema / properties / copy / properties / legal
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / copyPolicy
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "editableRoles": {
      +      "items": {
      +        "enum": [
      +          "headline",
      +          "body",
      +          "cta",
      +          "legal",
      +          "eyebrow",
      +          "proof"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "lockedRoles": {
      +      "items": {
      +        "enum": [
      +          "headline",
      +          "body",
      +          "cta",
      +          "legal",
      +          "eyebrow",
      +          "proof"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "requiredRoles": {
      +      "items": {
      +        "enum": [
      +          "headline",
      +          "body",
      +          "cta",
      +          "legal",
      +          "eyebrow",
      +          "proof"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / designEvidenceContext
      Added value: +{
      +  "properties": {
      +    "brand": {
      +      "properties": {
      +        "constraints": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "tokens": {
      +          "additionalProperties": {},
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        "version": {
      +          "anyOf": [
      +            {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "number"
      +                }
      +              ]
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "campaign": {
      +      "properties": {
      +        "audience": {},
      +        "objective": {},
      +        "proposition": {}
      +      },
      +      "type": "object"
      +    },
      +    "copy": {
      +      "properties": {
      +        "approvedCopyVariants": {},
      +        "body": {},
      +        "claimReferences": {},
      +        "claims": {},
      +        "copyPolicy": {},
      +        "cta": {},
      +        "disclaimer": {},
      +        "eyebrow": {},
      +        "headline": {},
      +        "legal": {},
      +        "lockedTexts": {},
      +        "mandatoryElements": {},
      +        "supportingCopy": {}
      +      },
      +      "type": "object"
      +    },
      +    "craftPrecedents": {
      +      "default": [],
      +      "items": {
      +        "additionalProperties": {},
      +        "default": null,
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "facts": {
      +      "default": [],
      +      "items": {
      +        "default": null,
      +        "properties": {
      +          "authority": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "capturedAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "evidenceId": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "extractedFacts": {
      +            "items": {},
      +            "type": "array"
      +          },
      +          "id": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "observedAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "publishedAt": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "sourceId": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "sourceRef": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "sourceType": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "sourceUrl": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "statement": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "summary": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "title": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "url": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "locale": {
      +      "type": "string"
      +    },
      +    "opportunity": {
      +      "anyOf": [
      +        {
      +          "properties": {
      +            "audienceContext": {
      +              "type": "string"
      +            },
      +            "evidenceIds": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "evidenceSupport": {
      +              "items": {
      +                "properties": {
      +                  "evidenceId": {
      +                    "type": "string"
      +                  },
      +                  "quote": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "evidenceId",
      +                  "quote"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "measurableHypothesis": {},
      +            "messagingTerritory": {
      +              "type": "string"
      +            },
      +            "objective": {
      +              "type": "string"
      +            },
      +            "proposedMessage": {
      +              "type": "string"
      +            },
      +            "reviewAt": {
      +              "type": "string"
      +            },
      +            "supportingEvidenceIds": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "title": {
      +              "type": "string"
      +            },
      +            "visualDirection": {
      +              "type": "string"
      +            },
      +            "visualTerritory": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "schemaVersion": {
      +      "const": "design-evidence-context-v1",
      +      "type": "string"
      +    },
      +    "scope": {
      +      "properties": {
      +        "advertiserId": {
      +          "type": "string"
      +        },
      +        "tenantId": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "schemaVersion"
      +  ],
      +  "type": "object"
      +}
  2. Changed12 schema fields changed
    • addedInput schema / properties / contentLocale
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / contentLocales
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / defaultContentLocale
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / languageVariantGroupId
      Added value: +{
      +  "maxLength": 160,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / marketContext
      Added value: +{
      +  "properties": {
      +    "currency": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "targetMarket": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "targetMarkets": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "timeZone": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / marketLanguageProfile
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / requestedOutputLocales
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / resolvedContentLocale
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / sourceLocale
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / supportedContentLocales
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / targetMarket
      Added value: +{
      +  "maxLength": 160,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / targetMarkets
      Added value: +{
      +  "items": {
      +    "maxLength": 160,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / deliveryProfile
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / expectedActiveVersionId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedInput schema / properties / saveToStudio / default
      Previous value: -falseNew value: +true
  4. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, it discloses billable AI usage, durable execution, mutation modes (validate_only/preview_only/execute), and a partial-failure policy that completed items are not rolled back. It also clarifies idempotency-key derivation and the requirement that seatId/seatName be supplied on this exact call for writes when multiple seats are authorised. This is rich behavioral context that annotations alone (readOnly/destructive/idempotent hints) do not convey.

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 opening sentences are well front-loaded and dense with useful constraints, but the block is padded with generic orchestration guidance (assistantSummary usage, 'never display raw JSON', 'prefer concise human language') that is not specific to selecting or invoking this tool. Several sentences do not earn their place in a tool definition.

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?

An output schema exists so return values need not be described, and the safety/idempotency profile is covered. However, for a 35-parameter, zero-required, deeply nested mutation with 0% schema coverage, the description only addresses a handful of parameters; an agent still lacks guidance on the core payload (copy, assets, format, doohContext). Adequate but with clear gaps.

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 0% across 35 nested parameters, so the description must carry the load. It meaningfully explains saveToStudio (false = unsaved preview), seatId/seatName (required on the write when multiple seats exist), and idempotencyKey fallback behavior, but the large majority of parameters (copy, assets, format, doohContext, locales, designEvidenceContext, etc.) are left undocumented. It compensates for a few high-impact parameters but not the breadth of 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?

The description states a specific verb and resource (build a DOOH-native poster from an existing Studio creative) plus its two key behaviors: comparing native renders and saving the editable working version by default. It explicitly differentiates itself from the sibling build_ad ('does not route through Display build_ad') and rules out CTA buttons, so an agent can place it against build_ad/build_videoad without opening the schema.

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?

It gives clear operating conditions: default saves, explicit saveToStudio=false yields an unsaved preview, and below-threshold review retains a technically valid non-released version. It also names the medium it is not (Display build_ad). It stops short of stating when to choose DOOH over the other build_* siblings for a given campaign.

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