Tool Use Motivation: Why LLMs Need External Tools for Accuracy › Categories of LLM Limitations

Michael BrenndoerferFebruary 1, 20268 min read
Language AI HandbookAll chapters
Part 48 of 67Tool Use and Agents
Chapter 363Tool Use Motivation: Why LLMs Need External Tools for Accuracy › Categories of LLM Limitations
Reading section 3 of 13 · Categories of LLM Limitations · 8 minSection 3 of 13 · 8 min

Book contents

Section 3 of 13 · 8 min read

Tool Use Motivation: Why LLMs Need External Tools for Accuracy › Categories of LLM LimitationsOne section · Sections in this chapter3 / 13 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

To understand why tool use is needed for practical applications, we must categorize the specific deficiencies that limit standalone LLMs. These limitations do not arise from insufficient training data or model size alone, but from basic architectural constraints inherent to the transformer architecture and the training paradigm of next-token prediction. These limitations fall into four broad categories: temporal constraints, computational constraints, factual constraints, and action constraints.

Temporal Constraints: The Static Knowledge Problem

Language models are static artifacts in a dynamic world. Once trained, their weights encode a snapshot of the world as it existed in their training corpus, frozen in time like a photograph. Even with continual training or fine-tuning, there is always a latency between reality and representation, creating a gap that grows wider with each passing day after training concludes.

This creates significant problems in domains where freshness matters for decision-making:

  • Current events: Breaking news, sports scores, election results, or rapidly evolving situations like natural disasters or market crashes
  • Dynamic data: Stock prices, weather forecasts, traffic conditions, or inventory levels that change minute by minute
  • Evolving knowledge: Software documentation that updates with new releases, legal precedents that shift with court rulings, or scientific consensus that evolves with new research

As we explored in Part XLIV on RAG, retrieval systems can give models with updated context from knowledge bases. However, RAG systems still rely on pre-indexed documents that must be crawled and processed before storage and retrieval. They cannot fetch live data from APIs, query real-time databases, or monitor streaming information sources that change faster than index update cycles allow.

There is a subtler temporal problem that goes beyond the knowledge cutoff: models often struggle to correctly reason about time even within their training window. If a document in the training set was written in 2019 and discusses "recent developments" in machine learning, the model needs to understand that those 2019 developments are no longer recent. Temporal reasoning, such as understanding that "last year" means different things depending on when a sentence was written, is difficult for models that process text as context without a grounded sense of calendar time. Tool access to live clocks and date APIs is one remedy, but recognizing when temporal context is needed in the first place requires careful reasoning.

Computational Constraints: Precision and Verification

LLMs excel at pattern matching and statistical reasoning but struggle materially with tasks requiring exact symbolic computation or multi-step verification. This limitation stems directly from their architecture: transformers process text through learned attention patterns and feed-forward transformations, not through algorithmic execution engines. They approximate mathematical operations through neural weights rather than executing precise algorithms.

Understanding why this happens requires thinking about what the transformer learned during training. When a model learns arithmetic, it does not learn to execute the long multiplication algorithm step by step. Instead, it learns statistical patterns: that "7 times 8" typically precedes "56", that questions about square roots typically have certain answer formats, that percentages of round numbers appear frequently in financial text. These patterns are highly effective for common cases and produce correct answers for simple calculations. But they break down for anything that requires precise multi-step reasoning, because there is no internal mechanism so that intermediate results carry over correctly between reasoning steps.

Specific computational weaknesses include:

  • Arithmetic precision: While models handle simple operations like single-digit addition reliably, accuracy degrades precipitously with complex calculations, long numbers, or compound operations involving multiple steps
  • Logical consistency: Maintaining truth values across extended logical chains without external verification mechanisms to catch contradictions
  • Algorithmic execution: Following precise step-by-step procedures that require exact intermediate states, such as long division or matrix inversion

For example, when asked to multiply two large numbers like 8,947×6,2348{,}947 \times 6{,}234, a model must rely on memorized patterns or approximate neural computation rather than executing the multiplication algorithm. It cannot perform the intermediate steps of multiplication (calculating partial products, handling carries, summing columns) with the precision required for exact results, leading to approximate or incorrect answers despite the model knowing the mathematical concept perfectly well at a conceptual level.

