Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

create_file_category

Create a file category in ChemInventory to organize containers and substances, returning its ID. Specify a name and optional scope: inventory, site, or enterprise.

Instructions

Create a file category. Returns its ID.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
scopeNoinventory

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description would need to carry the rest of the burden for a creation operation. 'Returns its ID' adds a small but real behavioral detail (the new identifier is returned), though its value is reduced by the presence of an output schema. Nothing is said about uniqueness constraints, whether the category is immediately usable, or required privileges.

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?

Two short sentences, front-loaded with the action and the return value, with no filler. It is efficient but so terse that it omits useful detail rather than being padded.

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?

Because an output schema exists, the return-value sentence is not strictly needed, and the description leaves the key ambiguous concept (scope) plus name constraints undocumented. For a mutation tool with an enum parameter and zero schema descriptions, this is thin.

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%, so both parameters rely entirely on the description, which mentions neither. The meaning of 'scope' (what inventory/site/enterprise actually scope the category to, and the default of inventory) and any constraints on 'name' are left unexplained.

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 ('Create a file category'), which is clearly distinct from sibling mutations like delete_file_category or rename_file_category. It does not explicitly contrast with siblings, but the verb-resource pairing is unambiguous.

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 create a category versus using an existing one, no prerequisites (e.g., permissions or admin role), and no mention of what happens if a category with the same name already exists.

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