Prompt engineering & agent instructions

Tool Design for Agents: Names, Schemas and Error Messages

Agents that pick the wrong tool or pass bad arguments usually suffer from poor tool descriptions. Learn to fix them and measure the difference.

Format
Workshop
Duration
1 day
Mode
Live online or on-site
Group size
6–14 participants
Level
Intermediate
  • Workshops & trainings since 2014
  • Taught by AI Code Engineers
  • German or English

Tool design workshop at a glance

When an agent calls the wrong tool, fills parameters incorrectly or gives up after an error, the cause is often not the model but the tool definition. For a model, a tool is mostly text: a name, a description and a schema. After this workshop your team writes tool definitions that models choose correctly and use well. You review existing tools, rewrite them with proven principles on granularity, naming, when-not-to-use notes, enumerations and examples, and design results and error messages that tell the agent how to recover. Repeated agent runs before and after each change show exactly how much tool selection and call accuracy improve.

Who the tool design workshop is for

Engineers and prompt engineers who write tools for agents, whether as function definitions, MCP tools or API wrappers, and see agents pick the wrong tool or pass bad arguments.

What you'll walk away with

After the tool design workshop, you can:

  • Choose the right granularity for agent tools
  • Write names and descriptions that make tool choice unambiguous
  • Design parameter schemas with enums, defaults and examples
  • Return results and errors in a form agents can act on
  • Measure tool selection and call accuracy before and after changes

Use cases for the tool design workshop

  1. A service agent kept confusing search_customer and get_customer. Clearer names and a note on when not to use each tool remove the confusion in repeated test runs.
  2. An ERP tool accepted free-text status values and failed silently. An enumeration and an error message listing valid values let the agent correct itself.
  3. A team with forty MCP tools merges overlapping ones and splits a catch-all tool, and the agent's tool choice becomes measurably more reliable.

Run it with your team

Pick dates in the request form. We reply within one business day with a confirmed date and an agenda proposal.

Request dates

What the tool design workshop covers

  1. How models see tools

    What the model actually receives and why descriptions matter as much as code.

  2. Granularity

    Few broad tools versus many narrow ones, with examples where each approach fails.

  3. Names, descriptions and schemas

    Rewriting definitions with clear purpose, usage conditions, enums and parameter examples.

  4. Results and errors

    Concise, structured results and error messages that suggest the next correct step.

  5. Measuring tool quality

    Small test suites for tool choice and argument validity, run across models.

Prerequisites

  • Experience defining tools or functions for an LLM or agent
  • Access to an approved model API for the exercises

Materials you keep

  • Tool definition style guide
  • Before-and-after examples of your own tools
  • Test harness for tool selection accuracy

Related offers: AI agent development

Request this course

Pick one or more dates that suit you. We confirm within one business day and send an agenda tailored to your team. Non-binding.

Proposed dates (about two weeks from now, times in CET/CEST)

Non-bindingReply within one business day

Request dates

How it works

  1. Request

    Send the form with your preferred dates or a period that suits you.

  2. Short call

    We talk briefly about your goals, your team's prior knowledge and your systems.

  3. Tailored agenda

    You receive an agenda tailored to your team and a confirmed date.

  4. Workshop and materials

    We run the session live online or on-site, and you keep the materials and templates.

Why train with us

Experience

We have offered workshops and trainings since 2014. The topics have moved with the technology; today our focus is agentic coding, AI coding tools and prompt engineering for responsible AI agents.

Hands-on, not slides

You work on realistic examples from your domain, or on your own code, prompts and processes if your security rules allow it.

Your format, your language

Live online, on-site at your location or hybrid, in German or English.

Certified through jocapps GmbH

kalAIDoCreate is a venture of jocapps GmbH, which is ISO 27001 and ISO 9001 certified.

Questions about the tool design workshop

Is this relevant for MCP servers?

Yes. MCP tools are described the same way, and badly described MCP tools are one of the most common reasons agents misbehave with otherwise solid servers.

Do participants need to bring their own tools?

It helps a lot. If you cannot share them, we provide a realistic set of tools from a business process that contains the typical mistakes.

Does good tool design depend on the model?

Partly. The principles hold across models, but we show how to test your definitions on the models you use, because details can behave differently.

Can the course run online or on-site, and in which language?

Both. We deliver it live online or on-site at your location, in German or English. For distributed teams a hybrid setup is possible as well.

Can you tailor the content to our organisation?

Yes. Every course starts with a short call about goals and prior knowledge. We adapt examples, exercises and depth to your processes, systems, approved tools and security rules, and we work on your real use cases if your data protection rules allow it.

Free intro call

Tell us which task an AI agent should take responsibility for. We show how our platform, AI Code Engineers and operations plug into your stack.

  • 30 minutes, no obligation
  • Honest feasibility check
  • Concrete next step
Rather talk now? 24/7 call support in English and German+49 761 519 751 50