Skip to main content
Glama

Funnel Calibrator

一个 MCP 服务器,它根据销售漏斗的实际表现来重新校准广告决策——而不是根据对其的假设。

⚠️ 状态:正在开发中。 脚手架与设计决策已提交;MCP 服务器实现将于 2026 年 8 月 24 日落地。答辩:2026 年 8 月 25 日。

KSE AI Agentic Lab——个人实验实验室作业(第 7 周,MCP 集成)。


它解决的问题

本项目基于一个正在运营的乌克兰货到付款(COD)电商业务,通过 Meta 广告销售女装。它的漏斗包含五个阶段:

Meta ads ──► Lead ──► Call-centre approval ──► Shipment ──► Buyout at post office ──► Profit

由于付款发生在交货时,广告支出的结果在资金投入的那一刻并不可知。要等两到四周之后,顾客取件或拒收时,结果才会明朗。该业务用两个覆盖整个产品组合的常数来弥合这一时间差——65% 的通过率和 52.5% 的买断率——并用它们计算每个产品仍能盈亏平衡的最大单条线索成本(Stop CPL),以及应当优化到的目标值(Goal CPL)。

这些常数是应用在单个产品上的组合平均值,而单个产品与其的偏差可能非常悬殊。 来源业务中的实测例子:某制造商的买断率实际为 37%,而假设为 52.5%;某产品的通过率实测为 53%,而假设为 65%;买断率与价格带强相关,从 690–790 ₴ 的约 93% 到 1290 ₴ 以上的约 55%。

当某个产品的实际**指标优于预期时,其真实盈亏平衡 CPL 会低于业务所依据的数字——于是广告目标可能落在真实盈亏平衡点之上*。广告后台里流量看起来很正常,而每条线索都在亏钱;这种亏损要到几周后的月度财务结算时才会显现出来。

这是一个开环控制系统:测量结果从未回到决策环节。Funnel Calibrator 将闭环闭合。

Related MCP server: oficio

功能

服务器从历史订单数据中测量每个产品自身的漏斗费率,重新计算该产品的真实 CPL 边界,并针对修正后的数值审计拟定的广告决策——返回的是结构化证据,而不是一个有待无条件接受的结论。

有两个问题让这件事比一般情况更难度,两者都在工具契约中被显式处理:

  • 截尾。 近期订单尚未完全可判定——在途的包裹既不是买断也不是退货。若把它们的数值直接计入,会人为地压低测量出来的费率。服务器会剔除未满可配置成熟窗口的数据队列组,并报告它搁置了多少订单。

  • 样本量小。 按产品、尺码、颜色拆分后,计数很快会变小。每次测量都会标明样本量和可靠性情况,且当数值低于一个可配置阈值时,服务器拒绝下结论,而不是输出虚假的信噪。

架构

┌─────────────────────────────────────────────────────────────┐
│  Agent  (Claude Agent SDK)                                  │
│                                                             │
│    ├── MCP ──► Obsidian Local REST API      [existing]      │
│    │           decision journal: reads the day's objective  │
│    │           and prior conclusions, writes calibrated      │
│    │           verdicts back as a durable record            │
│    │                                                         │
│    └── MCP ──► Funnel Calibrator            [custom]        │
│                measure → recalibrate → recommend → audit    │
│                        │                                     │
│                        ▼                                     │
│                 local snapshot dataset                       │
│                 (anonymised order cohorts + unit economics)  │
└─────────────────────────────────────────────────────────────┘

自定义服务器以独立进程方式运行,通过 stdio 通信,并且可以不依赖智能体独立启动。

元素流

  1. 从 Obsidian 仓库中读取当天的广告目标和昨天的结论。

  2. 从数据快照中测量每个产品池的漏斗费率(感知截断和样本量)。

  3. 重新计算该产品真实的 Stop/Goal CPL,以及与假设基线(assumed baseline)的偏差。

  4. 诊断一个产品表现远超预期的原因——不同起因对应不同的解决策略——并推荐下一步行动。

  5. 根据修正后的界限审计当天拟定中的广告决策。

  6. 将校准后的结论及其证据链写回仓库。

每一步都依赖上一步的输出:仓库的内容决定测量什么,测量决定修正后的边界,边界决定拟定决策被成立还是被推翻。

自定义工具

工具

职责

