Skip to main content
Glama

submit_creatives

Idempotent

<tool_description> Submit or update creative assets for an existing media buy. Required before activation. </tool_description>

<when_to_use> After create_media_buy returns approved status. Upload creative before activating. </when_to_use>

<combination_hints> create_media_buy (approved) → submit_creatives → activate. Creative types: product, recipe_pairing, editorial, service, raw. creative_ref takes a record UUID, not a link — asset and landing-page URLs go in creative_data. </combination_hints>

<output_format> Updated media buy with creative info attached. </output_format>

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": {
      "media_buy_id": "<media_buy_id>",
      "creative_type": "<creative_type>"
    },
    "name": "submit_creatives"
  }
}

Input Schema

NameRequiredDescriptionDefault
creative_refNoUUID of an existing record the creative points at (e.g. a product id). Not a link: put landing pages and asset links in creative_data.
media_buy_idYesMedia buy UUID
creative_dataNoCreative metadata (JSON)
creative_typeYesContent type of the creative. One of: product, recipe_pairing, editorial, service, raw.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / creative_data / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / creative_ref / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / media_buy_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. Changed3 schema fields changed
    • changedInput schema / properties / creative_ref / description
      Previous value: -"Creative asset URL"New value: +"UUID of an existing record the creative points at (e.g. a product id). Not a link: put landing pages and asset links in creative_data."
    • addedInput schema / properties / creative_ref / format
      Added value: +"uuid"
    • removedInput schema / properties / creative_ref / maxLength
      Removed value: -2048
  3. Changed4 schema fields changed
    • changedInput schema / properties / creative_type / description
      Previous value: -"Creative type (e.g. \"banner\", \"native\", \"snippet\")"New value: +"Content type of the creative. One of: product, recipe_pairing, editorial, service, raw."
    • addedInput schema / properties / creative_type / enum
      Added value: +[
      +  "product",
      +  "recipe_pairing",
      +  "editorial",
      +  "service",
      +  "raw"
      +]
    • removedInput schema / properties / creative_type / maxLength
      Removed value: -100
    • removedInput schema / properties / creative_type / minLength
      Removed value: -1
  4. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, openWorld=true, and the description does not contradict them; 'submit or update' is consistent with an idempotent non-destructive write. It adds genuinely useful behavior beyond the annotations: the hard gate that creatives must exist before activation, and the return shape ('updated media buy with creative info attached') which matters since there is no output schema. It does not say whether resubmission replaces or appends existing creatives, which is the main remaining ambiguity.

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?

Well front-loaded and sectioned: purpose first, then gating, then ordering, then format. The only redundancy is the creative type list appearing both in combination_hints and implicitly in the enum, plus the 'before activation' constraint being stated twice in near-identical wording.

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?

The workflow placement and return value are covered, but creative_data is a free-form object with additionalProperties and no documented shape, and the description never says what keys are expected for each creative type (product vs raw vs editorial). For a nested, open-ended payload, that gap leaves the agent guessing at the single most complex parameter.

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 100%, so the baseline is 3. The description reinforces that creative_ref is a record UUID rather than a URL and that asset and landing-page links belong in creative_data, but this information is already present in the schema's own property descriptions and the enum list repeats the creative_type enum verbatim, so it adds little new meaning.

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 pair (submit or update) and a specific resource (creative assets) scoped to an existing media buy, plus the gating rule 'required before activation.' An agent can distinguish this from create_media_buy (creates the buy) and activate (turns it on) without inspecting 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 Guidelines4/5

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

The when_to_use and combination_hints sections give a concrete prerequisite ('after create_media_buy returns approved status') and an explicit ordering chain create_media_buy → submit_creatives → activate, naming two real siblings. It stops short of stating when NOT to use it (e.g., for a media buy still pending approval, or to replace a creative via a different path), so it is strong but not exhaustive.

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.