Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

restore_deleted_container

Restore a deleted container, including its parent locations, by passing the container ID to recover removed inventory entries and their hierarchy.

Instructions

Restore a deleted container, including its parent locations.

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

Input Schema

NameRequiredDescriptionDefault
container_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=false and openWorldHint=false, so the safety profile is partly covered. The description adds one genuinely useful behavioral fact not in the annotations: parent locations are also restored, which is a non-obvious side effect. It says nothing about prerequisites (must the container actually be deleted?), permission requirements, or error behavior if the ID is unknown.

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?

One sentence, front-loaded with the action and followed by the scope qualifier; no filler. Brevity is appropriate, though the sentence could carry one more clause of usage or parameter context at little cost to clarity.

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 described. However, for a mutation-style restore operation with zero parameter documentation and no annotations covering mutation semantics, the description is too thin: it omits prerequisites, what 'parent locations' restoration means concretely, and how this differs from the recycling-toggle sibling.

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 the single required parameter 'container_id' is documented nowhere beyond its title. The description never mentions the parameter or explains that it refers to the identifier of an already-deleted container, which is the key semantic the agent needs. It does not compensate for the coverage gap.

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?

States a specific verb+resource ("Restore a deleted container") and adds scope ("including its parent locations"), so the agent knows exactly what action it performs. It does not differentiate itself from the sibling 'toggle_container_recycling', which plausibly also affects deleted/recycled state, leaving ambiguity about which one to pick.

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 explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The agent must infer from 'restore' alone that this applies to already-deleted containers, and cannot tell from the description whether 'toggle_container_recycling' is the preferred path in some cases.

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