Skip to main content
Glama

validate_smiles

Validate SMILES strings and extract molecular properties using RDKit to ensure chemical structure accuracy for computational chemistry workflows.

Instructions

Validate a SMILES string and return basic molecular properties.

Args: smiles: SMILES string to validate

Uses RDKit to validate SMILES and extract basic properties.

Returns: Dictionary with validation status and properties if valid

Examples: result = validate_smiles("CC(=O)O") # Returns: { # "valid": True, # "canonical_smiles": "CC(=O)O", # "molecular_formula": "C2H4O2", # "molecular_weight": 60.05 # }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
smilesYesSMILES string to validate

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/k-yenko/rowan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server