Build context-aware MCPs, not API wrappers

We keep teaching agents how to use tools, but not when or why.
That’s why most Model Context Protocol (MCP) servers fail: they offer power without perspective.
You can see it happen. The model calls getEntries, then getEntries again, then hallucinates publishBlogPost because it has no idea what your content model looks like.
It’s like giving a mechanic a warehouse full of parts and no car to fix.
Context is the missing ingredient.
A well-designed MCP doesn’t just expose capabilities, it understands what the project is, who the user is, and why the operation matters. That awareness turns a general-purpose agent into a precision tool.
Summary
After building and testing multiple MCP servers, one thing stands out: wrapping APIs isn’t enough.
An effective MCP behaves like an application that adapts to its environment. Without context, even the smartest agent becomes a confused one.
-
Avoid generic API wrappers.
-
Make MCPs context-aware so they adapt to each project or SaaS instance.
-
Dynamically adjust tool metadata, examples, and schemas at runtime.
-
Keep tool counts small (under 15) for accuracy and cost efficiency.
-
Treat context as the product, not a side feature.
The illusion of control
It’s tempting to think that giving a model more tools gives it more control.
The irony is the opposite: real control comes from constraint and relevance.
Every tool you add expands the cognitive surface area. The model now has to reason about which of the 30 functions to use before it even starts working.
Context narrows that space, focuses attention, lowers cost, and increases confidence.
The real definition of MCP
For those new to it: MCP defines how large language models connect to external tools and systems. You can think of it as the “API layer” for AI reasoning, a contract that says, here’s what you can do, and here’s how to do it safely.
Each tool in MCP has:
-
A name and description (to inform the model),
-
A schema for inputs and outputs,
-
A few examples to ground usage.
Most implementations stop there. They register endpoints and call it a day, like deploying a CMS with no templates or editorial rules.
It’s technically functional but contextually blind.
The problem of excess tools
Once you load up a server with more than ~15 tools, smaller or cheaper models start to fall apart. They hallucinate tool names, confuse parameters, or loop on irrelevant reasoning steps.
Why? Because the model’s attention budget is finite. Every tool definition consumes context-window space, and every extra option increases cognitive load.
In other words, the model stops thinking and starts guessing.
The fix isn’t smarter reasoning loops, it’s shrinking and specializing.
Expose fewer tools, and make each one deeply contextual. The model should only see the affordances that matter right now.
Generic vs. context-aware MCPs
Feature | Generic MCP | Context-aware MCP :–|:–|:– Tool count | 30+ | <15
Descriptions | Static | Project-specific
Examples | Generic API calls | Based on real data
Schema | Universal | Tailored per project
Model accuracy | Unstable | Precise and low-cost
Building context-aware MCPs
Here’s where MCP gets interesting, and where most implementations fail.
A context-aware MCP behaves like an app that assembles itself dynamically:
-
It fetches project metadata, schemas, or permissions at startup.
-
It rewrites tool descriptions to match the project’s language and domain.
-
It generates examples that reflect real workflows.
-
It adjusts tool visibility depending on user role, active features, or current task.
In short, your MCP becomes a contextual orchestrator rather than a static gateway.
Think of it as the backend equivalent of “visual editing” for agents, the model sees a filtered, project-specific version of reality, not the entire universe of possibilities.
A practical example
Imagine integrating with a headless CMS.
An average MCP wrapper might expose:
-
getEntries -
createEntry -
publishEntry -
getAssets
A context-aware version could:
-
Detect the active content model and generate field-specific schemas.
-
Rename tools to match editorial language (e.g., “update blog post” instead of “update entry”).
-
Limit access to only relevant content types.
-
Inject examples based on actual API usage (e.g., “publish the latest blog post in French”).
This contextualization doesn’t just improve accuracy, it reduces cost by cutting reasoning noise.
The trade-offs of dynamic MCPs
Dynamic MCPs are harder to build and test. They blur the line between infrastructure and application logic.
You’ll need caching, authentication, and version control for your dynamically generated toolsets.
But the complexity pays off: faster responses, fewer hallucinations, cleaner execution logs, and long-term scalability.
Most importantly, it future-proofs your MCP for multi-model, multi-tenant environments.
The evolution toward adaptive middleware
As agent ecosystems mature, MCP servers will evolve from “tool catalogs” into context providers.
OpenAI’s work on context connectors and semantic grounding points in that direction, the line between “server” and “app” will keep fading.
Expect to see:
-
Auto-contextual MCPs that build tool definitions from embeddings or metadata.
-
Role-aware schemas that adapt access by persona.
-
Composable MCP layers that federate across GitHub, Notion, and Vercel automatically.
In that world, MCP servers become the new middleware: intelligent, adaptive, and domain-aware.
The conclusion
An MCP server isn’t just a set of endpoints. It’s a contextual engine that mediates between models and systems.
When it adapts to the project, the user, and the model’s limits, it transcends the “API wrapper” stage and becomes something more powerful, an application with awareness.
Tomorrow’s agents won’t just integrate with systems, they’ll inhabit them.
And context, not capability, will define intelligence.
That’s how we make agents faster, cheaper, and genuinely useful.
On this page
Related articles

Skills over MCP explained: how the new extension delivers workflows alongside tools
How the new MCP Skills Extension works, from skill discovery and on-demand loading to content verification, workflow guidance, and managed profiles.
- Composable architecture
- AI engineering
- API design

The Doer Economy - we are killing the translator class
This article argues that AI is collapsing the distance between vision and execution, ushering in a Doer Economy where the primary winners are those who can both imagine and build. The traditional corporate stack of translators (product managers, marketers, and multiple layers of management) is shrinking because executional tasks are increasingly handled by AI. Founders and CEOs are moving closer to product, validating ideas directly with AI-generated scaffolds and modern SaaS primitives. For individuals, the value has shifted from narrow, ticket-driven skills to end-to-end ownership, product thinking, and understanding users. The future belongs to people who ship, iterate quickly, and leverage AI and SaaS platforms to focus on business logic and user experience, rather than those who only manage the builders.
- Composable architecture
- AI engineering
- API design

MCP fragmentation, context efficiency, and the rise of curated skills
The Model Context Protocol (MCP) was supposed to be a universal way to connect AI models to tools, but in practice it is fragmenting fast across vendors and implementations. Tool catalogs are extremely context-hungry, making naive MCP setups expensive, slow, and unreliable, especially with cheaper models. Developers are compensating with application-layer tricks like curated tool subsets, OAuth-based selection, Claude Skills style abstractions, and wrapping deterministic automation platforms such as Contentstack Automate. These patterns improve cost, reliability, and debuggability but highlight protocol-level gaps in context efficiency, determinism, and interoperability. The ecosystem is replaying past standards wars, and no clear winner is visible yet. The pragmatic move is to design flexible systems that can adapt when consolidation and better standards eventually emerge.
- Composable architecture
- AI engineering
- API design