Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Record Agent Insight

record_agent_insight

Record structured findings, hypotheses, warnings, anomalies, or budget decisions to persistent institutional memory for later coding agents and runs.

Instructions

Record structured findings, hypotheses, diagnostic warnings, anomalies, or budget decisions to persistent institutional memory for subsequent coding agents and runs.

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": {
      "category": "<category>",
      "summary": "<summary>"
    },
    "name": "record_agent_insight"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
detailsNo
summaryYes
agent_idNo
categoryYes
model_idNo
severityNoinfo
dataset_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive, closed-world write. The description adds real value beyond that by disclosing durability ("persistent") and the audience (future agents and runs). It does not say whether entries can be updated, deduplicated, or scoped per dataset/agent, which matters for a non-idempotent write.

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 sentence that front-loads the action and content domain with no filler. It is dense but readable; nothing is wasted.

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 eight-parameter mutation tool with no output schema and no schema descriptions, the description does far too little — it omits how the free-form fields differ, what severity values are meaningful, and what happens on write (return value, conflicts). The concept is clear but the operational detail is missing.

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?

Eight parameters with 0% schema description coverage, and the description explains none of them. The content-type list loosely gestures at what "category" holds, but summary, details, tags, severity, agent_id, model_id, and dataset_id are entirely undefined in both schema and prose.

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 ("Record") and a specific resource (structured findings, hypotheses, warnings, anomalies, budget decisions) plus the destination (persistent institutional memory). An agent can tell this is the write counterpart to a read tool like get_agent_insights, 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?

The enumeration of content types and the note that the record serves "subsequent coding agents and runs" implies when to use it, but there is no explicit when-not guidance and no mention of the retrieval sibling.

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