Skip to main content
Glama
guansuian

Andon SOP MCP Server

by guansuian

likeSelectMaterielList

Paginated query of material list with dynamic filters based on MES form configuration, returning material IDs for SOP upload.

Instructions

按 MES 表单配置动态分页查询物料列表。会先读取 Materiel 表单字段配置,构建查询参数,查询 /materiel/queryPageMap,并使用数据字典翻译展示值。调用 uploadSop 前可先用本工具查询物料,并从返回的 Work Buddy 查询上下文中读取记录 id 作为 materielId。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,从 1 开始。默认 1。
limitNo每页数量,默认 10,最大 100。
containNo初始化表单字段时只包含指定字段,默认空。
excludeNo初始化表单字段时排除指定字段,默认空。
filtersNo动态查询条件。key 必须是 Materiel 表单字段 field;文本字段模糊查,时间字段传 {start,end} 范围查。例如按物料名称查传 {"name":"关键字"},按物料编码查传 {"code":"关键字"}。
Behavior3/5

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

Describes reading form config, querying an endpoint, and using data dictionary. No annotations exist, so description carries full burden. It implies read-only but doesn't explicitly state safety, auth requirements, or rate limits. Adequate but missing some details.

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?

Three sentences front-loaded with main action and process details. Every sentence adds value without redundancy. Concise and well-structured.

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?

Lacks output schema and annotations. Description explains internal logic but does not detail the return format (e.g., fields in material records). For a query tool, the agent may need to know what properties are available. Gaps in safety and output details reduce completeness.

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 covers 100% of parameters. Description adds value by explaining the process (reading form config) which gives context to contain/exclude parameters, and the filters parameter is well-described. The description enhances understanding beyond schema.

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?

Description clearly states it queries material lists with dynamic pagination according to MES form configuration. It specifies the endpoint, data dictionary translation, and a specific use case (before uploadSop). This distinguishes it from siblings which query SOPs, tasks, workstations, etc.

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?

Explicitly states to use before uploadSop to retrieve materielId. While it doesn't explicitly list when not to use, the context implies it's for material queries, and siblings handle other entities. Clear usage context is provided.

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