Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

delete_file_category

Destructive

Delete a file category by its ID to remove obsolete or unwanted categories from ChemInventory and keep file organization current.

Instructions

Delete a file category.

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": {
      "category_id": "<category_id>"
    },
    "name": "delete_file_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
category_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so the agent knows this is a destructive non-open-world operation. The description adds nothing beyond that: it does not say whether files assigned to the category are deleted, orphaned, or reassigned, nor whether the operation is reversible or requires specific permissions.

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 single sentence is front-loaded and free of filler, but its brevity stems from under-specification rather than disciplined editing. Nothing in it is wasted, yet nothing beyond the minimum is conveyed.

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?

Although an output schema exists so return values need not be described, this is a destructive mutation with a required identifier and the description leaves the key questions unanswered: side effects on files in the category and recoverability. For a deletion tool, that is a meaningful completeness gap.

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 required parameter, category_id, and the description does not explain what value it expects or where to obtain it. Unlike a zero-parameter tool, this one has an undocumented required input that the description wholly fails to compensate for.

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

Purpose3/5

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

The description states a specific verb (Delete) and resource (file category), so the basic action is identifiable and distinguishable from create_file_category and rename_file_category by verb alone. However, it is essentially a restatement of the tool name with no scope or clarification of what a 'file category' is.

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 guidance on when to use this tool versus alternatives such as delete_file, delete_collection_containers, or reassigning files first. The only implied usage comes from the name itself; the description contains no conditions, prerequisites, or exclusions.

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