Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Compare Models

compare_models
Read-onlyIdempotent

Compare diagnostics, predictive metrics, and lineage across fitted marketing mix models to select the right model and trace its provenance.

Instructions

Compare diagnostics, predictive metrics, and lineage across multiple fitted MMMs.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "CompareModelsInput": {
      -    "properties": {
      -      "model_ids": {
      -        "description": "List of model IDs to compare",
      -        "items": {
      -          "type": "string"
      -        },
      -        "maxItems": 10,
      -        "minItems": 2,
      -        "title": "Model Ids",
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "model_ids"
      -    ],
      -    "title": "CompareModelsInput",
      -    "type": "object"
      -  }
      -}
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / input / $ref
      Removed value: -"#/$defs/CompareModelsInput"
    • addedInput schema / properties / input / properties
      Added value: +{
      +  "model_ids": {
      +    "description": "List of model IDs to compare",
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 10,
      +    "minItems": 2,
      +    "title": "Model Ids",
      +    "type": "array"
      +  }
      +}
    • addedInput schema / properties / input / required
      Added value: +[
      +  "model_ids"
      +]
    • addedInput schema / properties / input / title
      Added value: +"CompareModelsInput"
    • addedInput schema / properties / input / type
      Added value: +"object"
  2. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile is fully covered. The description adds only the subject matter of the comparison; it says nothing about whether results are cached, how expensive a wide comparison is, or what form the comparative output takes (and there is no output schema to fill that gap).

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 verb and the compared dimensions come first. It is efficient but so terse that it leaves obvious questions (result shape, limits) unaddressed.

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 multi-model comparison tool with a nested input object, no output schema, and no annotation gap to lean on, the definition is minimally adequate: an agent knows what to pass and roughly what it will learn, but not how results are structured or ordered.

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?

Schema description coverage is 0% per the signals, though the nested model_ids field does carry a brief inline description and minItems=2/maxItems=10 constraints. The description contributes the meaningful qualification that IDs must reference *fitted* MMMs and that comparison is across multiple models, which is real added meaning beyond the schema.

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 (compare) and resource (multiple fitted MMMs) and enumerates the dimensions compared: diagnostics, predictive metrics, and lineage. That distinguishes it in spirit from single-model tools like diagnose_mmm, though no sibling is 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 Guidelines3/5

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

Usage is implied rather than stated: 'fitted MMMs' signals that models must already be fit, and 'multiple' signals a multi-model comparison. There is no explicit when-to-use vs. alternatives (diagnose_mmm, cross_validate_mmm) and no mention of the 10-model ceiling or cost of broad comparisons.

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