Skip to main content
Glama
guansuian

Andon SOP MCP Server

by guansuian

previewSopFile

Preview the image of an abnormal annotation point from an SOP file. Provide the record ID obtained from queryAbnormalDrawingList.

Instructions

预览 SOP 文件异常标注点图片。调用本工具前应先调用 queryAbnormalDrawingList 查询 SOP 异常图纸/异常标注点列表,并让用户选择要查看的记录 id。本工具会访问 /attachment/getMapById,根据返回实体中的文件路径字段拼接前端可访问的图片 URL。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes异常图纸/异常标注点记录ID,必须来自 queryAbnormalDrawingList 返回记录的 id。
Behavior4/5

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

No annotations are provided, so the description must disclose behavioral traits. It reveals the internal API call to /attachment/getMapById and explains URL construction. Although it doesn't mention safety (read-only) or auth, the description offers sufficient transparency for a preview tool.

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 extremely concise with just two sentences. It front-loads the purpose and proceeds with usage instructions. Every sentence earns its place with no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the single parameter with 100% schema coverage and no output schema, the description provides complete context: it explains the prerequisite step, the internal call, and the result (a frontend-accessible URL). For a simple preview tool, nothing essential is missing.

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% and the schema already describes the id parameter. However, the description adds meaning beyond schema by tying the id to a specific source (queryAbnormalDrawingList results) and explaining its role, which helps the agent use the parameter correctly.

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: to preview abnormal marked points in SOP files. It uses a specific verb ('preview') and resource ('SOP file abnormal marking points'), and distinguishes it from sibling tools by explicitly mentioning a prerequisite call to queryAbnormalDrawingList.

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 when to use this tool: after calling queryAbnormalDrawingList and after user selects a record id. It provides clear context but does not mention when not to use it or list alternatives, which is acceptable given the straightforward workflow.

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