Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

disable_user

Destructive

Revokes a user's access to a specified inventory by using the user ID and inventory ID to remove their permissions.

Instructions

Remove a user's access to an inventory.

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": {
      "user_id": "<user_id>",
      "inventory_id": "<inventory_id>"
    },
    "name": "disable_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
inventory_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is partially covered. The description adds that the scope is access-to-an-inventory rather than the account itself, which is valuable disambiguation, but it omits whether access can be restored, whether the change is immediate, and whether it is idempotent — all material for a destructive mutation with only one sentence of prose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy; every word carries information and the verb+scope land first.

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?

An output schema exists, so return values need not be explained, but for a destructive mutation on an inventory/user relationship the description says nothing about reversibility, permissions required, or side effects. It is adequate but leaves real gaps for a tool flagged destructive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the schema contributes only bare titles ('User Id', 'Inventory Id'); the description partially compensates by naming both entities involved, mapping one-to-one to the two required parameters. It still adds no format, lookup, or validity meaning beyond the titles, so the compensation is minimal.

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 and resource ('Remove a user's access') scoped to an inventory, which is clear enough for the agent to know exactly what it does. It does not name a sibling or the intended counterpart (e.g., add_user) to sharpen the boundary, so sibling differentiation is only implicit.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as update_user or add_user. The agent must infer that this is the inverse of granting access, and nothing warns about consequences or the preconditions for removal.

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