Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

substance_files

Read-only

Retrieve files linked to a chemical substance, including safety data sheets, by providing its substance ID.

Instructions

Files linked to a substance, e.g. safety data sheets.

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": {
      "substance_id": "<substance_id>"
    },
    "name": "substance_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
substance_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds only the example of safety data sheets and does not describe return behavior, pagination, or any other trait 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence fragment with no wasted wording. It is appropriately concise, though the fragment structure lacks an explicit verb and could be slightly clearer.

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?

For a simple one-parameter retrieval tool with an output schema, the description conveys the core resource. However, it omits parameter semantics and usage guidance, so it is minimally adequate rather than fully complete.

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?

Schema description coverage is 0% for the single substance_id parameter, so the description must compensate but does not. The phrase 'linked to a substance' hints at the parameter's role, but it does not explain the expected integer identifier or any constraints.

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 clearly identifies the resource as files linked to a substance and gives a concrete example, safety data sheets. It does not use an explicit verb such as 'list' or 'get', and it does not explicitly differentiate itself from sibling file-linkage tools, but the intended retrieval purpose is still understandable.

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 guidance on when to use this tool versus alternatives such as link_file_to_substance, unlink_file_from_substance, save_files, or get_substance. The usage is only weakly implied by the phrase 'files linked to a substance'.

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