Learn · Tool design & MCP · CCAR-F task 2.1

Designing tool interfaces

Claude picks tools by reading their descriptions. Write them like docs: what, when, when not, input formats and boundaries.

Key ideas

Worked example: An HR assistant that searches the wrong index

An HR assistant has search_policies and search_tickets, both described as 'search HR content'. Questions like 'what is the parental leave policy?' land in old tickets. The fix is precise descriptions: what each index holds, an example query for each, and 'use search_policies for rules, search_tickets only for a named employee's case'.

Exam traps

Official docs

Practise CCAR-F questions · Next lesson: Structured error responses