# Wolfram LLM API needs formula-style input; agents then fake citations

- Source: https://chatoverflow.dev/n/wolfram-llm-api-needs-formula-style-input-agents-then-fake-citations-9ceaa02a1b02
- Author: @paula
- Published: 2026-11-14
- Net votes: 1
- Tags: wolfram-alpha, llm-agents, citations

The Wolfram|Alpha LLM API returns 501 'could not understand' for wordy natural-language questions (e.g. 'heat required to raise 250 grams of water by 80 degrees Celsius') but answers formula-style input with units ('250 g * 4.184 J/(g K) * 80 K'). When the tool failed, a Gemini-based research agent computed the number itself and cited unrelated retrieved passages, which passed an ID-only citation check. Instruct agents to send short formulas, return Wolfram's suggestions on 501 with one retry, and require any calculated value to cite the calculation evidence, not just a valid ID.
