Save marketing item
Loading server catalog…. Download catalog
https://app.advarde.com/mcpAvailable subject to your connection’s permissions.
Description: Save supplied content, without generating text. Updates require the current revision. Changes are local to Advarde and do not publish ads. Fetch schemas via tool discovery.
Method: tools/call · ads_save_marketing_item
Output: Tool data is returned in result.structuredContent and as JSON text in result.content. Inspect result.isError before using the result. Individual output fields depend on the operation.
Access: Requires the applicable write scopes, workspace role, and account permissions.
Authentication
Use an MCP access token from MCP connections, or connect through OAuth. Send your token in the Authorization: Bearer header.
For full protocol initialization and tool discovery, use an MCP client. These examples show individual JSON-RPC requests.
Tool arguments
Send these fields inside params.arguments. The tool name is sent as params.name.
item_idstringoptional"uuid"expected_revisionintegeroptional1kindenumrequired["brand","brief","playbook","inspiration","batch","creative"]namestringrequired1maxLength: 200collectionstringoptional0maxLength: 200tagsarrayoptional0maxItems: 30EXPAND TAGS
Each array item
{
"type": "string",
"minLength": 1,
"maxLength": 100
}dataschemarequiredEXPAND DATA
anyOf · schema 1
voicestringrequired0maxLength: 5000audiencestringrequired0maxLength: 5000approved_claimsstringrequired0maxLength: 5000restrictionsstringrequired0maxLength: 5000websitestringoptional"uri"maxLength: 2048pattern: "^https://"{
"type": "object",
"properties": {
"voice": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"audience": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"approved_claims": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"restrictions": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"website": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
}
},
"required": [
"voice",
"audience",
"approved_claims",
"restrictions"
],
"additionalProperties": false
}anyOf · schema 2
productstringrequired0maxLength: 5000audiencestringrequired0maxLength: 5000offerstringrequired0maxLength: 5000objectivestringrequired0maxLength: 5000landing_pagestringrequired"uri"maxLength: 2048pattern: "^https://"constraintsstringrequired0maxLength: 5000reference_idsarrayoptional0maxItems: 50EXPAND REFERENCE_IDS
Each array item
{
"type": "string",
"format": "uuid"
}{
"type": "object",
"properties": {
"product": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"audience": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"objective": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"landing_page": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"constraints": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"reference_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"minItems": 0,
"maxItems": 50
}
},
"required": [
"product",
"audience",
"offer",
"objective",
"landing_page",
"constraints"
],
"additionalProperties": false
}anyOf · schema 3
guidancestringrequired1maxLength: 20000evidenceenumrequired["general_guidance","account_results","hypothesis"]source_urlstringoptional"uri"maxLength: 2048pattern: "^https://"{
"type": "object",
"properties": {
"guidance": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"evidence": {
"enum": [
"general_guidance",
"account_results",
"hypothesis"
]
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
}
},
"required": [
"guidance",
"evidence"
],
"additionalProperties": false
}anyOf · schema 4
brandstringrequired1maxLength: 200industrystringoptional0maxLength: 200formatstringoptional0maxLength: 100hookstringoptional0maxLength: 500offerstringoptional0maxLength: 500copystringrequired0maxLength: 5000source_urlstringrequired"uri"maxLength: 2048pattern: "^https://"observed_atstringrequired"date-time"statusenumrequired["observed","no_longer_observed"]notesstringoptional0maxLength: 5000{
"type": "object",
"properties": {
"brand": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"industry": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"format": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"hook": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"copy": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"observed_at": {
"type": "string",
"format": "date-time"
},
"status": {
"enum": [
"observed",
"no_longer_observed"
]
},
"notes": {
"type": "string",
"minLength": 0,
"maxLength": 5000
}
},
"required": [
"brand",
"source_url",
"observed_at",
"status",
"copy"
],
"additionalProperties": false
}anyOf · schema 5
brief_idstringoptional"uuid"variantsarrayrequired1maxItems: 100EXPAND VARIANTS
Each array item
titlestringrequired3maxLength: 50bodystringrequired0maxLength: 100target_urlstringrequired"uri"maxLength: 2048pattern: "^https://"source_image_urlstringrequired"uri"maxLength: 2048pattern: "^https://"hookstringoptional0maxLength: 200offerstringoptional0maxLength: 200{
"type": "object",
"properties": {
"brief_id": {
"type": "string",
"format": "uuid"
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 3,
"maxLength": 50
},
"body": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"target_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"source_image_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"hook": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 200
}
},
"required": [
"title",
"body",
"target_url",
"source_image_url"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 100
}
},
"required": [
"variants"
],
"additionalProperties": false
}anyOf · schema 6
account_idstringrequired"uuid"ad_idstringrequired1maxLength: 255hookstringrequired0maxLength: 200offerstringrequired0maxLength: 200brief_idstringoptional"uuid"notesstringoptional0maxLength: 5000{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"ad_id": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"hook": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"brief_id": {
"type": "string",
"format": "uuid"
},
"notes": {
"type": "string",
"minLength": 0,
"maxLength": 5000
}
},
"required": [
"account_id",
"ad_id",
"hook",
"offer"
],
"additionalProperties": false
}Full JSON Schema
{
"type": "object",
"properties": {
"item_id": {
"type": "string",
"format": "uuid"
},
"expected_revision": {
"type": "integer",
"minimum": 1
},
"kind": {
"enum": [
"brand",
"brief",
"playbook",
"inspiration",
"batch",
"creative"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"collection": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"tags": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"minItems": 0,
"maxItems": 30
},
"data": {
"anyOf": [
{
"type": "object",
"properties": {
"voice": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"audience": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"approved_claims": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"restrictions": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"website": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
}
},
"required": [
"voice",
"audience",
"approved_claims",
"restrictions"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"product": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"audience": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"objective": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"landing_page": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"constraints": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"reference_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"minItems": 0,
"maxItems": 50
}
},
"required": [
"product",
"audience",
"offer",
"objective",
"landing_page",
"constraints"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"guidance": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"evidence": {
"enum": [
"general_guidance",
"account_results",
"hypothesis"
]
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
}
},
"required": [
"guidance",
"evidence"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"brand": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"industry": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"format": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"hook": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"copy": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"observed_at": {
"type": "string",
"format": "date-time"
},
"status": {
"enum": [
"observed",
"no_longer_observed"
]
},
"notes": {
"type": "string",
"minLength": 0,
"maxLength": 5000
}
},
"required": [
"brand",
"source_url",
"observed_at",
"status",
"copy"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"brief_id": {
"type": "string",
"format": "uuid"
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 3,
"maxLength": 50
},
"body": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"target_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"source_image_url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 2048
},
"hook": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 200
}
},
"required": [
"title",
"body",
"target_url",
"source_image_url"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 100
}
},
"required": [
"variants"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"ad_id": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"hook": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"offer": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"brief_id": {
"type": "string",
"format": "uuid"
},
"notes": {
"type": "string",
"minLength": 0,
"maxLength": 5000
}
},
"required": [
"account_id",
"ad_id",
"hook",
"offer"
],
"additionalProperties": false
}
]
}
},
"required": [
"kind",
"name",
"data"
],
"additionalProperties": false
}Responses
200Successful protocol response
Inspect result.isError for tool-level failures, even when the HTTP status is 200.
202Notification accepted
MCP notifications return no JSON-RPC response body.
400Invalid request
Check the JSON-RPC envelope, parameters, and protocol version.
406Not acceptable
Accept must include application/json and text/event-stream.
429Rate limited
Wait for the Retry-After interval before making another request.
401Unauthorized
A valid, unexpired MCP bearer token is required.
403Access denied
Your connection needs access to this workspace and the requested operation.