Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

delete_location_containers

Destructive

Delete all containers stored in a specified location by providing its location ID, clearing inventory from that location in a single action.

Instructions

Delete all containers in a location.

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

Input Schema

NameRequiredDescriptionDefault
location_idYes

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 already declare destructiveHint=true and openWorldHint=false, so the safety profile is known. The description adds real value by disclosing the blast radius ('all containers in a location'), but says nothing about irreversibility, permission requirements, or whether container contents and history are lost along with the container records.

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?

A single front-loaded sentence with no filler; the scope constraint is stated immediately. It is efficient, though the terseness borders on under-specification for a destructive tool.

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 needn't be explained, but for a destructive bulk delete the description omits critical context: permanence of the deletion, prerequisites, and failure behavior. One sentence is not enough to call this tool safely and correctly.

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% and the description only implies that location_id scopes the deletion target. It adds no meaning about the identifier's format, whether it must be an existing location, or what happens with an invalid or empty location.

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), resource (containers), and scope (all containers in a location), so the agent knows exactly what is affected. It doesn't explicitly distinguish itself from siblings like delete_containers or delete_collection_containers, leaving the agent to infer the difference from names alone.

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?

No when-to-use or when-not-to-use guidance is offered, and no alternative is named. An agent cannot tell from the description whether this is the right tool versus per-container deletion or collection-scoped deletion, which matters greatly for a destructive bulk operation.

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