Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Get Agent Insights

get_agent_insights
Read-onlyIdempotent

Retrieve recorded hypotheses, diagnostic notes, decisions, and related insights, then filter by model, dataset, category, or tag for traceable MMM analysis.

Instructions

Retrieve previously recorded agent insights, hypotheses, diagnostic notes, or decisions, filter by model, dataset, category, or tag.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_agent_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
limitNo
categoryNo
model_idNo
dataset_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 openWorldHint=false, so the safety profile is fully covered. The description adds that results are previously recorded artifacts and which dimensions can narrow the set, but says nothing about ordering, default result count, or what happens when no filters are given.

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 that puts the resource and the filterable fields early with no filler. The trailing 'filter by...' clause reads as a dangling append rather than a structured statement, costing a point.

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 read-only filter/list tool with annotations covering safety and no output schema to explain, the essentials are present. Missing are pagination semantics for limit and guidance on combining filters, which an agent needs to call this predictably.

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%, so the description must carry parameter meaning; it does map four of the five parameters (model, dataset, category, tag) to their filter roles. The limit parameter, its default of 50, and any truncation behavior are left entirely undocumented.

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?

Uses a specific verb (retrieve) plus a specific resource (agent insights) and enumerates the content types stored (hypotheses, diagnostic notes, decisions), which tells an agent what it will get back. It implicitly contrasts with the write-side sibling record_agent_insight via 'previously recorded', though it never names that tool.

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?

'Retrieve previously recorded' implies this is the read path for inspecting stored insights, and the filter list hints at narrowing a review. But there is no explicit when-to-use or when-not guidance, and the obvious alternative (record_agent_insight) is never named, leaving routing to inference.

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