Skip to main content
Glama

制造业管理工具箱 · Manufacturing Management Toolkit

safety_audit

重点灾害发生源审核:对隐患/发生源台账做「六大类重点灾害」归类、A/B/C 风险分级、点检周期建议与硬件优先违规检出,输出审核报告 + 规范化台账 CSV(可直接进 EHS/CMMS)。

Args:
    sources: 发生源条目 JSON 数组字符串,至少 1 条(上限 300)。每条形如
             {"id":"SR-001","equipment":"CNC-07","source":"主轴皮带轮防护罩",
              "phenomenon":"防护罩螺栓缺失,手可触及旋转皮带轮","protection":"固定式防护罩(无联锁)",
              "severity":"致命|重伤|轻伤|无伤害","frequency":"经常|偶尔|极少",
              "countermeasures":["设备对策:加装联锁防护罩"],"owner":"保全班"}。
    payment_proof: 支付宝支付凭证。首次调用留空 → 返回付款信息;付款后带入此参数重试。
    license_key: 买断/年费客户的授权码(有授权码则免付款)。与 payment_proof 填其一。

Input Schema

NameRequiredDescriptionDefault
sourcesYes
license_keyNo
payment_proofNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose important non-obvious behavior: the first call acts as a payment/preview gate, a license_key bypasses payment, and the batch is capped at 300 entries. It omits things like processing time, failure behavior on malformed entries, and whether calls are idempotent.

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?

The purpose sentence is front-loaded and dense with specifics, followed by a structured Args block. It is longer than typical but each part carries information; no filler sentences are present.

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?

The tool is non-trivial (paid gate, batch limit, structured input, two output artifacts) and an output schema exists, so return values needn't be re-explained. Between the purpose sentence, the 300-entry limit, and the payment/license flow, an agent has everything needed to invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: sources is documented as a JSON array string of 1–300 entries with a full field-by-field example, and the interaction between payment_proof and license_key (either/or, empty-first-call semantics) is spelled out clearly. This adds substantial meaning beyond the bare schema property names.

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?

The description names a precise verb+resource and enumerates the concrete processing steps (six-category classification, A/B/C risk grading, inspection-cycle recommendation, hardware-priority violation detection) plus the two artifacts produced (audit report + normalized CSV for EHS/CMMS). It is fully self-explanatory about what the tool does, though it never positions itself against any sibling tool.

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 strong invocation guidance for the paid flow (first call with empty payment_proof returns payment info; retry with payment_proof or license_key, 'fill one of them'), but it never states when to choose this tool over sibling tools or what prerequisite inputs must exist. Usage is implied rather than contrasted with alternatives.

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.

Resources