Skip to main content
Glama

biovia_convert_format

Convert chemical structures and reactions offline between SMILES, IUPAC name, InChI, InChIKey, HELM, Molfile V2000/V3000, SKC, CDX, and PNG using BIOVIA Draw.

Instructions

Convert chemical representations offline via BIOVIA Draw between SMILES, IUPAC name, InChI, InChIKey, HELM, Molfile V2000/V3000, SKC, CDX (input), and PNG.

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": {
      "target_format": "<target_format>"
    },
    "name": "biovia_convert_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
helmNo
inchiNo
scaleNoPNG preview supersampling scale 1..6 (default: 3).
smilesNo
molfileNo
file_pathNo
file_stemNo
iupac_nameNo
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').
target_formatYes
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?

No annotations at all, so the description carries full burden. It discloses that conversion happens 'offline via BIOVIA Draw' and that CDX is input-only, which is useful capability boundary info. But it says nothing about requiring a Windows machine with BIOVIA Draw installed, whether file_path/output_dir writes files, error behavior, or that png/all are rendering outputs -- significant gaps for a mutation/IO tool with zero annotations.

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?

Single dense sentence, front-loaded with the verb and mechanism, with the format matrix listed compactly. No filler.

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 no annotations and no output schema, the description covers the format taxonomy but not output destination behavior, return value, or input precedence. Missing enough that an agent could still call it incorrectly when multiple source formats are supplied or when it needs to know where the result lands.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though schema coverage is 36%, the description enumerates source formats (SMILES, InChI, HELM, molfile, iupac_name, PNG) and target formats, mapping onto most of the 14 params. It clarifies CDX is input-only, resolving ambiguity about direction. Gaps remain around file_path vs file_stem vs output_dir relationships and precedence when multiple inputs are supplied.

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?

Specific verb (Convert) plus resource (chemical representations) and explicit list of supported input/output formats and tools (BIOVIA Draw). An agent can tell this is a format conversion tool, though it doesn't differentiate from siblings like biovia_read_structure or biovia_sdf_tools.

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 explicit when-to-use guidance, no preconditions, no mention of when to prefer this over biovia_read_structure or biovia_export_pdf. Only the word 'offline' hints at context (local BIOVIA Draw COM automation vs something else), leaving alternatives to inference.

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