Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

delete_ghs_entry

Destructive

Deletes a GHS hazard entry by entry ID in ChemInventory, helping remove outdated or incorrect hazard classifications from chemical records.

Instructions

Delete a GHS hazard entry.

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

Input Schema

NameRequiredDescriptionDefault
entry_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/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 safety profile is covered structurally. The description adds nothing beyond the annotations: it does not warn that deletion is permanent, whether dependent references are removed, whether the operation is recoverable, or what permissions are required for a destructive mutation.

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 description is a single short sentence with the resource front-loaded and no wasted words. However, its brevity reflects under-specification rather than disciplined editing, so it cannot score at the top of the conciseness range.

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?

An output schema exists, so return values need not be explained, but for a destructive mutation with an undocumented required identifier the description should say more. Nothing addresses what a GHS hazard entry is, whether the delete cascades, or what happens to references pointing at the removed entry.

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 entry_id parameter, and the description does not compensate by explaining what an entry id refers to or how to obtain one. The schema gives only a type, leaving the agent with no semantic anchor for the parameter.

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 verb (delete) and resource (GHS hazard entry), so an agent can tell this removes a hazard record rather than a container, location, or collection. It does not distinguish itself from the sibling save_ghs_entry or clarify which entity type 'GHS hazard entry' covers, but the core purpose 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 use this versus save_ghs_entry or any other delete variant, and no stated prerequisites such as needing a valid existing entry_id. The agent must infer everything about invocation context from the name alone.

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