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. (deprecated alias)

leanriq_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.. Deprecated alias for build_dooh. 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/5.0
Behavior5/5

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

Annotations only declare write/idempotent/non-destructive, and the description goes well beyond that: it flags billable AI usage, durable execution, partial-failure policy (completed_items_not_rolled_back), the below-threshold review path that retains a valid version without release approval, the seat requirement for writes, and deterministic idempotency-key derivation. This is rich behavioral context an agent cannot get from 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.

Conciseness3/5

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

The purpose and deprecation notice are front-loaded and the operational metadata earns its place, but the description verbatim-restates the title and appends generic orchestration boilerplate ('Never display raw JSON', 'Use assistantSummary first', ID mention policy) that is cross-cutting policy rather than 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?

An output schema exists, so return values need no explanation, and the write-safety essentials (billable, durable, idempotency, seat requirement, partial-failure policy) are covered. However, for a 35-parameter creative-building tool the parameter semantics remain largely undisclosed, leaving real invocation gaps even if the tool is deprecated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 35 parameters at 0% schema description coverage, the description documents only a handful: saveToStudio, seatId/seatName, idempotencyKey, and the CTA exclusion for copy. The bulk of the surface (format, assets, doohContext, marketContext, locale fields, templates) is left unexplained in both schema and description, so it fails to compensate for the coverage gap.

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 ('Build a DOOH-native poster for an existing Studio creative') and explicitly differentiates from siblings: it names build_ad as the Display path it does not use and identifies itself as the deprecated alias of build_dooh. An agent can place it against build_ad/build_videoad/build_dooh without opening a 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?

Gives clear selection context: it is a deprecated alias for build_dooh, saveToStudio=false means an unsaved preview, and mutation modes (validate_only/preview_only/execute) tell the agent how to invoke it. It stops short of an explicit 'prefer build_dooh instead' instruction, leaving the deprecation implication to be inferred.

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