Should a business tool caller use prompts or fine-tuning?
Prompts and fine-tuning are different ways to guide a model, and both need evaluation against the actual task. Begin with clear tool definitions, representative examples and a measured baseline before changing model training. Fine-tuning may improve a stable pattern, while permissions, validation and missing business facts still require separate controls.
Keep these in mind
- Classify the failure before choosing a model-training intervention.
- Keep test cases separate from examples used to improve the model.
- Tool arguments and business authority require checks outside generated text.
First identify which part of the call is wrong
A delivery assistant may select the right tool and still supply the wrong order number. Another request may need a question before any tool is appropriate. These are different failures.
Write the expected behavior for each example. Include the correct operation, its arguments and whether the system should wait for clarification. That gives prompt changes and trained models the same target.
Tool training is research, not the end of instructions
The 2023 Toolformer paper studied learning when and how to use several APIs. Its experiments support investigating tool-use training. They do not establish that prompts are obsolete for every application.
A trained model still operates with tool descriptions, available context and an application interface. Changes to those pieces can alter its behavior. An extraction pattern learned last month may no longer match a revised business process.
OpenAI’s model-optimization guidance recommends a cycle involving evaluations, prompting and appropriate fine-tuning. The useful buying question concerns measured improvement on representative work, rather than loyalty to one technique.
Build a delivery-request failure map
Consider an illustrative instruction: move the North Stores delivery to Friday. The tool requires an order identifier and a calendar date. Two North Stores orders are open, so an immediate update would be premature.
A training example can teach the model to ask about that ambiguity. The application should also reject an update lacking the required identity. These protections address different parts of the same workflow.
| Observed failure | First intervention to test | Evidence of improvement |
|---|---|---|
| Wrong tool chosen | Clarify tool names and examples | Correct operation on unseen requests |
| Required order missing | Ask a targeted question | No update before identity is resolved |
| Date formatting inconsistent | Validate a defined date format | Accepted explicit calendar date |
| Stable extraction mistakes persist | Evaluate a focused fine-tuning trial | Better results on a held-out set |
Separate stable patterns from changing information
Fine-tuning can be considered for repeated response patterns or a specialized task. A customer’s latest delivery address is changing business information. Keep it in a maintained record rather than treating model training as a database update.
The same applies to approval rules. A model can propose a tool call, while the application checks whether the current user may perform it. That check should use the current permission arrangement.
A prompt that states a rule can help the model behave appropriately. The downstream operation still needs to enforce its own valid inputs and authorized scope.
Use a test set that resists memorization
Keep some permissioned requests aside before improving the prompt or training data. Include new customer names, unfamiliar wording and requests that deliberately lack a necessary field. Evaluate those examples without further adjustment.
Group failures by cause. A spelling correction may fix a name problem, while a missing approval requires a different response. Reporting one average score can hide the consequential category.
Also inspect unnecessary calls. Calling a tool unnecessarily can add cost or collect information that the task does not require.
Choose the smallest improvement supported by evidence
Compare the baseline with clearer descriptions and examples first. If a stable, important failure remains, assess whether suitable training data and maintenance capacity exist for a focused model change.
Measure the complete accepted outcome and its review effort. Keep an earlier version available during the trial so a regression can be investigated without disrupting every user.
- Write expected calls, arguments and clarification cases.
- Evaluate a baseline on representative requests.
- Test one change and inspect consequential error categories.
- Retest unseen wording and newly introduced tool versions.
Common questions
Can fine-tuning replace tool-input validation?
Keep validation at the operation boundary. A trained model can still produce an outdated identifier, disallowed value or unauthorized request. Check arguments and permissions against the current system before applying a change, regardless of how the call was generated.
What belongs in a held-out evaluation set?
Use examples that were not used to write prompts or train the model. Include ordinary requests, unfamiliar wording, ambiguity and forbidden actions. Keep their expected outcomes fixed during comparison so repeated adjustments do not quietly turn testing into training.
Sources & further reading
Primary references for the facts and frameworks discussed. Original worked examples are illustrative and separate from research results.
- Toolformer: Language Models Can Teach Themselves to Use Tools ↗
Dated 2023 research on learned API use; no universal small-model superiority is inferred.
- OpenAI API: Model optimization ↗
Supports evaluation-led iteration across prompts and fine-tuning.
Published by the team building Daltn. Comparisons are first-party analysis, not independent reviews. Our editorial approach.



