Skip to main content
Glama

ds_section

Reads the full text of a datasheet section by key or title fragment to retrieve supplemental details such as package or layout notes beyond pins and parameters.

Instructions

读取任意章节全文(按 key 或标题片段,如 key=layout / title=Package)。用于引脚、参数、典型应用之外的补充内容。

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": {
      "ident": "<ident>"
    },
    "name": "ds_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
identYes
titleNo
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it mostly does not meet it. The verb 读取 implies a non-mutating read, but there is nothing about truncation/size limits despite a max_chars parameter, nothing about behavior when a key or title fragment matches nothing or matches multiple sections, and nothing about output format or permissions.

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?

Two short clauses, front-loaded with what the tool does and immediately followed by the scoping rule; the inline examples are compact and directly useful for constructing calls. Little could be removed without losing the key/title usage hint.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and 0% schema coverage across four parameters, the description should do more. It adequately explains how to select a section but leaves the required ident parameter, the max_chars truncation behavior, and match-failure handling undocumented, which an agent needs in order to call this reliably.

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 0%, so the description must compensate. It does add real meaning for two of four parameters — 'key' accepts identifiers like layout and 'title' accepts fragments — but leaves the required 'ident' parameter and 'max_chars' (a truncation control) completely unexplained, which is the more significant gap since ident is mandatory.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb (读取) plus resource (章节全文) and states the two lookup modes (key or title fragment) with concrete examples such as key=layout / title=Package. It also carves out a scope relative to related capabilities (引脚、参数、典型应用), letting an agent tell it apart from pinout/keyparams/app tools, though it never names those sibling tools directly.

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?

'用于引脚、参数、典型应用之外的补充内容' states the condition under which this tool is the right choice — supplementary content not covered by the pin/parameter/application tools — which functions as an exclusion rule. It stops short of naming the alternative tools (ds_pinout, ds_keyparams, ds_app) that the agent should pick for those categories, so some inference is still required.

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