Skip to main content
Glama
chang0911

丝路E投财务引擎 MCP 适配层

by chang0911

run_revenue_review

Audit revenue and cost合理性 across 16 checks (R/C/X) to flag🔴不合理, 🟡需关注, or 🟢正常 levels for E-Investment projects. Supply project ID or report files to get scored results with thresholds for benchmarking.

Instructions

收入费用合理性审查:R收入(5项)/C费用(6项)/X交叉(5项)共16项,🔴明显不合理/🟡需关注/🟢正常/ℹ️数值输出待联网对标(需benchmark/地方定价的项已给测算数值与判定阈值,宿主AI联网比对后可自行定级)。双输入:p_id(+stage) 或 reports 对象(无平台项目号时可先 fast_calc_reports 生成11张表再传入)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
p_idNoE投项目号(纯数字,与 reports 二选一)
stageNo默认 scheme_stage
reportsNo直接提交报表(与 p_id 二选一):{E投标准报表文件名: 原生txt全文},或 JSON {文件名:{行名:{年份:数值}}} / [[表头行],[数据行]...] 二维数组(financial_ratios 传 [{idx,name,m,a}] 列表),或 fast_calc_reports 返回的 tables 整包;可子集

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations and no output schema, the description carries the full burden and does well: it discloses that the tool returns 16 graded items (🔴/🟡/🟢/ℹ️), and crucially warns that some items are unqualified numerical outputs the host AI must benchmark online against local pricing. That grading legend and the follow-up caveat are exactly the behavioral context an agent needs. It omits any mention of permissions, cost, or rate limits.

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 dense paragraph that front-loads the purpose, then the 16-item breakdown, then the grading legend, then the input modes — a sensible ordering. It is information-heavy but nearly every clause earns its place by carrying inspection criteria or input rules.

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 nested-input, no-annotation tool, the description covers the essentials: what gets reviewed, how results are graded, the two input paths, and the fallback sequence via fast_calc_reports. No output schema exists, yet the grading legend gives enough of a picture of the return shape; only edge-case behavior of the reports object is left implicit.

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 coverage is 100%, so p_id, stage, and reports are already documented in the schema, including the 'p_id 与 reports 二选一' constraint and the stage default. The description only restates the dual-input structure and adds a light workflow hint (use fast_calc_reports output), so it lands at the baseline 3.

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+resource (收入费用合理性审查 / revenue-and-expense reasonableness review) and quantifies scope (16 items across R/C/X categories), so an agent knows exactly what the tool produces. It does not, however, differentiate itself from overlapping siblings such as run_model_check or run_national_econ.

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?

Explains the two alternative input paths (p_id+stage vs reports object) and gives a concrete prerequisite sequence: when no platform project number exists, call fast_calc_reports first to generate the 11 tables. This is clear input-sourcing guidance with a named sibling, but it stops short of stating when this review is preferred over the other review/analysis tools.

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