Skip to main content
Glama

Influence

Generate or revise AI plan

campaignPlanGenerate
Destructive

Queues one AI text-planning turn using owned accounts, saved media and brand context, spending AI credits. Revisions require the plan identifier and current expectedVersion. Results are saved planning text and optional image ideas; this operation creates no image, video or audio and performs no publishing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
briefYesExact freeform planning request or revision when action and choice are absent.
titleNo
actionNoExisting-plan operation requiring planPublicId and current expectedVersion, mutually exclusive with choice. prepare_draft uses the saved conversation; suggest_images requests text image ideas. An action ignores brief and appends no user message.
choiceNoLatest saved assistant choice; its label replaces brief.
timezoneYes
requestIdYes
preferencesYes
planPublicIdNo
mediaAssetIdsYes
_idempotencyKeyNoCaller-generated retry ID for this confirmed request. Reuse the same value, confirmation capability and inputs when retrying an uncertain result.
expectedVersionNo
whatsAppTargetsNo
connectionSettingsYes
_confirmationCapabilityNoOpaque preparation capability bound to this tool, its prepared input, connection, workspace and expiry. The publish_confirm_v1 prefix identifies the shared confirmation protocol.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / _confirmationCapability / description
      Previous value: -"Value issued by Influence in this tool's preparation result. Return it unchanged before expiresAt to permit one execution of the prepared action. Never invent it; it is not an account credential or proof of human approval."New value: +"Opaque preparation capability bound to this tool, its prepared input, connection, workspace and expiry. The publish_confirm_v1 prefix identifies the shared confirmation protocol."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "oneOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "ok": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "output": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "planPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "runPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              }
      -            },
      -            "required": [
      -              "planPublicId",
      -              "runPublicId"
      -            ],
      -            "type": "object"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "ok",
      -          "output",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "enum": [
      -                  "AI_SCHEDULING_LIMIT_REACHED",
      -                  "AI_SCHEDULING_UNAVAILABLE",
      -                  "INVALID_INPUT",
      -                  "FORBIDDEN",
      -                  "NOT_FOUND",
      -                  "CONFLICT",
      -                  "FEATURE_DISABLED",
      -                  "CONFIRMATION_REQUIRED",
      -                  "CONFIRMATION_INVALID",
      -                  "UPSTREAM_FAILED",
      -                  "NEEDS_REVIEW",
      -                  "INTERNAL"
      -                ],
      -                "type": "string"
      -              },
      -              "message": {
      -                "maxLength": 2048,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "retryable": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "retryable"
      -            ],
      -            "type": "object"
      -          },
      -          "ok": {
      -            "const": false,
      -            "type": "boolean"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "error",
      -          "ok",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "confirmationCapability": {
      -        "description": "Issued by Influence for this preparation. Return it unchanged as _confirmationCapability before expiresAt to confirm this prepared action; never invent or modify it.",
      -        "maxLength": 4096,
      -        "minLength": 32,
      -        "pattern": "^[A-Za-z0-9._~-]+$",
      -        "type": "string"
      -      },
      -      "expiresAt": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "inputDigest": {
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "confirmation_required",
      -        "type": "string"
      -      },
      -      "summary": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGenerate",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "confirmationCapability",
      -      "expiresAt",
      -      "inputDigest",
      -      "status",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "ok": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "output": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "planPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "runPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              }
      +            },
      +            "required": [
      +              "planPublicId",
      +              "runPublicId"
      +            ],
      +            "type": "object"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "output",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "enum": [
      +                  "AI_SCHEDULING_LIMIT_REACHED",
      +                  "AI_SCHEDULING_UNAVAILABLE",
      +                  "INVALID_INPUT",
      +                  "FORBIDDEN",
      +                  "NOT_FOUND",
      +                  "CONFLICT",
      +                  "FEATURE_DISABLED",
      +                  "CONFIRMATION_REQUIRED",
      +                  "CONFIRMATION_INVALID",
      +                  "UPSTREAM_FAILED",
      +                  "NEEDS_REVIEW",
      +                  "INTERNAL"
      +                ],
      +                "type": "string"
      +              },
      +              "message": {
      +                "maxLength": 2048,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "retryable": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "retryable"
      +            ],
      +            "type": "object"
      +          },
      +          "ok": {
      +            "const": false,
      +            "type": "boolean"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "error",
      +          "ok",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "confirmationCapability": {
      +        "description": "Opaque capability bound to the prepared toolName, inputDigest, connection, workspace and expiresAt. The publish_confirm_v1 prefix identifies the shared confirmation protocol.",
      +        "maxLength": 4096,
      +        "minLength": 32,
      +        "pattern": "^[A-Za-z0-9._~-]+$",
      +        "type": "string"
      +      },
      +      "expiresAt": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      "inputDigest": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "confirmation_required",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGenerate",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "confirmationCapability",
      +      "expiresAt",
      +      "inputDigest",
      +      "status",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "oneOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "ok": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "output": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "planPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "runPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              }
      -            },
      -            "required": [
      -              "planPublicId",
      -              "runPublicId"
      -            ],
      -            "type": "object"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "ok",
      -          "output",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "enum": [
      -                  "INVALID_INPUT",
      -                  "FORBIDDEN",
      -                  "NOT_FOUND",
      -                  "CONFLICT",
      -                  "FEATURE_DISABLED",
      -                  "CONFIRMATION_REQUIRED",
      -                  "CONFIRMATION_INVALID",
      -                  "UPSTREAM_FAILED",
      -                  "NEEDS_REVIEW",
      -                  "INTERNAL"
      -                ],
      -                "type": "string"
      -              },
      -              "message": {
      -                "maxLength": 2048,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "retryable": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "retryable"
      -            ],
      -            "type": "object"
      -          },
      -          "ok": {
      -            "const": false,
      -            "type": "boolean"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "error",
      -          "ok",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "confirmationCapability": {
      -        "description": "Issued by Influence for this preparation. Return it unchanged as _confirmationCapability before expiresAt to confirm this prepared action; never invent or modify it.",
      -        "maxLength": 4096,
      -        "minLength": 32,
      -        "pattern": "^[A-Za-z0-9._~-]+$",
      -        "type": "string"
      -      },
      -      "expiresAt": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "inputDigest": {
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "confirmation_required",
      -        "type": "string"
      -      },
      -      "summary": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGenerate",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "confirmationCapability",
      -      "expiresAt",
      -      "inputDigest",
      -      "status",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "ok": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "output": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "planPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "runPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              }
      +            },
      +            "required": [
      +              "planPublicId",
      +              "runPublicId"
      +            ],
      +            "type": "object"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "output",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "enum": [
      +                  "AI_SCHEDULING_LIMIT_REACHED",
      +                  "AI_SCHEDULING_UNAVAILABLE",
      +                  "INVALID_INPUT",
      +                  "FORBIDDEN",
      +                  "NOT_FOUND",
      +                  "CONFLICT",
      +                  "FEATURE_DISABLED",
      +                  "CONFIRMATION_REQUIRED",
      +                  "CONFIRMATION_INVALID",
      +                  "UPSTREAM_FAILED",
      +                  "NEEDS_REVIEW",
      +                  "INTERNAL"
      +                ],
      +                "type": "string"
      +              },
      +              "message": {
      +                "maxLength": 2048,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "retryable": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "retryable"
      +            ],
      +            "type": "object"
      +          },
      +          "ok": {
      +            "const": false,
      +            "type": "boolean"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "error",
      +          "ok",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "confirmationCapability": {
      +        "description": "Issued by Influence for this preparation. Return it unchanged as _confirmationCapability before expiresAt to confirm this prepared action; never invent or modify it.",
      +        "maxLength": 4096,
      +        "minLength": 32,
      +        "pattern": "^[A-Za-z0-9._~-]+$",
      +        "type": "string"
      +      },
      +      "expiresAt": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      "inputDigest": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "confirmation_required",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGenerate",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "confirmationCapability",
      +      "expiresAt",
      +      "inputDigest",
      +      "status",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changed
    • changedInput schema / $defs / __schema0 / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 8192,
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "items": {},
      -    "maxItems": 512,
      -    "type": "array"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "maxProperties": 64,
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 8192,
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "items": {},
      +    "maxItems": 2000,
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "maxProperties": 64,
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / $defs / __schema1 / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 8192,
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "items": {
      -      "$ref": "#/$defs/__schema1"
      -    },
      -    "maxItems": 512,
      -    "type": "array"
      -  },
      -  {
      -    "additionalProperties": {
      -      "$ref": "#/$defs/__schema1"
      -    },
      -    "propertyNames": {
      -      "$ref": "#/$defs/__schema2"
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 8192,
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "items": {
      +      "$ref": "#/$defs/__schema1"
      +    },
      +    "maxItems": 2000,
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {
      +      "$ref": "#/$defs/__schema1"
      +    },
      +    "propertyNames": {
      +      "$ref": "#/$defs/__schema2"
      +    },
      +    "type": "object"
      +  }
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / _confirmationCapability / description
      Previous value: -"Value issued by Influence in this tool's preparation result. Return it unchanged with the exact same inputs before expiresAt to permit one execution. Never invent it; it is not an account credential or proof of human approval."New value: +"Value issued by Influence in this tool's preparation result. Return it unchanged before expiresAt to permit one execution of the prepared action. Never invent it; it is not an account credential or proof of human approval."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "oneOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "ok": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "output": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "planPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "runPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              }
      -            },
      -            "required": [
      -              "planPublicId",
      -              "runPublicId"
      -            ],
      -            "type": "object"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "ok",
      -          "output",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "enum": [
      -                  "INVALID_INPUT",
      -                  "FORBIDDEN",
      -                  "NOT_FOUND",
      -                  "CONFLICT",
      -                  "FEATURE_DISABLED",
      -                  "CONFIRMATION_REQUIRED",
      -                  "CONFIRMATION_INVALID",
      -                  "UPSTREAM_FAILED",
      -                  "NEEDS_REVIEW",
      -                  "INTERNAL"
      -                ],
      -                "type": "string"
      -              },
      -              "message": {
      -                "maxLength": 2048,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "retryable": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "retryable"
      -            ],
      -            "type": "object"
      -          },
      -          "ok": {
      -            "const": false,
      -            "type": "boolean"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "error",
      -          "ok",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "confirmationCapability": {
      -        "description": "Issued by Influence for this preparation. Return it unchanged as _confirmationCapability with the exact same tool inputs before expiresAt; never invent or modify it.",
      -        "maxLength": 4096,
      -        "minLength": 32,
      -        "pattern": "^[A-Za-z0-9._~-]+$",
      -        "type": "string"
      -      },
      -      "expiresAt": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "inputDigest": {
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "confirmation_required",
      -        "type": "string"
      -      },
      -      "summary": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGenerate",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "confirmationCapability",
      -      "expiresAt",
      -      "inputDigest",
      -      "status",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "ok": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "output": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "planPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "runPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              }
      +            },
      +            "required": [
      +              "planPublicId",
      +              "runPublicId"
      +            ],
      +            "type": "object"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "output",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "enum": [
      +                  "INVALID_INPUT",
      +                  "FORBIDDEN",
      +                  "NOT_FOUND",
      +                  "CONFLICT",
      +                  "FEATURE_DISABLED",
      +                  "CONFIRMATION_REQUIRED",
      +                  "CONFIRMATION_INVALID",
      +                  "UPSTREAM_FAILED",
      +                  "NEEDS_REVIEW",
      +                  "INTERNAL"
      +                ],
      +                "type": "string"
      +              },
      +              "message": {
      +                "maxLength": 2048,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "retryable": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "retryable"
      +            ],
      +            "type": "object"
      +          },
      +          "ok": {
      +            "const": false,
      +            "type": "boolean"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "error",
      +          "ok",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "confirmationCapability": {
      +        "description": "Issued by Influence for this preparation. Return it unchanged as _confirmationCapability before expiresAt to confirm this prepared action; never invent or modify it.",
      +        "maxLength": 4096,
      +        "minLength": 32,
      +        "pattern": "^[A-Za-z0-9._~-]+$",
      +        "type": "string"
      +      },
      +      "expiresAt": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      "inputDigest": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "confirmation_required",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGenerate",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "confirmationCapability",
      +      "expiresAt",
      +      "inputDigest",
      +      "status",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed3 schema fields changed
    • changedInput schema / properties / _confirmationCapability / description
      Previous value: -"Single-use from prepare."New value: +"Value issued by Influence in this tool's preparation result. Return it unchanged with the exact same inputs before expiresAt to permit one execution. Never invent it; it is not an account credential or proof of human approval."
    • changedInput schema / properties / _idempotencyKey / description
      Previous value: -"Caller-generated."New value: +"Caller-generated retry ID for this confirmed request. Reuse the same value, confirmation capability and inputs when retrying an uncertain result."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "oneOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "ok": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "output": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "planPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "runPublicId": {
      -                "$ref": "#/$defs/__schema0"
      -              }
      -            },
      -            "required": [
      -              "planPublicId",
      -              "runPublicId"
      -            ],
      -            "type": "object"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "ok",
      -          "output",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "enum": [
      -                  "INVALID_INPUT",
      -                  "FORBIDDEN",
      -                  "NOT_FOUND",
      -                  "CONFLICT",
      -                  "FEATURE_DISABLED",
      -                  "CONFIRMATION_REQUIRED",
      -                  "CONFIRMATION_INVALID",
      -                  "UPSTREAM_FAILED",
      -                  "NEEDS_REVIEW",
      -                  "INTERNAL"
      -                ],
      -                "type": "string"
      -              },
      -              "message": {
      -                "maxLength": 2048,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "retryable": {
      -                "type": "boolean"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "retryable"
      -            ],
      -            "type": "object"
      -          },
      -          "ok": {
      -            "const": false,
      -            "type": "boolean"
      -          },
      -          "toolName": {
      -            "const": "campaignPlanGenerate",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "error",
      -          "ok",
      -          "toolName"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "confirmationCapability": {
      -        "maxLength": 4096,
      -        "minLength": 32,
      -        "pattern": "^[A-Za-z0-9._~-]+$",
      -        "type": "string"
      -      },
      -      "expiresAt": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "inputDigest": {
      -        "pattern": "^[0-9a-f]{64}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "confirmation_required",
      -        "type": "string"
      -      },
      -      "summary": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGenerate",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "confirmationCapability",
      -      "expiresAt",
      -      "inputDigest",
      -      "status",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "ok": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "output": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "planPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "runPublicId": {
      +                "$ref": "#/$defs/__schema0"
      +              }
      +            },
      +            "required": [
      +              "planPublicId",
      +              "runPublicId"
      +            ],
      +            "type": "object"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "output",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "enum": [
      +                  "INVALID_INPUT",
      +                  "FORBIDDEN",
      +                  "NOT_FOUND",
      +                  "CONFLICT",
      +                  "FEATURE_DISABLED",
      +                  "CONFIRMATION_REQUIRED",
      +                  "CONFIRMATION_INVALID",
      +                  "UPSTREAM_FAILED",
      +                  "NEEDS_REVIEW",
      +                  "INTERNAL"
      +                ],
      +                "type": "string"
      +              },
      +              "message": {
      +                "maxLength": 2048,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "retryable": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "retryable"
      +            ],
      +            "type": "object"
      +          },
      +          "ok": {
      +            "const": false,
      +            "type": "boolean"
      +          },
      +          "toolName": {
      +            "const": "campaignPlanGenerate",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "error",
      +          "ok",
      +          "toolName"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "confirmationCapability": {
      +        "description": "Issued by Influence for this preparation. Return it unchanged as _confirmationCapability with the exact same tool inputs before expiresAt; never invent or modify it.",
      +        "maxLength": 4096,
      +        "minLength": 32,
      +        "pattern": "^[A-Za-z0-9._~-]+$",
      +        "type": "string"
      +      },
      +      "expiresAt": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +        "type": "string"
      +      },
      +      "inputDigest": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "confirmation_required",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGenerate",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "confirmationCapability",
      +      "expiresAt",
      +      "inputDigest",
      +      "status",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. Changed3 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"prepare_draft uses saved conversation; suggest_images requests image ideas. Ignore brief; append no user message. Omit for freeform input."New value: +"Existing-plan operation requiring planPublicId and current expectedVersion, mutually exclusive with choice. prepare_draft uses the saved conversation; suggest_images requests text image ideas. An action ignores brief and appends no user message."
    • changedInput schema / properties / brief / description
      Previous value: -"Exact request/revision. Omit action/choice; they override brief."New value: +"Exact freeform planning request or revision when action and choice are absent."
    • changedInput schema / properties / choice / description
      Previous value: -"Exact latest saved assistant choice; its label replaces brief. Omit choice/action for freeform input."New value: +"Latest saved assistant choice; its label replaces brief."
  7. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing credit consumption, that output is persisted planning text plus optional image ideas, and explicit negative scope (no media produced, no publishing). It does not explain the confirmation-capability/idempotency protocol that the schema's dependentRequired block implies, which matters for a credit-spending, destructiveHint=true call.

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?

