Scientific Calculator Tools#
Configuration File: scientific_calculator_tools.json
Tool Type: Local
Tools Count: 5
This page contains all tools defined in the scientific_calculator_tools.json configuration file.
Available Tools#
DNA_translate_reading_frames (Type: ScientificCalculatorTool)#
Translate a DNA sequence to protein in all 3 forward reading frames and identify the longest ORF….
DNA_translate_reading_frames tool specification
Tool Information:
Name:
DNA_translate_reading_framesType:
ScientificCalculatorToolDescription: Translate a DNA sequence to protein in all 3 forward reading frames and identify the longest ORF. Uses the standard genetic code (NCBI Code 1). Returns protein sequences for each frame, longest ORF per frame, and the best frame with longest uninterrupted protein. Use for: reading frame analysis, finding the correct ORF in an unknown sequence, comparing all three frames.
Parameters:
operation(string) (optional) Operation typesequence(string) (required) DNA sequence (A, T, G, C only). Case insensitive. Spaces and newlines are stripped.frame(string or null) (optional) Reading frame to translate: ‘1’, ‘2’, ‘3’, or ‘all’ (default). Frame 1 starts at position 0, frame 2 at position 1, frame 3 at position 2.genetic_code(integer or null) (optional) NCBI genetic code number. Only 1 (the standard code) is implemented; any other value is rejected with an error rather than translated with the standard table. Alternative code tables (2 = vertebrate mitochondrial, 3 = yeast mitochondrial, 11 = bacterial, etc.) are not supported by this tool.
Example Usage:
query = {
"name": "DNA_translate_reading_frames",
"arguments": {
"sequence": "example_value"
}
}
result = tu.run(query)
EnzymeKinetics_calculate (Type: ScientificCalculatorTool)#
Calculate enzyme kinetic parameters from experimental data. Supports: (1) Michaelis-Menten Km/Vma…
EnzymeKinetics_calculate tool specification
Tool Information:
Name:
EnzymeKinetics_calculateType:
ScientificCalculatorToolDescription: Calculate enzyme kinetic parameters from experimental data. Supports: (1) Michaelis-Menten Km/Vmax determination via Lineweaver-Burk linearization and nonlinear grid-search fitting, (2) Hill coefficient analysis for cooperative binding, (3) Ki determination from inhibition data (competitive, uncompetitive, noncompetitive). No external dependencies. Use for: enzyme characterization, inhibitor Ki determination, cooperativity analysis.
Parameters:
operation(string) (optional) Calculation type: ‘michaelis_menten’ for Km/Vmax, ‘hill’ for Hill coefficient, ‘inhibition’ for Ki.substrate_concs(array) (required) Substrate concentrations (at least 3 values). Must be positive.velocities(array or null) (optional) Measured velocities corresponding to substrate_concs. Required for michaelis_menten and hill modes.velocities_no_inhibitor(array or null) (optional) Velocities without inhibitor (required for inhibition mode).velocities_with_inhibitor(array or null) (optional) Velocities with inhibitor (required for inhibition mode).inhibitor_conc(number or null) (optional) Inhibitor concentration (required for inhibition mode).inhibition_type(string or null) (optional) Type of inhibition (default: competitive).
Example Usage:
query = {
"name": "EnzymeKinetics_calculate",
"arguments": {
"substrate_concs": ["item1", "item2"]
}
}
result = tu.run(query)
EquilibriumSolver_calculate (Type: ScientificCalculatorTool)#
Solve chemical equilibrium problems: simple Ksp dissolution, Ksp with complex formation (amphoter…
EquilibriumSolver_calculate tool specification
Tool Information:
Name:
EquilibriumSolver_calculateType:
ScientificCalculatorToolDescription: Solve chemical equilibrium problems: simple Ksp dissolution, Ksp with complex formation (amphoterism), and common-ion effect. Uses numerical methods (Newton’s method for complex systems, bisection for common-ion). Handles the full charge-balance equation for Ksp+Kf systems. Use for: solubility calculations, Ksp problems, common-ion effect, complex formation equilibria, amphoteric dissolution.
Parameters:
operation(string) (optional) Problem type: ‘ksp_simple’ for basic dissolution, ‘ksp_complex’ for dissolution + complex formation, ‘common_ion’ for Ksp with added common ion.Ksp(number) (required) Solubility product constant (Ksp).Kf(number or null) (optional) Formation constant for complex ion (required for ksp_complex mode).stoich_cation(integer or null) (optional) Stoichiometric coefficient ‘a’ for the cation in MaXb (default: 1).stoich_anion(integer or null) (optional) Stoichiometric coefficient ‘b’ for the anion in MaXb (default: 1).common_ion_conc(number or null) (optional) Common ion concentration in mol/L (required for common_ion mode).
Example Usage:
query = {
"name": "EquilibriumSolver_calculate",
"arguments": {
"Ksp": "example_value"
}
}
result = tu.run(query)
MolecularFormula_analyze (Type: ScientificCalculatorTool)#
Analyze a molecular formula to calculate molar mass, degrees of unsaturation (DoU), and elemental…
MolecularFormula_analyze tool specification
Tool Information:
Name:
MolecularFormula_analyzeType:
ScientificCalculatorToolDescription: Analyze a molecular formula to calculate molar mass, degrees of unsaturation (DoU), and elemental composition (mass percentages). OR determine empirical/molecular formula from combustion analysis data (masses of CO2, H2O produced from burning a sample). Supports elements: C, H, N, O, S, P, F, Cl, Br, I. Use for: formula analysis, combustion analysis problems, elemental composition, molecular weight calculation.
Parameters:
operation(string) (optional) Operation: ‘analyze_formula’ to analyze a known formula, or ‘combustion_analysis’ to determine formula from combustion data.formula(string or null) (optional) Molecular formula string (e.g., ‘C6H12O6’, ‘C8H9NO2’). Required for analyze_formula mode.sample_g(number or null) (optional) Mass of sample burned in grams. Required for combustion_analysis mode.CO2_g(number or null) (optional) Mass of CO2 collected in grams. Required for combustion_analysis mode.H2O_g(number or null) (optional) Mass of H2O collected in grams. Required for combustion_analysis mode.N2_g(number or null) (optional) Mass of N2 collected in grams (optional, default 0).molar_mass(number or null) (optional) Known molar mass in g/mol to determine molecular formula from empirical formula (optional, combustion mode only).
Example Usage:
query = {
"name": "MolecularFormula_analyze",
"arguments": {
}
}
result = tu.run(query)
Statistics_test (Type: ScientificCalculatorTool)#
Perform basic statistical tests using pure Python (no scipy/numpy required). Supports: (1) Chi-sq…
Statistics_test tool specification
Tool Information:
Name:
Statistics_testType:
ScientificCalculatorToolDescription: Perform basic statistical tests using pure Python (no scipy/numpy required). Supports: (1) Chi-square goodness-of-fit test with p-value via gamma function, (2) Fisher’s exact test for 2x2 contingency tables via hypergeometric distribution, (3) Simple linear regression (OLS) with R-squared, t-statistics, and p-values via incomplete beta function, (4) Two-sample t-test (Welch’s) for comparing group means. Use for: hypothesis testing, contingency table analysis, regression analysis, group comparison.
Parameters:
operation(string) (optional) Test type: ‘chi_square’ for goodness-of-fit, ‘fisher_exact’ for 2x2 tables, ‘linear_regression’ for OLS, ‘t_test’ for two-sample Welch’s t-test.observed(array or null) (optional) Observed counts/frequencies (required for chi_square).expected(array or null) (optional) Expected counts/frequencies (required for chi_square). Will be rescaled to match observed total if totals differ.a(integer or null) (optional) Top-left cell of 2x2 table (required for fisher_exact).b(integer or null) (optional) Top-right cell of 2x2 table (required for fisher_exact).c(integer or null) (optional) Bottom-left cell of 2x2 table (required for fisher_exact).d(integer or null) (optional) Bottom-right cell of 2x2 table (required for fisher_exact).alternative(string or null) (optional) Alternative hypothesis for Fisher’s exact test (default: two-sided).data_x(array or null) (optional) X values for linear_regression, or group 1 data for t_test.data_y(array or null) (optional) Y values for linear_regression, or group 2 data for t_test.
Example Usage:
query = {
"name": "Statistics_test",
"arguments": {
}
}
result = tu.run(query)