Skip to main content
Glama
imnoo-team

quality-control-plan-mcp

Export the Excel measurement and inspection report

export_quality_plan_excel
Idempotent

Export the inspection plan as a Measurement and inspection report .xlsx workbook, including the dimensional-conformity table, visual-inspection checklist, and signature block.

Instructions

Write the quality plan as the "Measurement and inspection report" workbook (.xlsx): headline with the inspection class, header block (article name, ET-No., batch number, inspection rate), the visual-inspection checklist (a–e), the dimensional-conformity table (Insp. dim. no. · nominal dimension or thread size · tolerance range · measuring instrument · actual dimension · deviation · date · inspector), change-tracking footnotes and the special-release/signature block — cell for cell the report the Imnoo calculator produces. Default location: next to the drawing PDF as _.xlsx.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNoPlan settings — shared by build_quality_plan and both export tools; pass the same object to every call so the documents match the reviewed plan. Everything is optional; defaults reproduce the web app's initial plan.
overwriteNoallow replacing an existing file
drawing_idYesfrom analyze_drawing or load_analysis
output_pathNotarget .xlsx path, or a directory (default: next to the drawing PDF, else the working directory)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already mark this as a non-read-only, idempotent, non-destructive, closed-world write, so the safety profile is covered. The description adds genuine behavioral value by detailing what ends up cell-for-cell in the workbook, but says nothing about whether the drawing/PDF files are touched, what happens if the target file already exists (that is schema-only), or what the call returns (e.g. the written path).

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?

One front-loaded sentence opens with the verb and artifact, then spends the rest on a concrete manifest of report contents; a short second sentence covers the default location. The column enumeration is long but defensible since it defines the deliverable, and there is no boilerplate filler.

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?

For a complex, nested-schema export tool with no output schema, the description conveys what the generated artifact contains, its naming convention, and its default location, which is what an agent needs before invoking. It is slightly short on cross-tool sequencing (analyze/load → build_quality_plan → export) and on the return value.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter including the deeply nested plan object is already documented at source; the description does not need to compensate. It adds only the path-convention detail (<drawing number>_<inspection class>.xlsx) which partially overlaps the output_path description, so it does not meaningfully exceed the schema.

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?

States a specific verb and artifact — write the quality plan as the "Measurement and inspection report" workbook (.xlsx) — and enumerates the exact sections produced. The Excel-vs-PDF distinction from export_inspection_pdf is implied by the format and content but the sibling is never named, so an agent must infer the routing.

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?

Usage is only implied: you call this when you want the report as a spreadsheet. There is no explicit statement of when to prefer this over export_inspection_pdf, no prerequisite about having a plan built first, and no note on when overwriting is appropriate (that lives only in the schema). The default-location sentence is the only concrete operational guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.