Skip to main content
Glama

Datasheet indir

download_datasheet
Idempotent

Downloads a product datasheet PDF from a direct URL or MPN/product reference to a local folder, reusing cached files when already present.

Instructions

Ürünün datasheet PDF dosyasını yerel diske indirir (varsayılan: ~/Downloads/ekomponent-datasheets). Dosya zaten varsa önbellekten döner.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "download_datasheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoDoğrudan datasheet PDF URL'si ('product' alternatifi).
productNoMPN, slug veya e-komponent.com ürün URL adresi.
directoryNoHedef klasör (kullanıcı ana dizini içinde, '~/' desteklenir).
overwriteNoVar olan dosyanın üzerine yaz (varsayılan false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the safety profile (destructiveHint=false, idempotentHint=true, openWorldHint=true), so the bar is lower. The description usefully adds the concrete default directory and the cache-return behavior when the file already exists. However, it does not explain how the 'overwrite' parameter interacts with the cache behavior, which is a real ambiguity for a write tool.

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 sentences, front-loaded with the action and the default destination, with no filler. Efficient for a tool of this complexity.

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?

No required parameters and no output schema keep the burden low, and the default path plus cache note cover the essentials. What is missing is the overwrite/cache interaction and any hint about what is returned (file path, size, status), which matters for a tool whose result the agent must act on.

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 the baseline is 3. The description adds only slightly more than the schema by revealing the actual default path (~/Downloads/ekomponent-datasheets) rather than just describing the 'directory' parameter. It adds no detail on 'url' vs 'product' precedence or on the overwrite semantics.

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?

States a concrete verb and resource in the first clause: downloads the product's datasheet PDF to the local disk, and names the default destination. An agent can tell this is a file-materializing operation rather than a content reader. It does not name or contrast with the sibling read_datasheet, which is the closest alternative, so it falls short of 5.

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 when-to-use guidance and no exclusions. The description never says to prefer this over read_datasheet when the agent needs the PDF on disk versus the text content, nor when to use 'url' instead of 'product' beyond the schema's own note. Usage is only implied by the word 'indirir' (downloads).

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