Skip to main content
Glama
guansuian

Andon SOP MCP Server

by guansuian

queryProductionTaskList

Fetches paginated production tasks by initializing form fields, applying dynamic filters, and translating display values via data dictionary, returning record IDs for subsequent operations.

Instructions

分页查询生产任务列表。会先调用 /form/initFieldData 读取 ProductionTask 表单字段配置,再调用 /productionTask/queryPageMap 查询分页数据,并使用数据字典翻译展示值。返回的 Work Buddy 查询上下文会包含每条记录的 id,方便后续按生产任务记录继续操作。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,从 1 开始。默认 1。
limitNo每页数量,默认 10,最大 100。
containNo初始化表单字段时只包含指定字段,默认空。
excludeNo初始化表单字段时排除指定字段,默认空。
filtersNo动态查询条件。key 必须是 ProductionTask 表单字段 field;文本字段模糊查,时间字段传 {start,end} 范围查。
Behavior4/5

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

Given no annotations, the description discloses the internal flow (two API calls, data dictionary translation) and notes that the returned context includes record IDs. It does not explicitly state read-only behavior, but as a query tool it is implicitly safe. The description adds value beyond the annotations gap.

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?

The description is concise (3 sentences), front-loaded with the main purpose, and every sentence adds necessary detail. No fluff or redundancy.

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?

The description explains the internal flow and mentions that returned records include IDs, but lacks details on pagination metadata (e.g., total pages) or complete response structure. Since no output schema exists, more detail on the return format would be beneficial.

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 description coverage is 100%, baseline 3. The description adds value by explaining the filters parameter format (fuzzy text, range for time fields) and the purpose of contain/exclude for field initialization, which goes beyond the schema descriptions.

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 '分页查询生产任务列表' (paged query for production task list), specific verb+resource. It distinguishes from sibling tools like auditProductionTask (audit) and dispatchToStation (dispatch) by being a query-only tool, which is evident from the context.

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?

The description implies usage for listing production tasks with pagination, but does not explicitly state when to use this tool compared to siblings like querySopList or queryWorkstationList. No exclusions or alternatives 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