Skip to main content
Glama

Extract package dimensions and land geometry

datasheetvend_extract_package_dimensions
Read-onlyIdempotent

Extract mechanical package outline dimensions (D, E, A, A1, e, L, b) and a nominal land geometry estimate in the spirit of IPC-7351B (review-level, not a manufacturer land pattern). For the package variant/pin count from the pin table, prefer extract_pinout. canonical_output.dimension_evidence lists every delivered value with how it stands: verified is true only when code checked the quoted line as that value's own dimension-table row (or a line naming the package with its size or terminal count) on a page that names the package, and the row then carries the page and the printed line; derived rows carry the formula and the values they were computed from; every other row is delivered marked as not verified, with the reason. Runs DatasheetVend Fast Extraction: a page scout routes targeted model reads and the module's own deterministic readers, then the same normalization and completion checks as a dashboard job finish the result, usually in seconds; engine names the engine on every result. If Fast Extraction cannot complete the module, the slower deep engine re-runs that module alone (engine.runtime is then monolith_rescue; the result says so, and it is billed as delivered). A rescue can take several minutes, so set a client timeout of 10 minutes. Only if the deep engine also cannot deliver does the module return status FAILED with the reason.

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": {
      "documentPath": "<documentPath>"
    },
    "name": "datasheetvend_extract_package_dimensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
partNameNoOptional part number / MPN to disambiguate a multi-part datasheet.
documentPathYeshttps:// URL to the datasheet PDF. The remote /api/mcp endpoint accepts ONLY https:// URLs (it downloads them); a local filesystem path works solely in local stdio mode (npm run mcp:serve).

Output Schema

NameRequiredDescriptionDefault
engineNoWhich engine produced this result
reviewYes
statusYesThe module's completion status (for example approved, approved_with_warnings or empty), or FAILED when Fast Extraction could not extract the module
contractYesContract id, e.g. thermal_evidence_v2
warningsYesPublic engineering warnings from the extraction.
module_idYesCanonical module id
extracted_dataYesThe module's extraction after its own normalization — values with the datasheet page they came from (source_page, where one was recorded) and, where the module provides them, confidence_score and source_text_snippet.
canonical_outputYesThe module's canonical (CAD-ready normalized) output block.
engineering_summaryYesConcise human-readable engineering summary, when emitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare the safe read/idempotent/open-world profile, yet the description adds substantial behavior: Fast Extraction routing via a page scout and deterministic readers, per-result `engine` naming, fallback to a slower deep engine (`monolith_rescue`) that can take minutes, explicit advice to set a 10-minute client timeout, billing of the rescue, and FAILED only when both engines fail. It also explains verification semantics (verified only when code checked the quoted row on a page naming the package; derived rows carry formula and inputs; everything else marked unverified with reason). That is exactly the beyond-annotation context an agent needs to call and interpret the tool correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the extract_pinout routing are front-loaded, which is good, but the middle section is a dense run-on covering dimension_evidence semantics with nested conditions ('or a line naming the package with its size or terminal count') that is hard to parse in one pass. Some of this restates what the output schema already carries, so the text is longer than necessary for the value delivered.

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?

For a tool with an output schema, it covers the non-obvious gaps an agent would otherwise hit: engine selection and rescue latency, timeout guidance, failure conditions, and how to interpret the verified/derived/unverified flags on delivered values. Nothing material needed to invoke it correctly or read its result is missing.

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% for both parameters, and the schema already explains that documentPath must be an https URL on the remote endpoint and is filesystem-only in local stdio mode. The description adds no parameter-level detail beyond the indirect hint about partName-like disambiguation when routing to extract_pinout, so the baseline 3 applies.

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?

States a specific verb and resource ('Extract mechanical package outline dimensions') and enumerates the exact dimensions returned (D, E, A, A1, e, L, b) plus the derived land geometry. It also scopes the deliverable as review-level IPC-7351B rather than a manufacturer land pattern, and explicitly routes pin-table variant/pin-count work to extract_pinout, so an agent can distinguish it from siblings without opening a schema.

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?

Gives clear when-to-use context (mechanical outline extraction plus nominal land geometry for review) and one explicit alternative with its condition ('For the package variant/pin count from the pin table, prefer extract_pinout'). It stops short of stating when a caller should instead use a sibling such as datasheetvend_calculate_land_pattern, so the alternative space is only partially mapped.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources