Skip to main content
Glama
channel-ops-mcp

channel-ops-mcp

by ProofAl

record_event

Idempotent

Records real first-party campaign events—exposures, leads, payments, expenses, or refunds—using an opaque subject and stable event ID for attribution and cost analysis.

Instructions

Record real first-party exposed, lead, paid, expense or refund evidence. Use an opaque subject and stable event ID.

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": {
      "campaign": "<campaign>",
      "event_id": "<event_id>",
      "kind": "<kind>"
    },
    "name": "record_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
subjectNo
campaignYes
event_idYes
occurred_atNo
amount_centsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=false), so the description's main added value is the data-quality constraint that evidence must be "real first-party". It still does not say what happens on a repeated event_id (silent dedupe vs error), what an invalid kind does, or whether a response body is returned.

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 short sentences, front-loaded with the action and followed by the key usage constraint; nothing is wasted. The stacked adjectives in the first sentence make it slightly harder to parse than necessary, but sizing is appropriate.

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 6-parameter write tool with no output schema and zero schema coverage, the description covers the three required-ish fields and the kind values but leaves campaign, occurred_at, and amount_cents meaning unstated. It is adequate to attempt a call, not complete enough to guarantee a correct one.

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% across 6 parameters, so the description must compensate, and it does partially: it supplies the de facto enum for the free-string kind field and hints that subject is opaque and event_id is a stable key. Campaign, occurred_at, and amount_cents semantics are left entirely unexplained, so half the surface remains 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?

States a specific verb ("Record") and resource (event evidence) and enumerates the kinds of evidence accepted: exposed, lead, paid, expense, refund. That enumeration is genuinely differentiating, though the jargon "real first-party" and the absence of any named alternative from the reporting-oriented siblings keep it from 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 Guidelines2/5

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

The only guidance is about how to fill parameters ("Use an opaque subject and stable event ID"), not about when this tool is the right choice versus the sibling reporting tools, or when an event should not be recorded. No prerequisites, no exclusions, no alternatives.

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