Skip to main content
Glama

Extract on-chip peripheral matrix

datasheetvend_extract_peripheral_matrix
Read-onlyIdempotent

Extract the on-chip peripheral inventory, one row per instance, in 13 classes: serial/communication (UART/USART, SPI, I2C, CAN, USB, Ethernet, SDIO, I2S/SAI), analog blocks (ADC, DAC, comparator, op-amp, voltage reference, temperature sensor), timers and watchdogs, DMA, security/math accelerators (crypto, RNG, CRC), external memory interfaces (FMC/FSMC/EMC, memory-mapped QSPI), display/camera/touch, interrupt controllers, GPIO, clock/reset, low-power modes, debug/trace and device identity. Each row carries the datasheet page it was read from, where one was recorded. Each row may carry citation_check (the instance name or stated count) and max_speed_check (the rate): status printed_line = code tied the value to a printed line of the cited page (the only standing that means verified); table_read = the module's own table reader read it there (reader named; check the page); computed = derived by code; not_proven = with reason_code and reason. No field means the value was not checked by code. For ADC/DAC/comparator electrical specs (resolution, sampling rate, INL/DNL, propagation delay) use datasheetvend_extract_analog_specs. For per-mode current draw, wakeup timing, and reset/brown-out threshold voltages use datasheetvend_extract_power_domains. 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_peripheral_matrix"
  }
}

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.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses the extraction pipeline (page scout, targeted model reads, deterministic readers, normalization), the fallback to a slower deep engine named monolith_rescue, that a rescue can take minutes and requires a 10-minute client timeout, and that rescue results are billed as delivered. It also explains citation_check and max_speed_check status vocabularies (printed_line, table_read, computed, not_proven), which the annotations cannot convey.

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?

The core payload (what is extracted, the row-level citation semantics) is front-loaded, and later sentences carry genuinely distinct information (sibling routing, engine/rescue, timeout). The 13-class enumeration plus citation-status taxonomy makes it dense and long, but almost no sentence is redundant.

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 read-only extraction tool with an output schema, the definition covers what an agent needs to call it correctly and interpret the result: scope, row granularity, citation-status meanings, failure semantics (FAILED with reason), fallback engine behavior, and timeout guidance. The only omission, return structure, is already carried by the output 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% and the schema already explains both documentPath (https-only on remote endpoint, local path only in stdio mode) and partName. The description adds no further meaning about the parameters, so the baseline of 3 applies — the schema does the work here.

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 the on-chip peripheral inventory, one row per instance") and then enumerates the 13 classes covered, so the agent knows exactly what comes back. It also explicitly contrasts itself with datasheetvend_extract_analog_specs and datasheetvend_extract_power_domains, making it distinguishable from adjacent extraction siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description names two alternative tools and gives the precise condition that selects each: electrical specs (resolution, sampling rate, INL/DNL, propagation delay) go to extract_analog_specs, and per-mode current draw, wakeup timing and reset/brown-out thresholds go to extract_power_domains. Nothing about tool selection is left to inference.

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