Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

file_download_url

Read-only

Generate a temporary download URL for a ChemInventory file using its file ID; the link stays valid for 30 minutes.

Instructions

Download URL of a file, valid for 30 minutes.

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_id": "<file_id>"
    },
    "name": "file_download_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the genuinely useful behavioral fact that the returned URL expires after 30 minutes, which affects how an agent should cache or re-request it. It does not state whether the URL is authenticated or single-use, but the key temporal trait is disclosed.

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 short sentence with the time-limit constraint front-loaded; nothing is padded or redundant. The phrasing 'Download URL of a file' is slightly noun-phrase awkward rather than verb-led, but it wastes no words.

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?

The tool is simple (one required param) and an output schema exists, so return-value details need not be in the description. However, with 0% parameter coverage and no error or permission behavior mentioned, the definition is only minimally sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The only parameter, file_id, has 0% schema description coverage, so the description carries the full burden — but 'of a file' adds essentially nothing beyond the schema's own 'File Id' title. No guidance on ID format, whether it is the internal ID or a barcode, or what happens for an invalid ID.

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 resource (a file's download URL) and makes it clear the tool returns a URL rather than file content, which distinguishes it in spirit from siblings like file_content. It stops short of naming any sibling explicitly, so an agent must infer the routing decision.

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 guidance, no mention of prerequisites (e.g., whether the caller must have file access), and no pointer to alternatives such as file_content. The agent is left to infer that this is for obtaining a link rather than the bytes themselves.

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