Skip to main content
Glama

get_chemical_class

Retrieve details for one chemical class by ID, including its member molecules when requested. Use it to inspect class composition and relationships.

Instructions

Retrieve details of a single chemical class including its molecules.

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

Input Schema

NameRequiredDescriptionDefault
idYesChemical Class ID
include_moleculesNoInclude molecules belonging to this chemical class

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Retrieve" implies a safe read, but it says nothing about behavior for nonexistent IDs, permissions, the size/format of the embedded molecule list, or whether include_molecules=true is expensive.

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 wasted words. It is efficient, though its brevity leaves content gaps rather than padding.

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 no output schema and no annotations, the description should say more about what "details" includes and how molecules are returned. It covers the core purpose for a simple two-parameter getter but is thin on return shape and failure modes.

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%, so both parameters (id and include_molecules) are already documented in the schema. The phrase "including its molecules" loosely corresponds to the include_molecules flag but adds no format, default, or cost detail beyond the schema; baseline 3 applies.

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 uses a specific verb ("Retrieve") and resource ("details of a single chemical class"), and the word "single" implicitly contrasts with the sibling list_chemical_classes. It doesn't explicitly name a sibling, but the scope 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 Guidelines2/5

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

There is no explicit guidance on when to use this tool versus list_chemical_classes, get_molecule, or the populate_* siblings. The only hint is the adjective "single"; no conditions or exclusions are stated.

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