Semantic Impedance
Mismatch between the granularity of agent reasoning and available actions.
A hotel TV remote has lost its number pad. It has only "channel up." You want channel 87. You know exactly where you're going, and the only way there is 86 presses, each one followed by a glance at the screen to see where you are. The remote works fine. It just works at a much finer grain than your intent.
Electrical engineers use impedance mismatch for a connection where two parts are built for different loads, so energy is lost at the joint. The Guide borrows the idea. Semantic impedance is the mismatch between the size of the steps an agent thinks in and the size of the steps its tools allow. The agent reasons in tasks ("find the five customers who owe us the most"). If the tools only offer records ("get invoice by ID"), the agent has to bridge the difference by hand, one call at a time.
In practice
The task: list the five customers with the largest overdue balances. The tools:
list_customers(page) → 25 customer IDs per page
get_invoices(customer) → every invoice for one customer
With 400 customers, that is 16 pages and 400 invoice calls before the agent can sort anything, and the agent does the arithmetic in its own context. Here is a tool whose grain matches the thought:
query_invoices(status="overdue", group_by="customer", sort="-balance", limit=5)
One call, five rows. Notice that the second tool makes no decision on the agent's behalf. The agent still chooses what to ask. The tool just takes the steps that never needed judgment.
Impedance can mismatch in the other direction too. A tool that is too coarse, such as reset_account when the agent only wants to clear one setting, forces the agent to either do too much or find a workaround.
Why it matters
High impedance shows up as long chains of near-identical calls. Each one costs a model turn, and every intermediate result lands in the context window, crowding out the original goal. The agent also does work it is bad at, such as summing 400 numbers by reading them, where a database would be exact. Errors become more likely with each hop, and the trace becomes long and hard for a human to review.
What to do about it
H-08 Compositional Accelerators addresses this directly: let the agent filter, sort, batch and aggregate on the computer's side of the boundary, so one call matches one thought. H-03 Token Hygiene & High Observation Yield covers the response side, returning the five answers plus a pointer instead of the 400 rows that produced them.
Related
- The round-trip taxLexicon · 39Round-Trip TaxTurn latency and overhead from chaining overly atomic tool calls. is the bill for high impedance: the latency and tokens of every extra call.
- Policy vs. mechanismLexicon · 37Policy vs. MechanismSeparating high-level semantic planning (agent) from low-level execution (interface). explains where to draw the line: the agent picks the query, the tool does the looping.
- Tool-schema bloatLexicon · 38Tool-Schema BloatUpfront context consumption caused by oversized or granular tool catalogs. is the usual wrong fix: adding one tool per question, until the catalog itself becomes the problem.