measure_sku_funnel

单个产品的实测通过率 / 买断率 / 退货率,包含队列截断和样本量门槛。主要数据源工具。

recalibrate_cpl_bounds

根据实测比例重新计算真实 Stop/Goal CPL;报告与假设基线之间的偏差。

recommend_next_action

定位失败的具体类型——页面吸引力弱、竞价不足、素材疲劳、结构性亏损——并返回对应的下一步动作。

audit_ad_verdict

校验拟定决策是否在修正后的所得边界内;返回 supported 或 contradicted / insufficient_data 并附带上完整的数值证据链。

完整的输入/输出模式、错误条件、副作用和运行示例:docs/tool-contracts.md。

为什么是这四个工具、它们为什么位于 MCP 边界,以及设计上放弃了些什么:docs/design-rationale.md。

数据源

一个本地、匿名化的历史订单队列快照数据集,由业务 CRM 导出,生成脚本为 scripts/export_snapshot.py。运行时无需身份验证和任何外部网络访问,从而演示结果具有确定性且可复现。

所有个人可识别信息——客户姓名、电话号码、地址、运单号——在导出时都被去除。快照只保留校准所需的字段:产品编码、订单状态、时间戳、金额以及对应订单的价值。匿名化策略和数据模式请见 data/README.md。

快速上手

前置条件: Python ≥ 3.11 和 uv。只有运行智能体流程时才需要安装了 Local REST API 插件的 Obsidian,而运行服务器本身则不需要。

git clone https://github.com/denkor1015-debug/funnel-calibrator.git
cd funnel-calibrator
uv sync

以独立模式运行 MCP 服务器(它通过 stdio 使用 MCP 协议,并等待客户端连接):

uv run funnel-calibrator

使用 MCP Inspector 以交互方式查看暴露的工具:

npx @modelcontextprotocol/inspector uv run funnel-calibrator

配置从环境变量读取;复制模板并编辑:

cp .env.example .env

两个 MCP 连接的 Agent 配置: agent/mcp_config.example.json。

仓库结构

src/funnel_calibrator/   MCP server: tool definitions, calibration math, policy engine
scripts/                 snapshot exporter (CRM ──► anonymised local dataset)
data/                    snapshot dataset + anonymisation policy
docs/                    tool contracts, design rationale, defence checklist
agent/                   MCP client configuration for both connections
tests/                   unit tests for calibration and policy logic

构建计划

  • 仓库脚手架、架构和设计准入

  • 带 PII 剔除的快照导出器

  • measure_sku_funnel——截断与样本量门槛

  • recalibrate_cpl_silhouette——重新计算单位经济

  • recommend_next_action——失效原因诊断

  • audit_ad_verdict——决策审计

  • Obsidian MCP 集成与端到端智能体流程

  • 失败路径处理与演示

  • 工具契约文档与答辩脚本

作业要求对照表

要求

对应位置

Part A——已经被批准的现有 MCP 服务器

Obsidian Local REST API;契约见 docs/tool-contracts.md

Part B——自编 MCP 服务器,并且 ≥ 3 个实质性工具

src/funnel_Calibrator/;共四个工具,其中三个执行计算、诊断或验证,而不仅是检索

Part C——工具契约文档

docs/contract-contracts.md

Part D——具备可运行性要求

无机密提交;采用环境变量配置;本地数据集运行时无需网络连接

设计说明

docs/design-抉择.md

答辩脚本

docs/defence-checklist.md

许可证

MIT——见 LICENSE。

Available Tools

5 tools
audit_ad_verdictAudit a proposed advertising decisionA
Read-only

Test an advertising decision that originated elsewhere — a daily watchdog report, an operator's judgement, a note in the decision journal — against this product's recalibrated economics. Returns 'supported', 'contradicted', or 'insufficient_data', together with the numeric chain that produced the verdict and a counter-recommendation where the proposal is contradicted. Use before acting on any recommendation this server did not itself produce. Read-only.

ParametersJSON Schema
NameRequiredDescriptionDefault
skuYesProduct code, e.g. 21-183
sourceNoWhere the proposal came from, for the audit record
current_cplYesCost per lead the proposal is based on, USD
cpl_trend_daysNoDays the cost per lead has held
proposed_actionYesThe decision being proposed
competitor_activeNoWhether a competitor is bidding on this product

