cd /news/ai-tools/design-multi-context-processing-tool… · home topics ai-tools article
[ARTICLE · art-119483] src=arpitbhayani.me ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Design Multi-Context Processing Tools as Capabilities, Not Endpoints

A developer warns against mapping MCP tools 1:1 onto REST API endpoints, citing token consumption and context pollution. The author recommends designing MCP tools as capabilities, such as a single manage_user tool instead of seven separate user-related tools, and notes that while dynamic tool discovery is emerging, most clients still load all tool schemas upfront.

read1 min views6 publishedAug 30, 2026
Design Multi-Context Processing Tools as Capabilities, Not Endpoints
Image: Arpitbhayani (auto-discovered)

One anti-pattern I keep seeing: mapping MCP tools 1:1 onto a REST API.

Take a typical user API - createUser, updateUser, getUser, listUsers, deleteUser, getUserPermissions, setUserPermissions. If you map that directly onto MCP tools, you get seven entries in the model’s context window on every request.

That starts eating tokens, which will hurt you in the long run - cost and context pollution.

That is not what an MCP tool is for. Think of a tool as a capability, not an endpoint.

Instead of seven tools, create one manage_user tool that handles creation, updates, and permissions internally, then returns a clean summary.

In most MCP clients today, every registered tool schema gets loaded into context before your prompt is processed, so keep the tool surface small.

By the way, a growing number of clients now support dynamic or lazy tool discovery instead, where tools are searched for and loaded on demand rather than all upfront, but that is not yet the default everywhere, so designing for the common case still matters.

I usually think of an MCP server as a service layer in front of my API, not a pass-through proxy. The API can stay granular. The MCP layer decides what the model actually needs to see.

── more in #ai-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/design-multi-context…] indexed:0 read:1min 2026-08-30 ·