Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Submit Cross Validate Mmm Job

submit_cross_validate_mmm_job
Idempotent

Launches an asynchronous time-slice cross-validation job across temporal folds to evaluate a fitted marketing mix model's out-of-sample forecast performance.

Instructions

Submit an asynchronous Time-Slice Cross-Validation job across multiple temporal folds.

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": {
      "input": "<input>"
    },
    "name": "submit_cross_validate_mmm_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true, and closed-world, so the write-safety profile is covered elsewhere. The description does add real value by saying the operation is asynchronous, implying the call returns before completion and must be followed with job status polling, but it does not say what is returned (job ID) or whether idempotency_key is honored on retries.

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 or redundant restatement of the name. Its brevity becomes a weakness only in the other dimensions, not in structure or waste.

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?

For a simple submission tool without an output schema, the one-liner is the minimum viable, and the 'asynchronous' hint covers the key workflow implication. However, a deeply nested input object with no parameter documentation in the description leaves meaningful gaps around the required model reference and the idempotency key.

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?

Schema description coverage is reported at 0%, so the description needs to compensate for parameter meaning and does not. It never mentions the required model_id, the fold controls (n_init, step_size, forecast_horizon), the nested sampler config, or what idempotency_key is for.

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 and resource: 'Submit an asynchronous Time-Slice Cross-Validation job across multiple temporal folds.' The 'asynchronous' qualifier plus 'job' distinguishes it from the synchronous cross_validate_mmm sibling, though the sibling is never named explicitly.

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 guidance on when to choose this over cross_validate_mmm or the other submit_*_job siblings, nor any prerequisites (e.g., that model_id must reference an already-fitted model). The agent must infer usage from the name alone.

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