New Tool Radar

AI Agents & Automation

How to Design an Agent Tool Schema Before the Agent’s First Call

Write the tool name, description and inputs first, so the agent calls the right tool for the right job.

Schematic with three numbered boxes: name tools as verbs, write descriptions, define the schema.

An agent acts by calling tools, and it picks the tool from the name, description and JSON schema for its inputs. A vague description leads to wrong calls, so design the schema before the agent runs. The MCP guidance is the same: treat tools like API endpoints, with a clear name, description and input schema.

Checked on 2026-11-29. We did not run any tool for this guide. Every result below is an expected result, marked UNTESTED, for you to confirm on your own files.

Prerequisites

  • The task the agent must do, in one sentence
  • The list of actions the agent may take
  • A note of the inputs each action needs

Steps

1. Name each tool as a verb

Give each tool a verb-first name such as search_orders or create_ticket, so the purpose is clear from the name.

Expected result: A tool list exists with verb-first names.

2. Write a one-sentence description

Write what the tool does and when to use it, in one sentence. Avoid vague words such as handle or process.

Expected result: Each tool has a one-sentence description.

3. Define the inputs as a schema

List each input with its name, type and whether it is required. Mark optional inputs clearly.

Expected result: A schema exists for each tool with typed inputs.

4. Test the schema with one call

Run the agent on one task and check it calls the right tool with valid inputs.

Expected result: One test call succeeds with the right tool and valid inputs.

Worked example

A practice support agent has three tools for orders. The schema was written before the first call.

Tool Inputs Required
search_orders customer_id Yes
create_ticket order_id, issue Yes
refund_order order_id, amount Yes

Expected result: Three tools have verb-first names and typed inputs, and the test call picks search_orders for a tracking question (UNTESTED – confirm it yourself.)

Verdict table

Check Expected result Pass?
Name each tool as a verb A tool list exists with verb-first names. –
Write a one-sentence description Each tool has a one-sentence description. –
Define the inputs as a schema A schema exists for each tool with typed inputs. –
Test the schema with one call One test call succeeds with the right tool and valid inputs. –

Limits

  • A good schema cannot stop a model calling a tool for the wrong reason; check the call before it runs when the action matters.
  • Too many tools confuse the model; keep the list short and merge tools that do the same job.

Sources

See all