Skip to main content
Glama

create_functional_group

Create and attach a new functional group or reactive motif under a specified molecule, with name, themes, and description to define its chemical role.

Instructions

Create a new functional group or reactive motif under a molecule.

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": {
      "molecule_id": "<molecule_id>",
      "name": "<name>"
    },
    "name": "create_functional_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFunctional group name (e.g. 'Phenolic Hydroxyl', 'Tertiary Amine', 'Epoxide Ring')
themesNoThematic tags (e.g. ['hydrogen-bond donor', 'nucleophile', 'metabolic soft spot'])
descriptionNoStereoelectronic, pKa, nucleophilicity/electrophilicity, and reactive role description
molecule_idYesParent Molecule ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does very little with it. It does not say whether the parent molecule must already exist, how duplicate group names are handled, whether creation is idempotent or reversible, what permissions are required, or what the call returns — all material facts for a mutating 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 short sentence, front-loaded with the verb and resource, with zero filler. It is lean but arguably under-committed rather than over-written, so it stops short of a 5.

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?

The input schema is fully self-documenting and there is no output schema to explain, which lowers the bar, but for a mutation tool with zero annotations the description should still cover failure modes and side effects. It leaves the agent to infer duplicate handling, parent-existence requirements, and return behavior.

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%, with each of the four parameters (name, molecule_id, themes, description) documented in-schema with examples, so the baseline is 3. The description only echoes the parent-linkage implied by molecule_id and adds no further meaning such as naming constraints or expected content of 'themes'.

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 ('Create a new functional group') and adds scope ('or reactive motif under a molecule'), so an agent knows this is single-record creation scoped to a parent molecule. It does not distinguish itself from siblings like populate_functional_groups_bulk or upsert_functional_groups_batch, so it falls short of a 5.

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 singular 'a new functional group ... under a molecule' implies the when-to-use scenario (one-off creation attached to an existing molecule), but there is no explicit statement of when to prefer this over the bulk/populate siblings, and no stated preconditions such as the parent molecule already existing.

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