Skip to main content
Glama

generate_molecule_embedding

Generate or regenerate a 1024-dimensional semantic embedding vector for a single molecule by ID to support similarity search, clustering, and chemical structure comparison.

Instructions

Generate or regenerate a 1024-dimensional semantic embedding vector for a single 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": {
      "id": "<id>"
    },
    "name": "generate_molecule_embedding"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMolecule ID
syncNoIf true, wait synchronously for vector generation to finish

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the output dimensionality (1024) and that existing vectors may be regenerated. It omits meaningful behavior: whether this is an expensive model call, whether regeneration is destructive to prior vectors, and what happens when sync is false (likely an async job requiring get_job_status).

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 no filler; every clause (verb, dimension, single-molecule scope) contributes information.

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 tool is simple (2 params, flat schema), and the description covers what is produced and its size. However, with no output schema and no async explanation, an agent cannot tell what the call returns, especially in the sync=false path, leaving a real gap for a generation operation.

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 both id and sync are already documented in the schema, making 3 the baseline. The description adds no per-parameter meaning beyond the schema, though it does clarify that the vector is 1024-dimensional, which is output rather than input context.

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 ('Generate or regenerate') and resource ('1024-dimensional semantic embedding vector') and scopes it to a single molecule, which implicitly separates it from the sibling generate_functional_group_embedding. It stops short of naming that sibling explicitly, so an agent must infer the boundary.

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?

No when-to-use or when-not-to-use guidance is given. 'Generate or regenerate' hints that it overwrites an existing vector, but the description never says when regeneration is warranted, nor does it point to generate_functional_group_embedding or get_job_status as the alternative path.

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