Skip to main content
Glama
guansuian

Andon SOP MCP Server

by guansuian

dispatchToStation

Dispatch selected SOPs to a workstation. Requires SOP IDs from querySopList and station ID/name from queryWorkstationList. Supports batch dispatch.

Instructions

将一个或多个 SOP 派发到工位机。调用本工具前必须先调用 querySopList 查询并选择 SOP,ids 来自 SOP 记录 id;还必须先调用 queryWorkstationList 查询并选择工位机,stationId 和 stationName 必须来自同一条工位机记录。本工具支持批量派发,会把多个 SOP id 用英文逗号拼接为 ids。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sopsYes要派发的 SOP 列表。必须来自 querySopList 查询结果,支持批量派发。
stationIdYes工位机ID。必须来自 queryWorkstationList 返回的同一条工位机记录 id。
stationNameYes工位机名称。必须来自 queryWorkstationList 返回的同一条工位机记录。
Behavior2/5

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

With no annotations provided, the description carries full burden. It only states the action and prerequisites but fails to disclose side effects, success/error behavior, or whether it is destructive. The mismatch between description (comma-separated ids) and schema (array) adds opacity.

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 description is concise with two sentences. The first sentence states purpose, the second provides usage guidance. No redundant information, though the mention of 'ids' could be aligned with the schema to avoid confusion.

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?

While the description covers purpose, prerequisites, and batch support, it lacks information about return values (no output schema) and has a discrepancy between described concatenation and actual array input. This leaves some gaps for an agent.

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 coverage is 100% with descriptions on all parameters. The description adds value by emphasizing data source consistency (ids from querySopList, stationId/stationName from same workstation record) and batch dispatching behavior. This goes beyond the schema's own descriptions.

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 clearly states 'Dispatch one or more SOPs to workstation' with a specific verb and resource. It distinguishes from sibling tools like querySopList and uploadSop by focusing on dispatching. However, the mention of 'ids concatenated with commas' contradicts the actual schema which expects an array of objects, causing minor confusion.

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?

The description explicitly states prerequisites: must call querySopList and queryWorkstationList first, and ensures stationId and stationName come from the same record. It also mentions batch support. It doesn't explicitly state when not to use, but the context is clear given prerequisites.

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