omni_pcr_primer_tm
Calculate PCR primer melting temperature (Tm), salt-adjusted Tm, and recommended annealing temperature (Ta) from primer length, GC count, and monovalent salt concentration.
Instructions
PCR Primer Melting Temperature (Tm) & Annealing Calculator. Calculate DNA oligonucleotide PCR primer melting temperature (Tm) via the Wallace 2+4 rule and nearest-neighbor thermodynamics, and determine optimal annealing temperature (Ta). Discipline: BIOTECH. Governing mathematical model / formula: Tm (Wallace) = 2 · (A + T) + 4 · (G + C) | Optimal Annealing Ta ≈ Tm_primer - 5°C.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of basic_wallace_tm (Basic Wallace Rule Tm), salt_adjusted_tm (Salt-Adjusted Primer Tm), optimal_pcr_annealing_ta (Recommended Annealing Temp (Ta)), gc_content_percentage (Primer GC Content (%)) using primer_length_bp (Primer Length (Base Pairs) in bp), gc_nucleotide_count (Number of G and C Bases in bases), monovalent_salt_concentration_mm (Monovalent Cation [Na⁺/K⁺] (mM) in mM). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'PCR Primer Melting Temperature (Tm) & Annealing Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "pcr-primer-tm"
category (string): "biotech"
name (string): "PCR Primer Melting Temperature (Tm) & Annealing Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.basic_wallace_tm (Basic Wallace Rule Tm): Formatted display string (e.g. '66.0°C')
metrics.salt_adjusted_tm (Salt-Adjusted Primer Tm): Formatted display string (e.g. '60.4°C')
metrics.optimal_pcr_annealing_ta (Recommended Annealing Temp (Ta)): Formatted display string (e.g. '55.4°C (Tm - 5°C)')
metrics.gc_content_percentage (Primer GC Content (%)): Formatted display string (e.g. '50.0% GC')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_pcr_primer_tm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| primer_length_bp | No | Primer Length (Base Pairs) (bp). Typical PCR primers are 18-25 nucleotides long. Default: 22. Min: 10. Max: 50. | |
| gc_nucleotide_count | No | Number of G and C Bases (bases). Number of Guanine (G) and Cytosine (C) residues. Default: 11. Min: 0. Max: 50. | |
| monovalent_salt_concentration_mm | No | Monovalent Cation [Na⁺/K⁺] (mM) (mM). Standard PCR buffer contains 50 mM KCl. Default: 50. Min: 10. Max: 500. |