Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

delete_file

Destructive

Removes a file from the chemical inventory using its file ID, so outdated or incorrect attachments can be cleared from the system.

Instructions

Delete a 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_id": "<file_id>"
    },
    "name": "delete_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is known without the description. The description itself adds nothing beyond that: no note on irreversibility, cascade effects on linked substances or categories, permissions required, or failure behavior for a nonexistent file_id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The sentence is front-loaded and free of waste, which is a virtue at this length. However, the brevity comes from under-specification rather than disciplined editing, so it earns only a middling score.

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?

An output schema exists, so return values need not be explained, and the destructive hint is carried by annotations. What remains missing is exactly what matters for a destructive operation with an undocumented required ID: what the identifier is, what else gets removed, and whether the action can be undone — leaving the definition thin for its risk profile.

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 single required parameter file_id has 0% schema description coverage, so the description is the only place its meaning could be supplied — and it says nothing. It does not state what the identifier refers to or how an agent should obtain it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete a file." restates the tool name and title almost verbatim, adding no scope or resource distinction. It does not differentiate this from siblings such as delete_file_category, delete_collection_containers, or clear_collection, so an agent must infer which deletion tool applies to which resource.

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, when-not-to-use, or prerequisite guidance at all. The description does not mention that the file must exist, whether deletion is irreversible, or when an agent should prefer an alternative such as unlink_file_from_substance.

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