MCP Tools
Workflows

setup_competitor_watch

Creates and optionally activates (`activation: "active"`) and/or queues an initial first-look run (`run_now: true`) for a Competitor watch workflow in the target team.

Parameters

NameTypeRequiredDefaultDescription
team_idintegerYes—Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.
template_keystringNo—Template UUID or slug (defaults to competitor-watch). App-only templates are refused.
version_idstring (uuid)No—Optional template version UUID (defaults to latest published version).
audiencestringNo—Optional workflow audience (`team` or `private`); must match `field_values.audience` if both are sent.
namestringNo—Optional workflow name, defaulting to the template name.
field_valuesobjectNo—Validated Competitor watch setup values matching the template fields schema.
activationstringNo—Set workflow Active (with schedule On) via "active", or save Inactive (default "inactive"). Only pass "active" after explicit user confirmation.
run_nowbooleanNo—Queue an immediate first-look baseline run when `activation: "active"` (default false). Only pass true after explicit user confirmation.
confirmation_tokenstringNo—Short-lived (~1h) signed confirmation token returned by preview_competitor_watch_setup, bound to team, template, normalized inputs, and credit_estimate. Must come from a preview the user has already seen and confirmed; required when activation is "active" or run_now is true; omit for inactive drafts.
request_keystring (uuid)No—Optional UUID idempotency key; pass the same UUID on retry with identical inputs.

Input Schema

{
  "type": "object",
  "required": [
    "team_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Optional workflow name, defaulting to the template name."
    },
    "run_now": {
      "type": "boolean",
      "description": "Queue an immediate first-look baseline run when `activation: \"active\"` (default false). Only pass true after explicit user confirmation."
    },
    "team_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions."
    },
    "audience": {
      "enum": [
        "team",
        "private"
      ],
      "type": "string",
      "description": "Optional workflow audience (`team` or `private`); must match `field_values.audience` if both are sent."
    },
    "activation": {
      "enum": [
        "active",
        "inactive"
      ],
      "type": "string",
      "description": "Set workflow Active (with schedule On) via \"active\", or save Inactive (default \"inactive\"). Only pass \"active\" after explicit user confirmation."
    },
    "version_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional template version UUID (defaults to latest published version)."
    },
    "request_key": {
      "type": "string",
      "format": "uuid",
      "description": "Optional UUID idempotency key; pass the same UUID on retry with identical inputs."
    },
    "field_values": {
      "type": "object",
      "description": "Validated Competitor watch setup values matching the template fields schema."
    },
    "template_key": {
      "type": "string",
      "description": "Template UUID or slug (defaults to competitor-watch). App-only templates are refused."
    },
    "confirmation_token": {
      "type": "string",
      "description": "Short-lived (~1h) signed confirmation token returned by preview_competitor_watch_setup, bound to team, template, normalized inputs, and credit_estimate. Must come from a preview the user has already seen and confirmed; required when activation is \"active\" or run_now is true; omit for inactive drafts."
    }
  }
}

Output Schema

{
  "type": "object",
  "required": [
    "workflow",
    "workflow_url",
    "setup",
    "trigger",
    "initial_run_id",
    "run_now",
    "estimate"
  ],
  "properties": {
    "team": {
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        }
      },
      "description": "Team this action applied to."
    },
    "setup": {
      "type": "object"
    },
    "run_now": {
      "type": "object",
      "required": [
        "state",
        "reason"
      ],
      "properties": {
        "state": {
          "enum": [
            "queued",
            "unavailable",
            "not_requested"
          ],
          "type": "string"
        },
        "reason": {
          "enum": [
            "engine_unavailable",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "trigger": {
      "type": [
        "object",
        "null"
      ]
    },
    "estimate": {
      "type": "object"
    },
    "triggers": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "workflow": {
      "type": "object",
      "required": [
        "id",
        "name",
        "description",
        "status"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "workflow_url": {
      "type": "string",
      "description": "Absolute URL to open the workflow in the Marcora app."
    },
    "initial_run_id": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Instructions

Creates and optionally activates (activation: "active", workflow status Active and schedule On) and/or queues an initial first-look run (run_now: true) for a Competitor watch workflow in the target team. Always call preview_competitor_watch_setup first, show the user the normalized summary and approximate Studio Credit estimate, and ONLY pass activation: "active" or run_now: true after explicit user confirmation of THAT preview's estimate along with its confirmation_token (~1h expiry). NEVER use a confirmation_token from a preview the user has not yet seen (do not preview and activate in the same turn): if inputs changed after the user's last confirmation—even if they asked to add or change something and go ahead in one message—show the new estimate and ask again before activating. Missing, expired, or mismatched tokens are refused. Inactive drafts (activation: "inactive" or omitted, run_now: false) need no confirmation_token. Refuses with slack_not_connected or slack_connection_expired (with absolute details.action.href) when slack_enabled or chat_enabled is true without an active Slack connection, and refuses app-only templates such as icp-buyer-research.

When to use

After preview_competitor_watch_setup to save an inactive Competitor watch draft (no token needed), or — after showing the preview summary and approximate credit_estimate and getting explicit user confirmation of THAT preview — to activate (activation: "active") and/or run (run_now: true) with its confirmation_token. Note: in ChatGPT, Competitor watch tools are currently allowlist-gated and not generally available.

Links: present returned URLs (workflow_url, connect_action.href, details.action.href, prerequisite links) character for character.