Output Schema

ParametersJSON Schema
NameRequiredDescription
skuYes
verdictYes
evidenceYes
rationaleYes
reliabilityYes
proposed_actionYes
counter_recommendationYes

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: it returns a numeric chain and a counter-recommendation when the proposal is contradicted, and clarifies the three verdict states. 'Read-only' duplicates readOnlyHint=true, so that portion is redundant rather than additive.

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?

Three dense sentences, front-loaded with the purpose and immediately followed by return values and the usage rule. The em-dash enumeration of proposal sources is slightly verbose but earns its place by clarifying scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be exhaustively explained, yet the description still names the verdicts and the counter-recommendation. Combined with the pre-action usage rule, an agent has everything needed to call it correctly.

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 100%, so every parameter is already documented in the schema (sku, source, current_cpl, cpl_trend_days, proposed_action enum, competitor_active). The description adds no format, units, or edge-case guidance for any parameter, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (test/audit) and resource (an advertising decision originating elsewhere), and enumerates the three possible verdicts returned. It implicitly separates itself from siblings like recommend_next_action by scoping to decisions this server did not produce.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives an explicit trigger: 'Use before acting on any recommendation this server did not itself produce,' which also implies the exclusion (decisions the server generated). It does not name an alternative sibling tool by name, so it stops short of a 5.

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

list_covered_skusList products the snapshot can answer forA
Read-only

List the product codes present in the loaded snapshot, with their order counts and whether price and cost data exist for them. Use to resolve a product code before measuring, or to see what the dataset covers. Read-only.

ParametersJSON Schema
NameRequiredDescriptionDefault
min_ordersNoOnly list products with at least this many orders

Output Schema

ParametersJSON Schema
NameRequiredDescription
windowYes
productsYes
total_ordersYes
status_taxonomyYes
snapshot_generated_atYes

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The trailing 'Read-only.' merely restates the annotation, and the listed return fields duplicate the output schema, so the description adds little behavioral context beyond what structured fields provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the first states what is listed and what each entry contains, the second states when to use it. Nothing is wasted and the purpose is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list of one optional filter parameter, the definition covers purpose, contents, and usage adequately, and an output schema exists so return structure need not be explained. Only pagination or result-size behavior is unaddressed, a minor gap.

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?

There is a single optional parameter, min_orders, whose schema description ('Only list products with at least this many orders') is complete at 100% coverage. The description does not reference this filter at all, so it adds no meaning beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource ('List the product codes present in the loaded snapshot') and even specifies the returned fields (order counts, price/cost availability). It implicitly routes the agent away from the measuring sibling by framing itself as the step 'before measuring', so an agent can distinguish it from measure_sku_funnel.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives clear context cues: 'Use to resolve a product code before measuring, or to see what the dataset covers.' That covers the two main situations for calling it. It does not name a specific alternative sibling or state when not to use it, keeping it short of a 5.

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

measure_sku_funnelMeasure a product's funnelA
Read-only

Measure the observed call-centre approval, post-office buyout, and return rates for one product over a date window, counting only order cohorts old enough to have resolved. Use this before any decision that depends on approval or buyout rates, instead of assuming the portfolio-wide 65% approval and 52.5% buyout. Returns rates together with sample size and a reliability flag, and returns null rates with reliability 'insufficient' rather than a number when the resolved sample is too small to support a conclusion. Read-only.

ParametersJSON Schema
NameRequiredDescriptionDefault
skuYesProduct code as it appears in the snapshot, e.g. 21-183
window_toNoISO date YYYY-MM-DD; defaults to the snapshot date
window_fromNoISO date YYYY-MM-DD; defaults to the snapshot start
maturity_daysNoDays an order must be old before it counts as resolved. Defaults to FC_COHORT_MATURITY_DAYS (21). Range 0–90.

Output Schema

ParametersJSON Schema
NameRequiredDescription
skuYes
leadsYes
windowYes
refusedYes
approvedYes
bought_outYes
min_sampleYes
buyout_rateYes
reliabilityYes
return_rateYes
approval_rateYes
cohort_cutoffYes
maturity_daysYes
resolved_ordersYes
shipped_resolvedYes
excluded_in_flightYes
excluded_still_movingYes
snapshot_generated_atYes
excluded_awaiting_callYes
excluded_immature_cohortYes

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces 'Read-only' while adding real behavioral context: only mature/resolved cohorts are counted, null is returned with reliability 'insufficient' when the sample is too small, and results include sample size and a reliability flag. That is meaningful disclosure beyond the annotations.

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?