The failure mode here is particularly insidious in applied settings. A financial analyst might use an LLM to help with modeling, and the model might produce a spreadsheet formula that looks correct and plausibly matches the expected magnitude of the result. The error, a subtle miscalculation in a compound interest term, might go unnoticed until auditors review the figures. Unlike a Python runtime that throws an exception when something goes wrong, the model produces an answer that is wrong but grammatically and stylistically indistinguishable from a correct answer.

Out[4]:
Visualization
Grouped bar chart comparing LLM vs symbolic tool arithmetic accuracy across 1 to 8 digit operand sizes. LLM bars fall from near-perfect to near-zero while symbolic bars stay at 100%.
Illustrative arithmetic accuracy degradation with operand magnitude for neural network computation. The synthetic values show how the probability of exact calculation can decrease as the number of digits increases, while symbolic computation maintains 100% accuracy. This motivates delegating precise arithmetic to a calculator tool; the plotted LLM values are conceptual rather than benchmark measurements.

Factual Constraints: Hallucination and Confabulation

Even when discussing static knowledge within their training window, models can generate hallucinations: confident assertions that contradict reality. This occurs because language models optimize for plausibility rather than truth. They generate text that statistically resembles correct answers without inherent mechanisms for fact-checking against ground truth.

To understand why hallucination is a structural feature of next-token prediction rather than just a bug, consider what the training objective rewards. During pretraining, the model is rewarded for predicting the next token correctly given the preceding context. It is never penalized for confidently predicting a plausible-but-wrong token, as long as plausible-but-wrong tokens appeared in the training data. This means the model learns to generate text that reads like correct text, but it has no internal meter that distinguishes between "I am recalling a verified fact" and "I am generating a statistically plausible claim." Both feel the same from the model's perspective, because they use the same computational machinery.

Hallucinations manifest in various forms:

  • Fictional citations: Inventing academic papers, books, or authors that sound credible but do not exist
  • False details: Incorrect dates, names, statistics, or historical events presented with confidence
  • Contradictory claims: Asserting mutually exclusive facts within the same context without recognizing the inconsistency
  • Plausible extrapolations: Generating plausible extensions of real facts that drift subtly from what is documented

While RAG systems (Part XLIV) mitigate hallucination by grounding generation in retrieved documents, they introduce their own failure modes: retrieval errors where wrong documents are fetched, context window limitations that truncate important information, and the inability to verify the retrieved information's accuracy against authoritative external sources. The model might cite a retrieved document that itself contains errors, without any way to cross-reference or verify. Tool use offers a stronger form of grounding: rather than retrieving text documents that the model may misread or misinterpret, you retrieve structured data from authoritative sources, such as querying a financial API for the exact current price or a database for the verified record, leaving less room for confabulation.

Action Constraints: The Text-Only Barrier

Perhaps the most significant limitation is that standalone LLMs exist in a closed loop of text generation, isolated from the digital and physical world. They can describe how to book a flight, send an email, or update a database, but they cannot perform these actions. The model's output ends at the token stream; it cannot interact with external APIs, execute code in runtime environments, or control software systems to effect change.

This limitation means LLMs cannot:

  • Execute database queries to retrieve specific records from live systems
  • Call external APIs to trigger real-world services like payment processors or reservation systems
  • Run code to analyze data, generate visualizations, or perform simulations
  • Interact with user interfaces or control software applications through automation

The model is in effect a passive observer and commentator on the world, able to discuss actions but not take them, creating a frustrating gap between understanding and execution. You can ask an LLM to help you write a Python script that processes a dataset, and it will produce excellent code. But without a code execution tool, neither the LLM nor you can see whether that code runs correctly, whether the output matches expectations, or whether it handles edge cases properly. You must copy the code into a separate environment, run it yourself, copy any error messages back into the conversation, and iterate. Tool use collapses this loop: with a code execution tool, the model writes the code, runs it immediately, sees the output, corrects errors, and delivers a verified working solution within a single conversational turn.