When we wrote our first MCP server for a vehicle tracking client in January, we had 23 tools in total. Today the same server has 7 tools, and the system works better in every respect. I put that sentence at the top of this post on purpose, because we've been building custom MCP servers for our clients for six months now, and the most expensive lessons we've learned all point the same way: in this line of work, excess does more damage than scarcity. For teams about to write their first server, this post is the distilled set of notes from those six months.
The good news first: the SDKs (Python and TypeScript) make the job surprisingly easy. You can get a simple server up and running in an afternoon. And the bad news is hiding right there: an easy start also makes bad design easy. Getting to something that works is so fast that it's all too easy to slip into "how do I build this" mode without ever asking "what should I build."
One of the decisions to make early is the mode of operation: will the server talk over stdio on the developer's machine, or will it be a remote server over the network, with authentication? For personal use and prototypes, the first is enough; in an enterprise scenario with multiple users, the second is unavoidable — and designing authentication from the start is many times cheaper than bolting it on later. I said this in the anatomy post back in January as well, and with six months of experience behind me I'm underlining it once more.
Don't copy your REST API; design the job
The mistake we see most often is this: a team takes its existing REST API and turns every endpoint into a tool, one to one. 40 endpoints, 40 tools. Logical on paper, a disaster in practice. The model drowns in 40 options on every question, confuses tools with similar names, and spreads a job that takes three tools across seven calls.
The right question isn't "what's in the API?" but "what jobs will users want to do with this system?" The answer almost always comes out to 5-8 jobs. On our vehicle tracking server, this filtering ended up like this: arac_konum(plaka) for a vehicle's location by plate, rolanti_raporu(tarih_araligi) for an idling report over a date range, hiz_ihlalleri(esik) for speeding violations above a threshold, and a few more tools like these. Each one corresponds to a business question, not a database table. A few accurate, well-described tools are always better than many generic ones. That's exactly the story of how we went from 23 to 7.

So how do we find those 5-8 jobs? The method isn't romantic at all: we sit down for half an hour with the system's real users — the operations manager, the accountant, the support rep — and ask, "What's the last thing you wanted to ask this system but couldn't?" We also look at the usage logs of the existing report screens; the five most-opened reports are the strongest candidates for your first tools. The tool list is decided in the field, not at a desk. Lists decided at a desk end up like our first 23-tool version.
Writing descriptions isn't documentation; it's engineering
We drilled this into our heads late: the model's only knowledge about your system is your tool descriptions. No matter how elegant the code is, if the descriptions are bad, the server is bad.
A good description says four things: what the tool does, the format and unit of the parameters, when to use it, and — this is always forgotten — when not to use it. Writing "date: string" is not a description; writing "date: in YYYY-MM-DD format, e.g. 2025-07-01" is a description. A pointer like "This tool is for historical data; for live location, use arac_konum" visibly raises the quality of the model's decisions.
And test your descriptions. Our method is simple: we ask the model 20 realistic user questions and look at which tool it picks. Every case where it picks the wrong tool is a fault of the description, not the model — we fix the description and run it again. We went through four rounds of this loop on our first server; by the fourth round, accuracy was nearly perfect.

Treat naming as part of the description too. Establish consistency of language and pattern across tool names; a list that's half English and half Turkish, with half the names starting with a verb and half with a noun, quietly makes the model's job harder. We settled on an object_action pattern (nesne_eylem, in our case) and a single language. Which pattern you choose matters less than sticking to it without exception.
Five gates before going to production
Over six months we learned the difference between a demo and production very well. The essence of our production checklist is these five items:
- Narrow permissions: The server connects to the system behind it with the narrowest possible permissions — a read-only database user, a scoped-down API key. We don't take any setup to production where we see an "all-powerful service account."
- Schema validation: Parameters are tightly constrained with JSON Schema; in our vocabulary, a tool that accepts free-form SQL or shell commands isn't a tool, it's an open door.
- Corrective error messages: The error returned to the model should help the model recover. Instead of "Error: no record," say "plate not found; expected format: 34ABC123." With that hint, the model usually gets it right on the second try.
- Full logging: Who, which tool, which parameters, result size, duration. Auditability is non-negotiable.
- Paginated results: A tool that returns 10,000 rows floods the model's context and lowers quality. A summary plus a "use this key for more" pattern always works better.
None of these five is glamorous, I know. But in production, these are exactly the things that keep your server standing; the glamorous part (the model producing reports in natural language) comes for free thanks to the SDK anyway.

There are two more topics that aren't on the list but should stay on your mind. The first is timeouts: when the system behind a tool slows down, the model shouldn't turn into an hourglass spinning for minutes; define a reasonable timeout for every tool and a response along the lines of "the operation is taking a while, ask again shortly." The second is versioning: changing a tool's name or parameters affects every client and every habit that has learned that tool. Show the same care in tool definitions that you show in API versioning; the "we'll just update the description anyway" attitude costs dearly in production.
Start small, but start at production quality
Perhaps the most important lesson of the six months was this: let your first server be small, but not a toy. Start with two or three real tools, real permission constraints and real logging; have users (most likely your own team first) do real work with it. Every team that says "let's do a demo first, we'll add security in production" ends up rewriting the demo from scratch when it goes to production — we've seen this both in ourselves and in our clients.
And a side benefit we didn't expect: writing an MCP server becomes a mirror of your own system. While you search for an answer to "which 5-8 jobs will users want from this system?", you notice endpoints nobody has used in years, inconsistent naming, missing reports. With two of our clients, the MCP project ended with the main API being cleaned up as well.
If you're thinking about opening your system to AI safely, my advice is not to plan a giant 40-tool project right away: pick one business area, design 5 tools, ship them with narrow permissions, and monitor usage. If you'd like to talk about how to take that first step, we can start with a free preliminary analysis; we'll filter together which tools are truly necessary — we brought ours down from 23 to 7, and we'll keep yours at 7 from the start.