Three sentences, zero filler, with purpose front-loaded before the revision constraint and the negative-scope boundary. Slightly dense in the opening clause, which packs three input categories into one phrase, but nothing is redundant.

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?

With 14 parameters, deep nesting and a destructiveHint=true annotation, the description covers the core lifecycle and (since an output schema exists) needn't explain returns. However, it is silent on the idempotency/confirmation fields the schema pairs together and on why a planning tool accepts whatsAppTargets, leaving real gaps for a high-complexity mutation.

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 only 36% across 14 parameters, yet the description supplies meaning for only two of them (planPublicId as 'the plan identifier', expectedVersion as 'current expectedVersion'). 'Owned accounts, saved media and brand context' loosely maps to connectionSettings/mediaAssetIds/preferences but leaves brief, title, action, choice, requestId and whatsAppTargets undocumented in both places.

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 ('Queues one AI text-planning turn') and names its inputs (owned accounts, saved media, brand context). The closing clause ('creates no image, video or audio and performs no publishing') cleanly distinguishes it from imageGenerationStart, campaignReviewExecute and campaignScheduleBatchExecute without needing their schemas.

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 the condition that selects revision mode ('Revisions require the plan identifier and current expectedVersion') and lists adjacent operations it is not (image/video/audio generation, publishing). It never names a sibling tool explicitly for those alternative paths, so routing is implied rather than spelled out.

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