Skip to main content
Glama
guansuian

Andon SOP MCP Server

by guansuian

reverseAuditProductionTask

Reverse audit production tasks in batch by specifying task IDs and check statuses. Only tasks with checkStatus 1 (issued) can be reversed; call queryProductionTaskList first to retrieve tasks.

Instructions

批量反下达生产任务,调用 /productionTask/reverseAudit。调用本工具前必须先调用 queryProductionTaskList 查询生产任务并让用户选择要反下达的任务。只有 checkStatus 为 1(已下达)的生产任务允许反下达;其他状态不能反下达。本工具会在反下达前校验每个生产任务的 checkStatus。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tasksYes要反下达的生产任务列表。必须来自 queryProductionTaskList 查询结果,支持批量反下达。
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses validation behavior (checks checkStatus before reversal), but does not detail side effects, reversibility, or success/failure responses.

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?

Concise, no fluff. Purpose and prerequisite are front-loaded. Every sentence adds essential information.

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?

Covers prerequisites and validation adequately for a simple batch tool. No output schema, but missing error handling or return format details are acceptable given tool's scope.

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 has 100% description coverage. Description adds meaningful value by requiring data to come from queryProductionTaskList and explaining the checkStatus constraint, going beyond schema basics.

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 clearly states the tool's purpose: '批量反下达生产任务' (batch reverse-audit production tasks) and specifies the API endpoint. It distinguishes itself from sibling tools like 'auditProductionTask' by focusing on reverse operation.

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?

Explicitly states prerequisite: must call queryProductionTaskList first. Specifies that only tasks with checkStatus=1 are allowed, providing clear when-to-use guidance and preconditions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guansuian/sop-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server