Skip to main content
Glama

Extract hardware register map

datasheetvend_extract_register_map
Read-onlyIdempotent

Extract the register map: memory addresses, reset values, access permissions (RO/RW/W1C), and per-bit field definitions. canonical_output.value_checks labels each value by the check that reached it: verified means an outside source (OCR of the printed page, the vendor's register file) agreed; flagged values list both readings. No label claims a value is true of the chip. canonical_output.svd_coverage says how many registers and bit fields device.svd holds and lists each one left out with a reason code. canonical_output.svd_readiness says whether device.svd may be loaded into a debugger: debugger_ready, description_only (a register description, not for live debugging; always so for an I2C/SPI device) or not_ready, with the first reasons; a check that did not run is never a pass, and debugger_ready does not mean every value is true of the chip. 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_register_map"
  }
}

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

A3.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond them: verified vs flagged value labeling, an explicit disclaimer that no label asserts chip truth, SVD coverage/readiness semantics, the Fast Extraction pipeline, the monolith_rescue deep-engine fallback and its billing, a recommended 10-minute client timeout, and the FAILED terminal state.

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 is front-loaded, but the body runs long and spends most of its length on output-field semantics that the output schema already covers. There is also near-duplication between "No label claims a value is true of the chip" and "debugger_ready does not mean every value is true of the chip."

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 tool that triggers a multi-stage extraction with a long-running fallback, the essential invocation facts are present: runtime expectations, the 10-minute timeout, billing on rescue, and the FAILED condition. What is missing is any statement of when to call this module versus the other extractors, and any hint about partName selection for multi-part datasheets beyond the schema.

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, so documentPath's https-only vs local-stdio split and partName's disambiguation role are already documented in the schema. The description adds no parameter-level meaning, which matches the baseline 3 when the schema does the work.

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 description opens with a specific verb and resource ("Extract the register map") and enumerates the extracted contents: memory addresses, reset values, access permissions (RO/RW/W1C), and per-bit field definitions. That enumeration distinguishes it from sibling extractors like pinout or absolute-max, though it never names an alternative explicitly.

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 by the content list — an agent can infer this is the tool for register/bit-field data, but there is no statement of when to prefer it over the other datasheetvend_extract_* modules or what prerequisite steps (e.g., document map) apply. No exclusions or alternatives are named.

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