Skip to main content
Glama

ds_fetch

Download a specified component datasheet by part number or C-number, record its source, SHA256, and page references, and skip repeat downloads for the same model.

Instructions

下载指定器件的数据手册并记录来源、SHA256、页码;同一型号只下一次。ident 可为 C 编号或型号。

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_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNo
identYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It usefully discloses provenance recording (source, SHA256, page numbers) and the once-per-model caching rule, but says nothing about where the file lands, whether it is a network fetch with cost/latency implications, or what the 'force' parameter overrides. That is a meaningful gap for an operation with real side effects.

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?

A single compact sentence with the core action front-loaded and the dedup constraint and identifier formats appended. Nothing is padded, though the semicolon-joined clauses make it slightly dense.

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

Completeness3/5

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

For a two-parameter tool with no annotations and no output schema, the description covers the main action and metadata side effects adequately. It is incomplete on the 'force' parameter, the destination of the download, and what the caller receives back, which matters because no output schema documents the return.

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 coverage is 0%, so the description must compensate. It does explain the key parameter well ('ident can be a C number or part number'), which is genuinely valuable, but the second parameter 'force' is never mentioned, leaving the override behavior undocumented in both schema and description.

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 states a specific verb (download) and resource (the datasheet for a given part), plus the side effect of recording source, SHA256, and page numbers. This is clearly distinguishable from retrieval-oriented siblings like ds_search or ds_section. It stops short of explicitly contrasting itself with those siblings, which keeps it at 4.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit statement of when to call this versus ds_search or ds_section, nor any exclusions or prerequisites. The only usage-adjacent statement is the deduplication rule ('only download once per part number'), which is behavior rather than selection guidance.

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