Skip to main content
Glama

biovia_create_reaction

Build chemical reaction schemes natively in BIOVIA Draw with CleanUpReaction layout from reaction SMILES, MDL RXN, or structured reactants/reagents/products; output .rxn, .skc, OLE .bin, and PNG.

Instructions

Build a chemical reaction scheme natively in BIOVIA Draw with CleanUpReaction() layout. Accepts reaction SMILES (e.g. 'CC(=O)O.OCC>>CC(=O)OCC.O'), MDL $RXN text, or structured reactants/reagents/products. Outputs .rxn, .skc, genuine BIOVIA Draw OLE .bin, and 300-DPI PNG.

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": "biovia_create_reaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleNoPNG preview supersampling scale 1..6 (default: 3).
titleNo
rxnfileNoRaw MDL $RXN file text.
productsNoList of product SMILES or IUPAC names.
reagentsNoOptional reagent/catalyst SMILES over the arrow.
file_stemNo
reactantsNoList of reactant SMILES or IUPAC names.
output_dirNo
style_presetNoOptional BIOVIA Draw Journal Settings preset name (e.g. 'ACS Document', 'RSC Document', 'Wiley Document', 'Presentations').
hydrogen_modeNoImplicit hydrogen display mode (default: 'HeteroOrTerminal').
include_molfileNo
reaction_smilesNoReaction SMILES, e.g. 'CC(=O)O.OCC>H2SO4>CC(=O)OCC.O'.
color_by_elementNoColor heteroatoms by element (default: false = publication black-and-white).
show_stereo_labelsNoShow CIP R/S and E/Z stereochemistry labels on the rendered drawing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.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 carries the full burden. It usefully discloses the downstream layout behavior (CleanUpReaction) and the concrete output set (.rxn, .skc, OLE .bin, 300-DPI PNG), which goes beyond any structured field. It does not disclose whether BIOVIA Draw must be running, what happens on invalid SMILES, overwrite behavior in output_dir, or what is returned versus written to disk.

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?

Three sentences, front-loaded with the action and layout engine, then inputs, then outputs — a logical order with no filler. The output enumeration is dense but every token carries 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?

For a 14-parameter tool with zero required parameters and no output schema, the description should state the input-combination contract (e.g. supply exactly one of reaction_smiles / rxnfile / reactants+products) and where files land relative to output_dir/file_stem. It gives a good overview of inputs and artifacts but leaves the calling contract partially inferential.

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 71%, so the schema already documents most parameters; the description adds a concrete reaction-SMILES example showing the reagent-over-arrow position, which is genuine added meaning. It says nothing about how scale, style_preset, hydrogen_mode, color_by_element, include_molfile, or file_stem affect the result, and it does not clarify which of the three input paths is required when all are optional.

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 names a specific verb and resource ('Build a chemical reaction scheme natively in BIOVIA Draw') plus the layout engine used (CleanUpReaction()), which clearly distinguishes it from a single-structure builder like biovia_create_structure. It also enumerates the accepted input encodings and produced artifacts. It stops short of explicitly naming a sibling tool it replaces or defers to, so it is clear but not sibling-differentiating at the top level.

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 phrase 'Accepts reaction SMILES ..., MDL $RXN text, or structured reactants/reagents/products' implies three mutually exclusive input paths, which is useful implicit routing. However, it never states when to choose one path over another, nor when to use this tool instead of biovia_create_structure or biovia_convert_format, and there is no 'do not use for X' exclusion.

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