Skip to main content
Glama

save_ebook

Downloads an e-book file by artifact ID to a local directory, defaulting to LNCRAWL_DOWNLOAD_DIR or ./downloads for storing crawled novels offline.

Instructions

Download an e-book file to a local directory (default $LNCRAWL_DOWNLOAD_DIR or ./downloads).

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "save_ebook"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryNo
artifact_idYes

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?

With no annotations, the description carries the full burden; it does add genuine behavioral context by disclosing the destination resolution order (`$LNCRAWL_DOWNLOAD_DIR`, then ./downloads). It omits other relevant traits for a file-writing operation: overwrite behavior for existing files, filesystem/permission failure modes, and whether the download is synchronous.

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?

A single front-loaded sentence with the action leading and the destination detail in parentheses. Nothing extraneous and nothing buried.

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?

For a simple two-parameter tool the description covers the output location but leaves the one required parameter unexplained, so an agent cannot reliably know what `artifact_id` to supply or which sibling produces it. No output schema exists to fill that gap, so the definition is incomplete in the place that matters most.

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 usefully explains that the empty-string default for `directory` resolves to the env var or ./downloads, but the required `artifact_id` is left entirely undefined — no format, no source, no example — which is the more consequential gap.

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+resource ("Download an e-book file to a local directory"), which is more concrete than the title alone. It does not distinguish itself from the sibling `make_ebook`, so an agent must infer that this one downloads an already-produced artifact rather than generating one.

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 when-to-use or when-not-to-use guidance, and no named alternative. The presence of a required `artifact_id` implicitly suggests something must exist first, but the description never states a prerequisite (e.g. a prior `make_ebook` job) or how this differs from `download_missing_chapters`.

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