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.

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": "build_dooh"
  }
}

Input Schema

NameRequiredDescriptionDefault
copyNo
assetsNo
formatNo
seatIdNo
campaignNo
creativeNo
seatNameNo
templateNo
accountIdNo
templatesNo
advertiserNo
campaignIdNo
copyPolicyNo
creativeIdNo
aiBudgetUsdNo
doohContextNo
advertiserIdNo
saveToStudioNo
sourceLocaleNo
targetMarketNo
contentLocaleNo
marketContextNo
strategyBriefNo
targetMarketsNo
contentLocalesNo
idempotencyKeyNo
deliveryProfileNo
directionReferenceNo
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. Changed2 schema fields changed
    • addedInput schema / properties / aiBudgetUsd
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 0.2,
      +  "type": "number"
      +}
    • addedInput schema / properties / directionReference
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "blueprintDigest": {
      +      "pattern": "^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    "revision": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "revision",
      +    "blueprintDigest"
      +  ],
      +  "type": "object"
      +}
  2. 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"
      +}
  3. 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"
      +}
  4. 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
  5. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations only declare readOnly=false, idempotent=true, destructive=false, openWorld=false. The description adds substantively beyond that: writes to Studio, creates billable AI usage, durable execution, mutation modes (validate_only/preview_only/execute), partial-failure policy (completed_items_not_rolled_back), deterministic idempotency-key derivation, and the requirement to pass seatId/seatName on the exact write call rather than relying on a remembered seat.

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 constraints are front-loaded, which is good, but the text repeats the title almost verbatim and then appends long generic orchestration boilerplate about assistantSummary, raw JSON, and human language that is not specific to this tool. There is real waste against a fairly long definition.

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

Completeness2/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-value explanation is correctly omitted, and the mutation/seat/idempotency behavior is well covered. However, for a 37-parameter, deeply nested tool with zero schema descriptions, the definition leaves most of the input surface unexplained, which is the dominant completeness gap.

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?

Schema description coverage is 0% across 37 parameters, so the description carries the full burden and mostly does not. It explains saveToStudio's default, idempotencyKey fallback behavior, and the seatId/seatName requirement, but says nothing about format, doohContext, copyPolicy, assets, template, approvedCopyVariants, designEvidenceContext, or the other large nested objects.

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') plus the scope of comparison and save behavior. It explicitly distinguishes itself from the Display sibling ('It does not route through Display build_ad') and states a hard constraint ('DOOH never contains CTA buttons').

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 usage context: default is save-the-editable-version, and explicit saveToStudio=false is the unsaved preview path; below-threshold creative review still retains a technically valid version without release approval. It names no alternative among the DOOH siblings (e.g. leanriq_build_dooh), but the routing exclusion against build_ad covers the main ambiguity.

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