Skip to main content
Glama

list_chemical_classes

Lists chemical classes such as superfamilies and biosynthetic families with molecule counts, with filters for name or description and optional associated molecules.

Instructions

List chemical classes (superfamilies, biosynthetic families, compound classes) registered in Chemist with molecule counts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_chemical_classes"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFilter chemical classes by name or description substring
limitNoPagination limit (default: 50)
offsetNoPagination offset (default: 0)
include_moleculesNoInclude molecules associated with each 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?

With no annotations supplied, the description carries the full behavioral burden. It discloses that results are annotated with molecule counts, but says nothing about ordering, whether counts are computed cheaply, what happens with include_molecules=true (payload size/expense), or the default result window. That is thin for an unannotated tool.

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 verb and resource, and no wasted clauses. The parenthetical taxonomy list is informative rather than redundant, though it slightly crowds the sentence.

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?

All parameters are optional and fully schema-documented, and no output schema exists, so the description need not explain return shape. However, for a discovery tool it omits the one thing an agent most needs — that q/limit/offset control the scan and that include_molecules expands the payload.

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 100%, so all four parameters (q, limit, offset, include_molecules) are already documented in the input schema. The description adds no meaning beyond that — it never mentions substring filtering or pagination — so the 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 gives a specific verb and resource ("List chemical classes") and clarifies the domain scope with parenthetical examples (superfamilies, biosynthetic families, compound classes) plus the payload hint "with molecule counts." It is clearly a read/enumeration tool, distinguishable from the sibling get_chemical_class, create_chemical_class, and delete_chemical_class by verb alone, though no sibling is named explicitly.

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 or when-not-to-use guidance. The description does not say to prefer this over list_molecules or get_chemical_class, nor does it mention the filtering/pagination path (q, limit, offset) as a discovery workflow. Usage is only implied by the verb "List."

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