Skip to main content
Glama
guansuian

Andon SOP MCP Server

by guansuian

queryAbnormalDrawingList

Fetch paginated abnormal drawing records with dynamic filters. Returns attachments for review and selection.

Instructions

分页查询SOP异常图纸列表。会先调用 /form/initFieldData 读取 AbnormalDrawing 表单字段配置,再调用 /attachment/queryPageMap 查询分页数据;分页查询 className 固定为 Attachment,并固定传入 fileType=abnormalDrawing。返回的 Work Buddy 查询上下文会包含每条记录的 id,方便后续选择异常图纸记录继续操作。

Input Schema

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

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

Discloses internal API calls, fixed parameters (className, fileType), and that returned context includes record IDs. No annotations provided, so description carries burden; it offers good insight beyond basic functionality, though omits error handling and auth requirements.

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?

Concise and well-structured: front-loads main purpose, then explains internal steps. Could be slightly shorter, but remains efficient.

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 key aspects: pagination, internal process, fixed parameters, and returned context (ids). Lacks output schema, but description compensates with details. Sufficient for typical use.

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?

Adds meaning beyond schema: explains filters parameter semantics (field names, fuzzy/range matching), and that fileType is fixed. With 100% schema coverage, baseline is 3, but description enhances understanding.

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: paginated query of SOP abnormal drawing list. It details the internal process (two API calls) and fixed parameters, distinguishing it from sibling tools like auditProductionTask and querySopList.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives. While it describes what it does, it lacks conditions, exclusions, or references to sibling tools.

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