Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Submit Budget Optimization Job

submit_budget_optimization_job
Idempotent

Submits an asynchronous budget optimization job to allocate total budget across channels and cells under min/max/fixed constraints without blocking the event loop.

Instructions

Submit an asynchronous budget optimization job under channel/cell constraints without blocking the event loop.

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_budget_optimization_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description usefully adds that execution is asynchronous and non-blocking, which the annotations cannot express. It stops short of saying what a submit returns (a job handle/ID) or how idempotency_key actually affects duplicate submissions, despite idempotentHint=true.

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 front-loaded sentence with no filler; the async/non-blocking trait is stated up front. It is efficient, but arguably too terse for a tool whose nested config and job-follow-up workflow need explanation.

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?

This is a state-creating job-submission tool with a two-level nested schema, no output schema, and undocumented top-level parameters. The description omits the return handle, the polling contract, and idempotency semantics, which are exactly what an agent needs before invoking it, so it is not complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Top-level schema description coverage is reported as 0%: the 'config' object and 'idempotency_key' carry no documented meaning, and 'model_id' is bare. The description only alludes to channel/cell constraints, mapping to two nested fields, and says nothing about idempotency_key or model_id. With low schema coverage, the description should compensate and does not.

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?

The description gives a specific verb and resource ('Submit an asynchronous budget optimization job') plus the constraint scope ('under channel/cell constraints'), so an agent knows what is being created. It does not, however, distinguish this from sibling entry points such as optimize_budget or the other submit_*_job tools, leaving the agent to infer the boundary from the name alone.

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?

The phrase 'without blocking the event loop' hints at why one would pick the async path, but there is no explicit when-to-use guidance, no mention of what to do after submitting (get_job_status / poll_job_progress), and no exclusion against the synchronous optimize_budget alternative. The agent is left to infer the full workflow.

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