Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

toggle_container_recycling

Destructive

Enable or disable whether a specific chemical container is offered for recycling on sites or enterprise licenses with recycling enabled.

Instructions

Toggle whether a container is offered for recycling (site and enterprise licenses with recycling enabled).

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": "toggle_container_recycling"
  }
}

Input Schema

NameRequiredDescriptionDefault
container_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 description's main added value is the license-tier precondition and the fact that this is a flip rather than a set operation. It does not state what happens when recycling is disabled for the license, whether the toggle is reversible, or the resulting state on success, though the output schema covers the response shape.

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, with the conditional qualifier placed in parentheses so it does not obstruct the main clause. Nothing is wasted, though the qualifier is compressed to the point of being cryptic about what 'recycling enabled' configures.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, and the single-parameter surface is small. Still missing for a destructive mutation is the effect on containers not currently eligible for recycling and confirmation of what the toggled state means, which leaves a modest 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, so the description must compensate and it largely does not. It implies the argument is a container, but never clarifies whether container_id is an internal numeric ID versus a barcode or external identifier — a distinction that matters given the presence of barcode-related siblings.

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 names a specific verb ('Toggle') and a specific resource state ('whether a container is offered for recycling'), which is enough to distinguish it from generic siblings like update_container or load_container. It stops short of explicitly naming the alternative it replaces, but the 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical adds a real precondition — site and enterprise licenses with recycling enabled — which tells an agent when this call will be applicable. However, it gives no guidance on when to use this versus update_container or other container-mutating siblings, leaving the choice to inference.

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