Skip to main content
Glama

Find a chip's mainline Linux driver by name

datasheetvend_find_linux_driver
Read-onlyIdempotent

Find whether mainline Linux has a driver for a chip, by NAME: give a part number or ordering code (for example 'MAX98357AETE+T', 'BME280', 'RTL8211F'). Returns the device-tree compatibles, I2C/SPI id-table names and Ethernet PHY driver names that match, each with how it matched (exact; the query is the longer ordering code; a wildcard family name such as 'sht3x'; a longer variant; a board driver that mentions it), the driver source files and the binding documents, for ONE kernel version stated in the answer. status is driver_found only for an exact or ordering-code match that has a driver file; a wildcard family or sibling is related_driver_found and must be confirmed in the binding document. not_found_by_name does NOT mean no driver exists: chips bound by USB, PCI or SDIO hardware ID, vendor kernels and out-of-tree drivers are not in the index; similar_names lists leads (a TCA9548A is driven as pca9548). It does NOT say whether your operating system's kernel is configured to build the driver. Free with a DatasheetVend API key (no credits), no model call, no network at call time, reads no account data.

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": {
      "part": "<part>"
    },
    "name": "datasheetvend_find_linux_driver"
  }
}

Input Schema

NameRequiredDescriptionDefault
partYesPart number or ordering code, for example 'MAX98357AETE+T'. At least 4 letters or digits.
limitNoMost matches to return, strongest first. Default 10.

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?

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the bar is lower, yet the description still adds real behavioral context beyond the schema: status semantics ('driver_found' only for exact or ordering-code matches with a driver file; wildcards become 'related_driver_found'), interpretation of 'not_found_by_name', the meaning of 'similar_names' (TCA9548A→pca9548), and explicit cost and side-effect disclosures (free with API key, no model call, no network at call time, reads no account data). It also flags a boundary the agent might otherwise assume away: it does not say whether the local kernel builds the driver.

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 verb, resource, and query form, and each subsequent clause carries operational meaning (status semantics, false-negative causes, cost). The closing run of negatives ('no credits, no model call, no network at call time, reads no account data') is slightly padded and the whole thing is one dense block without breaks, which costs a point.

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, so the description must carry the return shape itself, and it does: device-tree compatibles, I2C/SPI id-table names, Ethernet PHY driver names, how each matched, driver source files, binding documents, and a status field. For a two-parameter, read-only lookup tool it leaves nothing an agent needs in order to call it or interpret the result.

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 meaning by explaining what 'part' accepts (part number or ordering code) and how matching is performed (exact, ordering code longer than the query, wildcard family, longer variant, board driver). 'limit' is left entirely to the schema, so it is not a 5.

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 ('Find whether mainline Linux has a driver for a chip, by NAME') and constrains the query form with concrete examples ('MAX98357AETE+T', 'BME280', 'RTL8211F'). This is clearly distinct from the sibling tools, which cover package, footprint, 3D model, and electrical checks.

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 context for use and hard scope boundaries: it returns a driver for ONE kernel version, and explicitly excludes USB/PCI/SDIO-bound chips, vendor kernels, and out-of-tree drivers from 'not_found_by_name'. It also warns that a wildcard or sibling match ('related_driver_found') must be confirmed in the binding document. It does not name a sibling tool to use instead for the excluded cases, so it is not a full 5.

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