Skip to main content
Glama

BidGuard Pro: Tender & Contract .docx Compliance MCP

audit_bid_document

Read-onlyIdempotent

标书排雷王确定性核验引擎:解析 .docx(支持 docx_url / docx_base64)或纯文本(tender_text),精准核验人民币大小写分位差额、页眉页脚串名、工期冲突、占位符残留、法定签章缺失、资质过期及★实质性条款漏项。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "audit_bid_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
bid_dateNo开标日期基准,格式 YYYY-MM-DD(用于判定企业资质证书是否已过期),如 2026-11-30
docx_urlNo用户上传 .docx 标书后生成的公网 HTTPS 下载链接(与 tender_text 二选一)
docx_base64No可选:.docx 文件 Base64 编码内容
license_keyNo可选:Pro 激活码(OPC1. 开头);留空则返回免费体验体检报告(含前2处精确定位与剩余隐藏雷区计数)
tender_textNo可选:标书正文/报价函/资质页纯文本或 OCR 识别文本(与 docx_url 二选一)
rubric_itemsNo可选:招标文件要求逐条响应的 ★ 实质性条款或评分细则列表
expected_bidderNo本次投标人本公司全称
expected_purchaserNo本次招标的正确采购人/招标人全称(用于揪出页眉页脚旧标书串名)
paid_order_verifiedNo仅由扣子/支付宝支付工作流验单通过后传入 true(需配 X-Plugin-Secret)
expected_project_nameNo本次招标的正确项目全称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds the meaningful trait that checks are '确定性' (rule-based, deterministic) rather than LLM-guessed, but says nothing about output composition, tier gating behavior, failure modes, or cost/latency.

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 sentence structured as 'engine name : inputs : checks', with the input modes front-loaded before the defect list. Every clause carries information, though the string of seven check categories in one breath is heavy for readability.

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 ten-parameter tool with zero required parameters and no output schema, the description should clarify that at least one of docx_url/docx_base64/tender_text is needed and what the returned report contains. Instead the free-vs-Pro report difference is only discoverable in the license_key schema field, and the return payload is never described.

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 all ten parameters are already documented, which sets the baseline at 3. The description lightly reinforces semantics by naming the three input channels and the ★ substantive-clause check that maps to rubric_items, but adds no format, precedence, or exclusivity rules beyond what the schema states.

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 opens with a specific verb and resource ('确定性核验引擎:解析 .docx ... 或纯文本') and then enumerates the exact defect classes it detects — RMB amount case/fraction mismatch, stale header/footer names, schedule conflicts, placeholder residue, missing seals, expired qualifications, and ★ clause omissions. An agent knows precisely what the tool does without reading the schema.

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?

It gives input-mode routing ('docx_url / docx_base64' vs 'tender_text'), which is useful context for choosing how to call it, but there is no explicit when-to-use vs when-not-to-use guidance and no statement of prerequisites (e.g., that at least one input source is mandatory, or when a Pro license_key is required). Usage is implied by the purpose rather than stated as rules.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.