Front-loaded with the core action and scope, followed by usage guidance and return behavior; every sentence carries information. It runs slightly long, but nothing is redundant padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not enumerate return fields, and it still covers usage, cohort maturity, small-sample handling, and read-only status. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds conceptual meaning to the parameters by explaining that only cohorts 'old enough to have resolved' are counted, which clarifies the role of maturity_days and the window parameters beyond the raw ISO-date documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (measure) and resource (call-centre approval, post-office buyout, and return rates for one product) with explicit scope (date window, resolved cohorts only). An agent can distinguish this from the sibling tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives clear when-to-use guidance: 'before any decision that depends on approval or buyout rates, instead of assuming the portfolio-wide 65% approval and 52.5% buyout.' It does not name a sibling alternative, but the triggering condition is unambiguous.

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

recalibrate_cpl_boundsRecalibrate CPL boundsA
Read-only

Recompute Stop CPL (the cost per lead at which profit reaches zero) and Goal CPL (the optimisation target) for one product from its own measured funnel rates instead of portfolio-wide assumptions, and report the drift against the baseline currently in use. Measures the product itself when observed rates are not supplied. Use whenever a cost-per-lead target is being set, defended, or questioned. Flags the case where the assumed target sits above the true break-even, which is invisible in the ads dashboard. Read-only.

ParametersJSON Schema
NameRequiredDescriptionDefault
skuYesProduct code, e.g. 21-183
usd_uahNoHryvnia per US dollar; defaults to the product's rate
window_toNoISO date, used only when measuring on demand
window_fromNoISO date, used only when measuring on demand
observed_buyoutNoMeasured buyout rate 0–1; measured on demand when omitted
observed_approvalNoMeasured approval rate 0–1; measured on demand when omitted

Output Schema

ParametersJSON Schema
NameRequiredDescription
skuYes
drift_pctYes
inputs_usedYes
rate_sourceYes
reliabilityYes
observed_ratesYes
resolved_ordersYes
structural_lossYes
contribution_uahYes
goal_cpl_assumedYes
stop_cpl_assumedYes
goal_cpl_observedYes
stop_cpl_observedYes
economics_reliableYes
target_above_breakevenYes
contribution_uah_assumedYes

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description confirms 'Read-only.' Parity there. The description adds real behavior: it falls back to measuring the product itself when rates are omitted, and it reports drift vs. the current baseline. It does not disclose cost/latency of on-demand measurement, keeping it out of the 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, each load-bearing: what is computed, the source substitution, the fallback, the trigger, and the flag. Verb+resource is front-loaded, and 'Read-only' is correctly placed last as a closing guarantee.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanations are unnecessary. For a 6-param read-only tool the description covers purpose, fallback behavior, and the business flag adequately. It omits when observed_* should be supplied vs. left null (beyond 'when omitted'), a minor gap.

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 100%, so each parameter is documented in the schema. The description adds only the fallback semantics ('measured on demand when omitted'), which is already stated per-param in the schema. It does not explain the observed_* vs. window_* interaction beyond that. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (recompute) and two named resources (Stop CPL, Goal CPL), defines each parenthetically in business terms, and distinguishes the computation source ('from its own measured funnel rates instead of portfolio-wide assumptions'). An agent can separate this from siblings like measure_sku_funnel.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit trigger: 'Use whenever a cost-per-lead target is being set, defended, or questioned.' Names the specific alert condition it surfaces (assumed target above true break-even, invisible in the ads dashboard). No sibling is named as an alternative, but the when-to-use clause is unambiguous.

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

recommend_next_actionRecommend the next advertising actionA
Read-only

Diagnose why a product is underperforming and return the matching remedy. Given the product's measured funnel, its current cost per lead, and optional competitor and creative signals, identifies the likeliest failure mode — structural loss, contested auction, traffic quality, offer or price mismatch, creative fatigue, or a weak offer — and returns the action that fits it. Use when a campaign misses its target and the cause is not yet established, because cheap leads that fail on the call and leads that fail at the post office need opposite remedies. Returns action 'hold' with diagnosis 'insufficient_data' rather than guessing when the sample is too small. Read-only.

