Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Evaluate Prior Sensitivity

evaluate_prior_sensitivity
Idempotent

Evaluate how alternative adstock and saturation priors affect channel rank order and iROAS conclusions.

Instructions

Evaluate sensitivity of commercial conclusions (channel rank order and iROAS) under alternative adstock and saturation priors.

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": "evaluate_prior_sensitivity"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "PriorSensitivityInput": {
      -    "properties": {
      -      "model_id": {
      -        "description": "Model ID to evaluate for prior sensitivity",
      -        "title": "Model Id",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "model_id"
      -    ],
      -    "title": "PriorSensitivityInput",
      -    "type": "object"
      -  }
      -}
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / input / $ref
      Removed value: -"#/$defs/PriorSensitivityInput"
    • addedInput schema / properties / input / properties
      Added value: +{
      +  "model_id": {
      +    "description": "Model ID to evaluate for prior sensitivity",
      +    "title": "Model Id",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / input / required
      Added value: +[
      +  "model_id"
      +]
    • addedInput schema / properties / input / title
      Added value: +"PriorSensitivityInput"
    • addedInput schema / properties / input / type
      Added value: +"object"
  2. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is supplied; the description adds nothing beyond it. It does not say whether the evaluation runs synchronously or as a job, how long or costly it is, or whether anything is persisted. Notably, readOnlyHint=false implies some state effect that the description never explains.

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 dense sentence with no filler, and the key scope (which conclusions are tested) is front-loaded. It is efficient, though it would benefit from a second short clause covering usage or behavior rather than stopping at purpose.

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 an analysis tool with no output schema, the description should convey what comes back (a sensitivity table, updated ranks, comparison verdicts) and whether the call blocks. Neither is present, and the relationship to the job-submission sibling is unaddressed, leaving an agent with real ambiguity about how to invoke this correctly.

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?

There is only one parameter (model_id) and the input schema already documents it as the model to evaluate for prior sensitivity. The description adds no meaning about the parameter, such as what model types are valid or whether the model must be fitted first. With a single schema-documented parameter, baseline 3 is appropriate.

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 names a specific verb (evaluate) and resource (prior sensitivity) and even specifies the outputs being compared: channel rank order and iROAS under alternative adstock and saturation priors. That is far more concrete than a restated name. It stops short of distinguishing this tool from the sibling submit_prior_sensitivity_job, which reads like the same analysis submitted as a 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?

There is no when-to-use guidance, no prerequisite (e.g. a fitted model must exist), and no statement about when to call this directly versus submit_prior_sensitivity_job or compare_models. The agent must infer the sync-vs-async distinction from sibling names alone.

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