Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Submit Flighting Optimization Job

submit_flighting_optimization_job
Idempotent

Submit an asynchronous flighting optimization job to allocate a budget across channels and weeks, setting spend patterns, weekly floors and caps, and objectives like response or net profit.

Instructions

Submit an asynchronous dynamic media flighting optimization job over a planning horizon.

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": {
      "config": "<config>"
    },
    "name": "submit_flighting_optimization_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare mutation (readOnlyHint=false), idempotency, and non-destructive behavior, so the bar is lower. The description adds that the job is asynchronous, which is meaningful beyond annotations, but omits prerequisites (an approved MMM model), what gets returned (job handle), and what the caller should do next.

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?

A single tight sentence with no filler and the key traits (asynchronous, flighting, horizon) front-loaded. It is underspecified rather than verbose, so conciseness is not the failing.

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?

For a complex async job submission with a deeply nested config object and no output schema, the description omits too much: what the job returns, how to track it, required model approval, and budget/objective semantics. An agent could call it, but could easily misuse it relative to the synchronous optimize_flighting.

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?

Top-level schema coverage is reported as 0% — config and idempotency_key have no descriptions — but the nested config schema documents nearly every field (model_id, objective, total_budget, planning_weeks, channel_constraints). The description adds only 'planning horizon,' which weakly maps to planning_weeks, and says nothing about config structure or idempotency semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: "Submit an asynchronous dynamic media flighting optimization job over a planning horizon." Clear what it does, but it does not distinguish itself from siblings such as optimize_flighting or submit_budget_optimization_job.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No when-to-use/when-not guidance. It doesn't explain how this differs from optimize_flighting (synchronous?) or which job-submission sibling fits a given analysis, nor does it mention the async lifecycle (e.g., polling with get_job_status). Only 'over a planning horizon' hints at context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.