Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Get Response Curves

get_response_curves
Read-onlyIdempotent

Retrieve sampled response and saturation curves for a fitted model to analyze diminishing returns and channel effects without handling raw posterior arrays.

Instructions

Return response/saturation information sampled by PyMC-Marketing rather than raw posterior arrays.

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": {
      "model_id": "<model_id>"
    },
    "name": "get_response_curves"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish that this is a safe, read-only, idempotent operation, so the description does not need to repeat that. It adds useful context by saying the output is sampled response/saturation information rather than raw posterior arrays. However, it does not describe the return structure, pagination, or any prerequisites beyond the required model_id.

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?

The definition is a single, front-loaded sentence with no filler. It is efficient, though its brevity contributes to gaps in parameter and usage guidance rather than being a problem of verbosity.

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?

The tool is simple, with one parameter and no output schema, but the description still leaves important details implicit: what the response/saturation data looks like and how model_id should be specified. The annotations cover safety, but the description does not fully compensate for the missing schema descriptions or output schema.

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?

There is one required parameter, model_id, and schema description coverage is 0%, so the description carries the full burden of explaining it. The description says nothing about what model_id refers to or how to obtain it. The parameter name is somewhat self-explanatory, but the description adds no meaning beyond the schema title.

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 uses a specific verb, 'Return,' and a specific resource, 'response/saturation information,' making the tool's output clear. It also contrasts with raw posterior arrays, which helps an agent understand what it does not return. It does not explicitly distinguish itself from siblings such as get_channel_contributions or get_posterior_plots, so it falls short of a 5.

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?

The phrase 'rather than raw posterior arrays' implies when to use this tool instead of something that returns raw posterior samples, but it never names an alternative or states explicit when-not conditions. Usage is therefore implied rather than clearly guided.

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