Bluwing
Blog/Guarantees/Every argument has to come from somewhere4 min left
Start free

On this page

01Where a value is allowed to come from02Transcribing is not generating03A small example04Why this is a guarantee and not a setting05What you still have to validate06Frequently asked questions

Bluwing

HomeBlogWhy it's cheaperFeaturesHow it worksPricing
  1. Blog
  2. Guarantees
  3. 4 min read

Every argument has to come from somewhere

Language models are good at plausible IDs and dates. Bluwing requires each argument value to appear in the request, the conversation, your facts or an earlier tool result.

Bluwing teamOctober 20, 2026
A schema with its argument slots, values dropping in one at a time.

On this page

  1. 01Where a value is allowed to come from
  2. 02Transcribing is not generating
  3. 03A small example
  4. 04Why this is a guarantee and not a setting
  5. 05What you still have to validate
  6. 06Frequently asked questions
Back to the top
Key takeaways
  • A correct tool with an invented ID is still a failed call
  • Every argument value needs a source
  • Missing required values come back by name, not guessed

The most expensive bug in tool calling is not the wrong tool. It is the right tool with a made-up argument. An invoice ID that looks real, a date one day off, a customer email assembled from the company name. The call succeeds, the damage is done downstream.

Bluwing treats arguments as a grounding problem before it treats them as a generation problem.

#Where a value is allowed to come from

Every argument value in a call has one of four sources:

  1. The user's message, in any phrasing. four becomes 4, tomorrow at 7pm becomes a timestamp.
  2. Earlier turns in the same conversation.
  3. Facts your application supplies for the request, such as an account's timezone or a known customer ID.
  4. The result of a tool call that already ran in this task.

If a required value has no source, the engine does not fill the slot. It returns needs_input with the field name and its description, and your app asks the user. That is guarantee G3, and it is deliberately boring.

Rule

a value that cannot be traced to one of the four sources is not an argument. It is a guess.

#Transcribing is not generating

The engine's job with arguments is closer to transcription than to writing. It has to find the phrase, normalise it into the schema's type, and leave everything else alone. party_size: 4 is allowed because the sentence said four. party_size: 2 is not allowed because nothing said two.

Normalisation is where most of the real work lives. Dates, currencies, enums and identifiers all need care:

  • tomorrow at 7pm needs a timezone and a reference date.
  • $12.50 needs a currency and a numeric type.
  • the latest invoice from Acme is a query, not an ID; the engine should call the search tool, not invent the invoice number.

When a normalisation is ambiguous, the honest answer is a question. When it is unambiguous but the source is missing, the honest answer is needs_input.

#A small example

A schema asks for three fields:

FieldRequiredIn the sentence
restaurantyes"Nok"
datetimeyes"tomorrow at 7pm"
party_sizeyes—

The sentence Book a table at Nok tomorrow at 7pm has two of the three. The engine returns the call shape but flags the third instead of guessing:

json
{
  "finish_reason": "needs_input",
  "missing": [{
    "name": "party_size",
    "description": "How many people the table is for."
  }]
}

The user answers four. The next turn has all three values, each with a visible source, and the call goes out.

#Why this is a guarantee and not a setting

It is tempting to offer a "best effort" mode that fills missing fields with defaults. We do not, because the failure is silent. A default party size of two books the wrong table and looks like success in the logs. A refusal to guess looks like a pause in the conversation, which is exactly what it is.

The same rule applies to IDs. If your application knows the account ID, pass it as a fact. Do not make the engine infer it from an email address or a display name. Facts are cheap; wrong IDs are not.

A value dropping into its slot

#What you still have to validate

Grounding does not replace validation. The engine guarantees that a value came from somewhere, not that the source was correct. Your application still owns:

  • whether the user is allowed to act on that record;
  • whether the timestamp is in the future;
  • whether the amount is within policy.

Those checks belong next to the function you run, not in the prompt. Bluwing's job is to stop the invented value before it reaches you.

#Frequently asked questions

Can I provide defaults for optional arguments?

Yes. Optional values follow the schema's default. The guarantee is about required values: they are either grounded or reported, never invented.

Does grounding apply to tool results too?

Yes. A value taken from an earlier tool result is grounded, and the engine records which call it came from. Tool output is still data, not instructions — see tool output is data.

What if the user gives a value in a later message?

Then it is grounded in the conversation and can be used on the next turn. The engine reads the whole exchange, not only the latest message.

GuaranteesArgument grounding
← PreviousWhat the fast path actually skipsNext →Why a long tool list slows everything down
Point your client at Bluwing.Same tool definitions, same tool_calls. One credit per turn, from $4.50 a month.
Start free

Keep reading

ProductOct 44 min

No tool call is a valid answer

When nothing fits, the most useful thing an engine can do is decline. Bluwing returns no tool call instead of reaching for the closest one.Read →
SecuritySep 104 min

Tool output is data, never instructions

A tool result is text from the outside world. Bluwing treats it as evidence for argument values, never as a command that can change which tool is chosen.Read →
EngineOct 284 min

Why a long tool list slows everything down

A flat list of two thousand tools asks one model to hold all of them in mind. Bluwing narrows a tree first, so the model sees twelve or fewer.Read →
Start freeBluwing logoBluwing

Explore

  • Why it's cheaper
  • Features
  • How it works
  • Pricing
  • Documentation
  • API Reference
  • Comparisons
  • Blog & Guides
  • Privacy Policy
  • Terms of Service
  • System Status

Talk to us

© 2026 Bluwing · bluwing.si. The tool-calling engine for AI agents.

  • Blog→
  • Product Hunt
  • LinkedIn