Skip to main content
Glama

read_datasheet

Read-only

Extract technical specifications from electronic component datasheets using part numbers. Retrieve complete sections or search for specific information like register maps, pinouts, and electrical characteristics.

Instructions

Read from a component's datasheet. Two modes:

Section mode (default): Returns a named section. Start with section='summary' to get an overview and a list of available_sections. Then request specific sections by name. Section names are dynamic — any heading in the actual datasheet works (e.g. 'register_map', 'i2c_interface', 'power_management'). If a section name isn't found, automatically falls back to search mode.

Search mode: Semantic search within the part's datasheet. Best for targeted questions (register bit fields, I2C config, specific specs). Use when you need to find specific information rather than a whole section.

First call for a new part triggers extraction (30s-2min). Subsequent calls are cached.

The part_number must be a specific manufacturer part number (e.g. 'TPS54302', 'STM32F446RCT6') or LCSC number (e.g. 'C2837938'). Do NOT pass bare component values ('100nF', '10K'), descriptions, or reference designators.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
part_numberYesSpecific manufacturer part number (MPN) or LCSC number. Not a value or description.
modeNoReading mode: 'section' (default) returns a named section, 'search' does semantic searchsection
sectionNoSection name for section mode. Start with 'summary' to discover available sections. Common: summary, pinout, electrical, abs_max, register_map, timing, package. Any heading in the datasheet works (slugified).summary
queryNoSearch query for search mode (e.g. 'charge voltage register', 'I2C address')
limitNoMax search results for search mode (default 5)
Behavior4/5

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

The description adds valuable behavioral context beyond annotations: it explains the 30s-2min extraction delay for first calls and subsequent caching, describes the fallback from section to search mode when a section isn't found, and clarifies that section names are dynamic based on actual datasheet headings. Annotations cover read-only and non-destructive aspects, but the description enriches operational understanding.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear headings for the two modes, uses bullet-like formatting for readability, and every sentence adds essential information (e.g., extraction timing, caching behavior, part number examples). It's front-loaded with the core purpose and efficiently organized without redundancy.

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?

Given the tool's complexity (5 parameters, two modes, dynamic behavior) and lack of output schema, the description does a good job covering operational aspects like modes, fallbacks, and caching. However, it doesn't detail the output format (e.g., structure of returned sections or search results), which could be helpful for an agent. Annotations provide safety context, but the description compensates well overall.

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?

With 100% schema description coverage, the input schema already documents all parameters thoroughly. The description adds some semantic context, such as examples of part numbers (e.g., 'TPS54302') and section names (e.g., 'register_map'), but doesn't provide significant additional meaning beyond what the schema specifies. This meets the baseline for high schema coverage.

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?

The description clearly states the tool's purpose: 'Read from a component's datasheet' with two specific modes (section and search). It distinguishes itself from siblings like 'search_datasheets' by focusing on reading specific parts rather than searching across parts, and from 'get_part_details' by targeting datasheet content extraction.

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 provides explicit guidance on when to use each mode: section mode for named sections (starting with 'summary' to discover available sections) and search mode for targeted questions. It also specifies when NOT to use it (e.g., 'Do NOT pass bare component values'). The distinction between modes and alternatives like 'search_datasheets' is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/octoco-ltd/sheetsdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server