Skip to main content
Glama

workbench_pdf_inventory

Extracts a local vector PDF page into a source-derived millimeter inventory using two-direction calibration and font mapping, while preserving geometry and flagging unsupported objects.

Instructions

Extract a local vector PDF page to a source-derived mm inventory. Explicit two-direction calibration and local font mapping; preserve source geometry/paint. Report unsupported objects and block incomplete construction. Does not infer native dimension semantics or operate CAD.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>",
      "source": "<source>",
      "calibration": "<calibration>"
    },
    "name": "workbench_pdf_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
job_idYes
sourceYes
font_mapNo
calibrationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does contribute real behavioral facts: source geometry and paint are preserved, unsupported objects are reported, and incomplete construction is blocked (i.e., the call can fail validation). It stops short of describing the returned inventory's shape, which matters because there is no output schema.

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?

Four short, front-loaded clauses with no filler; purpose comes first, constraints second. The language is heavily compressed to the point of jargon ('source-derived mm inventory', 'preserve source geometry/paint'), which slightly costs first-read clarity but wastes no words.

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

Completeness2/5

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

For a tool with five parameters, an untyped nested calibration object, no annotations, and no output schema, the description leaves the caller unable to know what a valid calibration payload looks like or what the inventory returns. The behavioral notes are useful but the parameter and return gaps are significant at this complexity.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, including a free-form nested 'calibration' object with additionalProperties, so the description must compensate. It hints at two of them ('two-direction calibration', 'local font mapping'), but says nothing about the calibration object's required structure, the 'source' path format, or the 'job_id'/'page' pairing.

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?

The first sentence names a specific verb and resource: extract a local vector PDF page into a source-derived mm inventory. It also draws two boundaries ('does not infer native dimension semantics or operate CAD'), which separates it from the CAD-oriented siblings, though it never names a nearer alternative such as workbench_export_pdf or workbench_source_inventory directly.

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 implied rather than stated: the caller learns the input must be a *local vector* PDF page and that explicit two-direction calibration is mandatory. The only exclusions given are negative ones (no native dimension semantics, no CAD operations), and there is no positive statement of when to pick this over the sibling inventory/export tools.

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