Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

save_files

Downloads specified files from the ChemInventory file store to a local folder, creating the directory if needed and returning the saved path or an error per file without overwriting existing files.

Instructions

Download files from the file store to a folder on the computer running this server. Returns the saved path or an error per file.

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": {
      "file_ids": "<file_ids>",
      "directory": "<directory>"
    },
    "name": "save_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idsYes
directoryYesAbsolute path of a folder on this computer; created if missing. Existing files are never overwritten

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare openWorldHint=false and destructiveHint=false; the description reinforces the non-destructive claim only implicitly, but adds real value by disclosing that results are reported per file (saved path or error), meaning partial success is possible. The overwrite-safety detail lives in the schema rather than here, so the description does not fully own the behavioral story, but it goes beyond the annotations.

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?

Two short sentences, zero filler: the action and destination come first, followed by the return shape. Nothing repeats the name 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?

An output schema exists, so the return values need not be detailed, and the description is adequate for a simple two-parameter save operation. The remaining gap is behavioral edge cases (invalid or missing file IDs, behavior on partial directory creation) that an agent would have to discover empirically.

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 50%: directory is documented in the schema, while file_ids has only a title and item type. The description does not clarify that file_ids are store identifiers or how they map to errors, though the per-file result wording hints at independent handling of each ID. Partial compensation only, so the baseline holds.

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 and resource (download files from the file store) plus the destination (a folder on the machine running the server), which separates it from URL-oriented siblings like file_download_url or file_content. It stops short of naming any sibling explicitly, so differentiation is inferred rather than stated.

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?

The stated purpose implies when the tool applies (you want files written to local disk rather than read inline), but there is no explicit when-to-use/when-not guidance and no mention of the alternative retrieval tools in the catalog. An agent must reason from the wording alone to choose between this and file_download_url.

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