Web Development 2 min read

Build your first MCP tool around one question

Design a first MCP tool that answers one business question, checks the caller’s permissions and returns only the fields they need.

Build your first MCP tool around one question

Start with a question someone already asks at work. Say your support team keeps switching tabs to find out whether an order has shipped. Build a tool that answers that question for one order the caller is allowed to see.

Give the tool one job

An illustrative contract: get_order_status takes an order reference and returns its status and the time it was last updated. It doesn’t need a delivery address, the whole order record or a free-text database query. The MCP tools specification explains how to describe the input and output.

Ask the application who can see it

Validate the reference, identify the caller and apply the same access rules the app uses on its order screen. Try a reference from another account and check that the tool reveals nothing about it. Then check the same call with a permitted reference, an expired credential and an unavailable backend.

Try it in the assistant staff actually use

Check that the assistant can connect using your authentication setup, that it distinguishes a lookup failure from an unshipped order, and that the logs let you trace what happened. Start with synthetic records. Add write access later as a separate decision with its own permission and confirmation rules.

If you have a workflow in mind, send me the question staff need answered and where the data lives.

Need a hand with this?

Tell me what your business or agency needs. I can help scope the work and explain the next step.

Talk directly to Adam

Share this article

Back to Blog