Skip to main content
Glama

biovia_read_structure

Reads .skc, .mol, .rxn, .cdx, and .xml chemistry files to return SMILES, IUPAC names, InChI, formula, MW, stereochemistry validation, and optional PNG previews.

Instructions

Read any .skc (BIOVIA Draw), .mol (V2000/V3000), .rxn, .cdx (ChemDraw!), or BIOVIA .xml file. Returns SMILES, offline IUPAC name, InChI, InChIKey, HELM, formula, MW, stereochemistry validation, and optional PNG preview.

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": {
      "file_path": "<file_path>"
    },
    "name": "biovia_read_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleNoPNG preview supersampling scale 1..6 (default: 3).
file_pathYesPath to .skc, .mol, .rxn, .cdx, or .xml file.
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
render_png_pathNoOptional path to save a 300-DPI PNG preview.
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

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. To its credit it discloses the return payload in detail (SMILES, IUPAC name, InChI/InChIKey, HELM, formula, MW, stereo validation, optional PNG), but it says nothing about side effects such as writing a PNG to disk, failure modes for unsupported or malformed files, or large-molecule limits.

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?

Two sentences, both front-loaded: the accepted formats come first, then the return contract. There is no boilerplate and every clause carries information an agent needs.

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?

With eight parameters, 88% schema coverage and no output schema, the description fills the most important gap by enumerating return fields and the optional render preview. What remains missing is guidance on choosing this tool over the sibling readers/converters and any note on error or size 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 88%, so nearly every parameter is already documented in the schema, and the description adds no per-parameter meaning beyond noting the PNG preview is optional. With the schema doing the heavy lifting, the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Read any .skc (BIOVIA Draw), .mol (V2000/V3000), .rxn, .cdx (ChemDraw!), or BIOVIA .xml file" names a specific verb and resource and enumerates the exact input formats accepted, which also implicitly separates it from the clipboard-based siblings. An agent can tell immediately whether a given file is in scope for this tool.

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?

Usage is only implied: the file-format enumeration tells the agent what inputs are valid, but nothing states when to prefer this over biovia_read_clipboard, biovia_convert_format, or biovia_validate_structure, nor are prerequisites (file existence, permissions) mentioned. Adequate to start, but leaves routing decisions to inference.

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