Skip to main content
Glama

Get a datasheet's PCB layout rules

datasheetvend_get_layout_rules
Read-onlyIdempotent

Get the PCB layout rules DatasheetVend already extracted from a datasheet (the layout, decoupling, keep-out and thermal-pad rules of its pin-cautions rulebook), grouped by topic: decoupling, placement, grounding, routing, keep_out, thermal, rf, emi. Each rule carries the manufacturer's sentence and page, the pins it names, any length the datasheet printed (in mm), and layout_check: which rule of datasheetvend_check_pcb_layout can measure it on your routed board, the limit when the datasheet printed one, and what you must supply yourself. It extracts nothing new: it is a view of a stored extraction, so a sentence that extraction missed is not here, and an empty answer says so and is NOT proof the datasheet has no layout guidance. It does NOT read layout figures. Most datasheets print no distance ('as close as possible'); then the number is your choice, and the answer says so. Pass the job_id of an extraction in your account that ran the pin_cautions module. Deterministic: runs DatasheetVend's checks in code, calls no model and extracts nothing. Costs no credits. Needs a DatasheetVend API key.

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>"
    },
    "name": "datasheetvend_get_layout_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesAn extraction in your account that ran the pin_cautions module.
topicsNoOnly these topics. Default all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already carry the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds materially beyond them: it is deterministic, calls no model, costs no credits, and requires a DatasheetVend API key. It also discloses important failure semantics an agent would otherwise misread: an empty answer is not proof the datasheet lacks layout guidance, sentences missed by extraction are absent, and layout figures are not read.

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-loads what the tool is and the topic grouping before the caveats, and nearly every sentence carries decision-relevant content. It is a single dense paragraph with some repetition of the 'extracts nothing new' point near the end, which costs a little tightness.

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?

There is no output schema, and the description compensates fully: it describes per-rule fields (manufacturer sentence, page, named pins, printed length in mm) and the layout_check payload (measurable rule, printed limit, what the caller must supply). It also covers the common case where no distance is printed, so an agent knows what a sparse result means. Nothing needed to invoke or interpret the call 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%, so both job_id and the topics enum are already documented in structured form; the description's restatement that job_id must be an extraction that ran pin_cautions largely duplicates the schema text. The topic list it recites matches the enum rather than adding format or edge-case guidance. Baseline 3 is the right level given the schema does the heavy lifting.

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 ('Get the PCB layout rules DatasheetVend already extracted from a datasheet'), narrows it to the pin_cautions rulebook, and enumerates the topic grouping. It draws the line against datasheetvend_check_pcb_layout explicitly ('which rule of datasheetvend_check_pcb_layout can measure it on your routed board'), so an agent can tell the two apart 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 the precondition for calling (pass the job_id of an extraction in your account that ran the pin_cautions module) and the boundary condition (it extracts nothing new, so this is not the tool for a fresh extraction). It also names the natural follow-on alternative, datasheetvend_check_pcb_layout, for measuring rules against a routed board. What it does not do is say when to prefer this over a broader packet tool, so it stops short of a full when/when-not map.

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