passdrill
AI & LLM Engineering · AI Agents & Tool Use · Card 022/022 easy

A team gives an agent a tool named `f1` with the description 'does the thing' and a single parameter named `x`. The agent frequently calls the wrong tool or fills `x` with the wrong kind of value. After renaming the tool to `search_customer_orders`, rewriting its description to explain exactly what it searches and when to use it, and renaming the parameter to `customer_email`, the same model's tool-selection and argument accuracy measurably improves, with no change to the model itself. What does this illustrate?

  1. How a tool is named and described -- clear, specific, unambiguous language covering what it does, when to use it, and what its parameters mean -- is itself a major factor in whether a model selects the right tool and fills its arguments correctly, independent of the underlying model's capability
  2. That tool names and descriptions are purely cosmetic metadata which models ignore entirely when deciding which tool to call and how to fill its arguments
  3. That the only way to fix a model calling the wrong tool is to reduce the total number of tools available to at most one
  4. That renaming a tool's parameters changes the underlying data type the tool accepts, which is why accuracy improved after the parameter was renamed
Next card → Shuffle