Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Inspect Dataset

inspect_dataset
Read-onlyIdempotent

Inspect a registered dataset before MMM configuration to surface candidate targets, channels, controls, frequency, and data issues.

Instructions

Inspect a registered dataset before MMM configuration. Returns candidate targets, channels, controls, frequency, and data issues.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "inspect_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYes
user_overridesNoOptional user semantic overrides (e.g. target_column, channels, roles)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / user_overrides
      Added value: +{
      +  "default": null,
      +  "description": "Optional user semantic overrides (e.g. target_column, channels, roles)",
      +  "title": "User Overrides",
      +  "type": "object"
      +}
  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 declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety behavior is fully covered structurally. The description adds value by disclosing the nature of the output — it surfaces candidate roles and data issues rather than raw data — but says nothing about whether user_overrides change the inspection, how long it takes, or whether it triggers any computation.

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?

Two tight sentences with the purpose front-loaded and the return contents second; nothing is wasted. It could be marginally better with an explicit pointer to the follow-on configuration step, but the structure is sound.

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?

With no output schema, the description does the right thing by enumerating the categories of information returned, which is enough to set expectations. It stops short of explaining how user_overrides affects the inspection and gives no hint of the result shape, leaving a gap for a two-parameter tool with a nested object.

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 coverage is 50%: user_overrides carries a helpful description with examples, while dataset_id is documented only as "Dataset Id". The description mentions neither parameter, so it does not compensate for the undocumented dataset_id (e.g., how to obtain a valid ID or whether it is the identifier returned by register_dataset).

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 ("Inspect a registered dataset") plus the scope "before MMM configuration" and enumerates what comes back (candidate targets, channels, controls, frequency, data issues). It is much clearer than a bare name restatement, though it never explicitly contrasts with adjacent tools like validate_dataset or register_dataset.

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?

"before MMM configuration" implies a clear point in the workflow where this tool belongs. However, there is no statement of when NOT to use it, no named alternative, and no prerequisite such as the dataset already being registered (only implied by the word "registered").

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