Skip to main content
Glama

get_functional_group

Retrieve a single functional group's details, including its parent molecule and chemical class metadata, by ID; optionally include its raw embedding vector.

Instructions

Retrieve details of a single functional group including parent molecule and chemical class metadata.

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

Input Schema

NameRequiredDescriptionDefault
idYesFunctional Group 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?

No annotations are supplied, so the description bears the full behavioral burden. 'Retrieve' correctly conveys a non-mutating read, but it says nothing about not-found behavior, permission requirements, or cost/latency of the optional embedding vector.

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?

A single front-loaded sentence with zero filler; the core action and the returned data are stated immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool with no output schema, the description gives a useful sketch of the return payload (parent molecule, chemical class metadata). Only the optional embedding vector's effect on the response is left unaddressed, which the schema mostly covers.

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 'id' and 'include_embedding' are already documented in the schema. The description adds no meaning beyond that (it never mentions the 1024-float embedding toggle), so the baseline of 3 is appropriate.

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 ('Retrieve') and resource ('details of a single functional group') plus the notable contents of the response (parent molecule, chemical class metadata). The word 'single' implicitly separates it from list_functional_groups, but 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 guidance on when to choose this over list_functional_groups or get_molecule, no prerequisites (e.g. that a valid functional group ID must already exist), and no note on what to do if the ID is unknown. Usage is only inferable from the singular framing.

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