Skip to main content
Glama

Read a datasheet's component twin

datasheetvend_get_component_twin
Read-onlyIdempotent

Read the Unified Component Model (UCM) digital twin of one datasheet already extracted with DatasheetVend. Every fact comes with a check ('passed', 'needs_review', 'disagrees', 'failed_sanity_check') and, where the extraction recorded one, its datasheet page, filed where it belongs: pins, whole_part (temperatures, absolute limits, package, ordering code), interfaces_rails (I2C/SPI/clock/ADC requirements and supply-rail values), registers (the register map) and checks. Call it first with no options for the summary, then ask for sections, one pin (by number, name or alternate function) or a search term so the answer stays small. Treat facts that did not pass as unverified and cite their page. Reads stored results only: never extracts, never bills. Needs a DatasheetVend API key; find datasheet names with datasheetvend_list_component_twins. To twin a datasheet the account has not extracted, use datasheetvend_build_component_twin.

Input Schema

NameRequiredDescriptionDefault
pinNoOne pin by number, name or alternate function (for example '27', 'PC4' or 'SDA'): every fact that reaches it — its own and those of its rails and interfaces.
searchNoOnly facts whose parameter, symbol, statement or node contains this text, case-insensitive (for example 'storage temperature' or 'TWCR'). With no sections given, searches pins, whole_part, interfaces_rails and registers.
sectionsNoParts of the twin to include besides the summary: pins (each pin's own facts), whole_part, interfaces_rails, registers, checks (disagreements, failed sanity checks, facts to review, facts that name no pin). Omit for the summary only.
datasheetYesThe datasheet name exactly as datasheetvend_list_component_twins returns it. A unique part of the name also works.
max_factsNoCap on facts returned across the pin and sections (default 200). `truncated` says when it was reached.
only_passedNoOnly facts that passed every check. Default false: every fact comes with its check.

Output Schema

NameRequiredDescriptionDefault
pinYesThe requested pin with the facts that reach it, or null when no pin was asked for.
partYes
checksYes
countsYes
placesYes
contractYesContract id: ucm_twin_v1
sectionsYesThe requested sections: pins, whole_part, interfaces_rails, registers, checks — facts with their check and, where recorded, their page.
warningsYes
datasheetYes
truncatedYes
built_fromYes
how_to_readYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations: it discloses the check vocabulary (passed, needs_review, disagrees, failed_sanity_check), instructs that non-passing facts be treated as unverified and cited by page, and states 'never extracts, never bills' so cost/side-effect expectations are explicit. It also notes the max_facts truncation signal in context.

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?

Front-loaded with the core purpose and free of filler, with the scoping/workflow guidance up front where it matters. The middle sentence carrying the check-status list and section taxonomy is long and slightly tangled at 'and checks', but no sentence is disposable.

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, six-parameter tool with a full output schema, everything an agent needs is present: auth, discovery path, narrowing strategy, how unverified facts must be handled, and the build sibling for the unsupported case. Nothing forces a guess before calling.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds workflow meaning the schema cannot express — that omitting options yields just the summary, and that a single `pin` or `search` is the way to bound result size. It repeats less than it adds, but the per-parameter semantics themselves are largely left to the schema.

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 — reading the UCM digital twin of one already-extracted datasheet — and enumerates the fact taxonomy (pins, whole_part, interfaces_rails, registers, checks). It explicitly carves itself apart from the extract_* siblings by noting it reads stored results only, and names the build sibling for unextracted parts.

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?

Gives a concrete call sequence: first with no options for the summary, then narrow via `sections`, `pin` or `search` to keep the answer small. It also routes discovery to datasheetvend_list_component_twins and the not-yet-extracted case to datasheetvend_build_component_twin, and states the API key prerequisite.

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