Skip to main content
Glama
chang0911

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

by chang0911

fast_calc_excel

Convert five required txt files into a 12-sheet, formula-driven Excel workbook in E-Investment format. Returns a 72-hour download link by default; base64 available for smaller outputs.

Instructions

快速测算成品:5类txt → 12表全公式Excel(E投口径)。默认返回72h下载短链(file.url,防大文件撑爆上下文),return_mode="base64" 可回退(超10万字符自动降级短链)。前置:需先调 get_protocol_instructions。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYes5类txt:文件名→全文
file_nameNo成品文件名(可选,缺省自动生成)
return_modeNo交付方式:默认 url(72h短链);base64 可回退(超过10万字符自动降级短链防客户端截断)

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, the description carries the burden and does well: it discloses the default delivery mechanism (72h download short link), the reason (prevent large files from blowing up context), the fallback mode, and an automatic downgrade threshold (100k chars). It does not cover permissions, idempotency, or failure behavior, but for a compute tool this is solid disclosure.

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 input→output transformation, then delivery behavior, then the prerequisite. Dense but each clause carries information. There is mild overlap between the description and the return_mode schema text, costing it a perfect score.

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 3-param tool with no annotations and no output schema, the description covers the essential return behavior (file.url short link), the fallback path, and an ordering prerequisite, which is more than most peers. It leaves the actual Excel content/12-sheet structure unexplained, but that is out of scope for invocation correctness.

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 the schema already documents files, file_name, and return_mode, so the baseline is 3. The description restates the return_mode semantics (url default, base64 fallback, auto-downgrade) rather than adding new meaning beyond the enum description. No compensating gaps exist.

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 (快速测算) and the exact transformation: 5 txt inputs → a 12-sheet full-formula Excel in the E投 caliber. The 'E投口径' qualifier is a real distinguishing signal versus generic siblings like estimate_excel. It stops short of naming an alternative sibling to disambiguate fast_calc_reports or fast_calc_solve.

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?

Provides an explicit prerequisite: '前置:需先调 get_protocol_instructions' — a concrete ordering constraint most descriptions omit. It also explains when to prefer the default url mode vs base64 fallback. It does not say when to use this over sibling calculation tools, so it is not a full 5.

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