ParametersJSON Schema
NameRequiredDescriptionDefault
skuYesProduct code, e.g. 21-183
window_toNoISO date
current_cplYesCurrent cost per lead in USD
window_fromNoISO date
cpl_trend_daysNoDays the current cost per lead has held
competitor_activeNoWhether a known competitor is bidding on this product
creative_ctr_trendNoChange in click-through rate; negative means falling
creative_frequencyNoMeta frequency for the running creative

Output Schema

ParametersJSON Schema
NameRequiredDescription
skuYes
actionYes
evidenceYes
priorityYes
diagnosisYes
rationaleYes
confidenceYes
measurementYes
breakeven_conditionYes

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the closing 'Read-only' is redundant. However, the description adds real behavioral context beyond the annotations: the diagnosis taxonomy it applies, the signals it consumes, and the fallback behavior ('hold' with 'insufficient_data') instead of a forced recommendation. That fallback is the kind of trait an agent cannot infer from structured fields.

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?

Front-loads the purpose in the first sentence, then layers the failure taxonomy, the usage trigger, and the fallback rule in a logical order. The 'call vs. post office' analogy consumes a clause that is illustrative rather than strictly load-bearing, and the trailing 'Read-only' duplicates the annotation, so it is dense but not maximally tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not document return fields, and it correctly only hints at the shape ('action hold', 'diagnosis insufficient_data'). Given 8 parameters at full schema coverage plus annotations, nearly everything an agent needs to call this correctly is present; only explicit sibling routing is absent.

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 100% across all 8 parameters, so the schema already defines sku, current_cpl, window_*, cpl_trend_days, competitor_active and the creative signals. The description only gestures at them collectively ('measured funnel, its current cost per lead, and optional competitor and creative signals') without adding format, units, or interaction semantics. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Diagnose why a product is underperforming and return the matching remedy') and enumerates the exact failure modes it distinguishes (structural loss, contested auction, traffic quality, offer or price mismatch, creative fatigue, weak offer). An agent can tell this apart from measure_sku_funnel or audit_ad_verdict, which measure or judge rather than prescribe a remedy.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives an explicit trigger ('Use when a campaign misses its target and the cause is not yet established') and a justification for the tool's existence (opposite remedies for leads that fail on the call vs. at the post office). It also states a boundary condition — returns 'hold'/'insufficient_data' rather than guessing on small samples. It stops short of naming sibling tools as alternatives, so it is clear context without explicit routing.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updatesv0.1.0
    • First observedaudit_ad_verdict
    • First observedlist_covered_skus
    • First observedmeasure_sku_funnel
    • First observedrecalibrate_cpl_bounds
    • First observedrecommend_next_action

TDQS

A4.3/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct decision stage: listing covered SKUs, measuring observed funnel rates, recalibrating CPL bounds, recommending remedies, and auditing external verdicts. The two diagnostic tools (recommend_next_action and audit_ad_verdict) are clearly separated by whether the decision originated from this server or elsewhere. No overlapping or indistinguishable purposes.

Naming Consistency5/5

All tools use a consistent snake_case verb_noun pattern (measure_sku_funnel, recalibrate_cpl_bounds, recommend_next_action, audit_ad_verdict, list_covered_skus). The convention is predictable and readable throughout.

Tool Count5/5

Five tools is well-scoped for a specialized funnel calibration server. Each tool earns its place: discovery, measurement, recalibration, diagnosis, and verification. There is no redundancy or thin surface.

Completeness4/5

The surface covers the full read-only analytics lifecycle from listing SKUs to auditing external decisions, with sensible fallbacks for insufficient data. A minor gap is the absence of a dedicated tool to fetch or compare the current portfolio-wide baseline assumptions, though descriptions imply those are internally available.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to turn customer conversations into provably correct remodeling quotes by extracting catalog-bounded line items with evidence and calculating prices deterministically.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables agents to query historical call-center call reason notes and tags on demand, detect statistically significant emerging problem spikes against baselines, and evaluate automated categorizers against ground truth.
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to retrieve analytics reports, compare periods, and inspect orders, leads, calls, visits, clients, and funnel data from allowed projects.
    1
    -