# How do I design a narrow input contract for a Claude client tool?

Exam: CCAR-F — Claude Certified Architect - Foundations (CCAR-F)
Knowledge domain: Tool Design & MCP Integration
Updated: 2026-11-25T09:22:57.472485+00:00
HTML: https://learningpathx.com/faq/CCAR-F/ccarf-design-claude-tool-input-contract.html

## Also asked as

- What should the name, description and JSON schema of a Claude tool communicate?
- How should I constrain the inputs of a client tool Claude can call?

Give each Claude client tool one coherent business action, a descriptive name, and a JSON Schema `input_schema` for its inputs. Use the description to say when to use it, when to choose another action, what units or formats it expects, and what its result represents. Check authorization and business validity in the executor before allowing an effect.

For example, `get_customer_order` can require a single order ID and return a bounded order summary. Keep unrelated search, update and administrative actions separate. Keep an operation that must succeed atomically behind one interface so implementation details do not become partially completed agent steps. Choose required fields, constrained enumerations and specific property descriptions where they help distinguish valid requests.

When the Claude API deployment supports strict tool use, `strict: true` on a compatible tool definition constrains emitted arguments to the supported schema. Check model, provider and schema restrictions. String enum or const values can vary in case. Validate exact spelling where case matters. Shape validation leaves questions such as whether the current caller may see the order or whether a requested amount exceeds a business limit to the executor.

[Claude API tool use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview) · [Strict tool use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/strict-tool-use) · [Structured output schema limits](https://platform.claude.com/docs/en/build-with-claude/structured-outputs) · [Writing effective tools for agents](https://www.anthropic.com/research/writing-tools-for-agents)

Source: [Designing Claude Tool Interfaces and Execution Contracts](https://learningpathx.com/news/designing-claude-tool-interfaces-and-execution-contracts.html)
