Skip to main content
Glama
My mpc server

My mpc server

download_book

Downloads a book file to a local directory using its MD5 hash, trying direct Libgen and IPFS links and saving the first file found. Returns the saved path or the full link list.

Instructions

Download a book file to a local directory by MD5. Tries direct links (Libgen/IPFS) in order and saves the first that yields a file. Returns the saved path, or the full link list if no direct download succeeds.

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": {
      "md5": "<md5>",
      "output_dir": "<output_dir>"
    },
    "name": "download_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
md5Yes
filenameNoOptional filename; defaults to <md5>.<ext>.
output_dirYesAbsolute path to an existing or creatable directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the ordered multi-source attempt strategy (Libgen/IPFS), that only the first successful response is saved, and that the return value is polymorphic — a saved path on success versus the full link list on failure. Gaps remain: nothing about overwrite behavior for an existing filename, timeouts/partial files, or error signaling.

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?

Three short sentences, front-loaded with the action and destination, then mechanism, then return contract. Every sentence contributes new information with no repetition of the schema or title.

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?

For a three-parameter mutation-of-filesystem tool with no annotations and no output schema, the description covers the mechanism and the return shape, which is what an agent most needs. It falls short on failure/error semantics and file-overwrite behavior, the two things an agent would still have to guess.

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 67%, with filename and output_dir already documented in the schema, and the md5 pattern constrained there. The description adds only the loose notion that md5 identifies the book; it does not say where a valid MD5 comes from or clarify whether output_dir is created when missing, which the schema leaves ambiguous ('existing or creatable').

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 specific verb and resource ('Download a book file ... by MD5') plus the destination ('to a local directory'), which is a distinct action from link-returning siblings. It does not name get_download_links explicitly, so the boundary between the two depends on the reader inferring it from the fallback sentence.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the description says it saves a file to disk, which signals 'use this when you want the actual file', and the link-list fallback hints at get_download_links. There is no explicit when-to-use, no stated prerequisites for the MD5 value, and no exclusion naming the alternative.

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