Skip to main content
Glama

delete_chemical_class

Remove a chemical class by ID and automatically delete its linked molecules and functional groups. Use it to clean up class data and dependent chemistry records.

Instructions

Delete a chemical class and its cascaded molecules and functional groups.

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": {
      "id": "<id>"
    },
    "name": "delete_chemical_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesChemical Class ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does disclose the non-obvious cascade behavior (dependent molecules and functional groups are destroyed too). However, it omits whether the deletion is irreversible, whether confirmation or special permissions are required, and how partial failures are handled — all important for a destructive tool.

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?

One sentence, front-loaded with the action and immediately followed by the blast radius. No filler or redundant restatement of the title.

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?

For a one-parameter operation the definition is mostly adequate, and the cascade note covers the key surprise. But with no annotations and no output schema, an agent gets no information on reversibility, error responses, or the state of dependent objects after the call.

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 coverage is 100% and the single parameter 'id' is already documented in the schema as the Chemical Class ID to delete. The description adds no format, lookup, or validation detail beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (delete) and resource (chemical class), and adds the crucial scope detail that molecules and functional groups are removed as a cascade. This distinguishes it from sibling deletes such as delete_molecule or delete_functional_group that act on individual entities.

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 choose this tool versus deleting the dependent molecules/functional groups individually, and no stated prerequisites or warnings before invoking a destructive operation. Usage is only inferable from the verb.

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