chem_molar_mass
Molar mass + percent composition calculator — Offline chemistry calculator: parse a molecular formula (brackets like Ca3(PO4)2 or K4[Fe(CN)6], hydrates like CuSO4.5H2O) and return molar mass in g/mol, Hill formula, atom count and per-element mass contribution and mass percent, using IUPAC standard atomic weights. Optional grams= converts to moles and molecules, or moles= converts to grams. Price: $0.002 USDC (Base, via x402).
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": {
"formula": "<formula>"
},
"name": "chem_molar_mass"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formula | Yes | e.g. C6H12O6 |