Skip to main content
Glama

list_functional_groups

Retrieve functional groups and reactive motifs from Chemist, filtered by molecule, class, theme, or embedding status. Use search and pagination to find relevant chemistry records.

Instructions

List functional groups and reactive motifs registered in Chemist with filtering by molecule, chemical class, themes, and embedding status.

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_functional_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSearch query matching functional group name or description
limitNoPagination limit (default: 50)
themeNoFilter by reactive motif or stereoelectronic theme tag
offsetNoPagination offset (default: 0)
embeddedNoFilter by embedding presence (true for embedded only, false for missing)
molecule_idNoFilter by parent Molecule ID
chemical_class_idNoFilter by parent Chemical Class ID
include_embeddingNoInclude raw 1024-float vector embedding

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; 'List' does signal a non-destructive read, which is the key safety signal. Beyond that it says nothing about pagination defaults, result ordering, or whether embeddings are included by default, all of which matter for an 8-parameter list 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?

A single front-loaded sentence that leads with the verb and resource before enumerating filters. No filler, though the trailing filter list partially duplicates schema content that the agent will see anyway.

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 tool with 8 optional parameters, no annotations, and no output schema, the description covers the domain concept and the main filters but leaves return shape, pagination behavior, and the embedding-vector option unexplained. Adequate but with clear gaps.

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 every parameter is already documented, which sets the baseline at 3. The description restates the filter dimensions (molecule, chemical class, theme, embedding status) but adds no semantics for q, limit, offset, or include_embedding beyond what the schema already says.

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?

States a specific verb and resource ('List functional groups and reactive motifs registered in Chemist') and names the filterable dimensions. It does not distinguish itself from siblings such as get_functional_group or list_cluster_groups, so an agent gets the purpose but not the differentiation.

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 description implies browsing/listing with filters, which is adequate context for use. However, it never states when to prefer this over get_functional_group for a single record or over the bulk populate/upsert tools, and offers no exclusions.

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