Share:

Index

AI agents are becoming increasingly common in businesses, but there is one detail that flies under the radar in most conversations about the topic: every time an agent makes a model call, it carries along the complete list of tools available on the MCP server, even those that will never be used. It sounds like a minor technical detail, but when you start scaling agent usage in production, that extra weight shows up in very concrete ways on your LLM provider bill.

This has a name and a cost. Okta is calling this extra weight the tool tax, and is proposing a solution that combines identity-based access control with a significant reduction in token cost consumed per interaction. These tokens include schemas, names, descriptions, and parameters for every tool exposed by the server, generating prompt overhead that the model processes even for tools that will never be called. The standout number is this: in some scenarios, Okta’s internal modeling showed a reduction of over 90% in the number of tools visible to the agent. Fewer tools in the prompt means fewer tokens processed, and that translates directly into less money spent per model call.

But what makes this proposal even more interesting is that it does not require a separate cost control layer. The filtering happens before the prompt is even assembled, using permissions already assigned to the agent’s identity and the user associated with it. In other words, efficiency and security walking hand in hand without adding more complexity to the system. It is worth noting that Okta itself acknowledges these numbers come from internal modeling, built with the company’s product data and public vendor documentation, without using real customer data in production. 🎯

The problem nobody was talking about with MCP

The Model Context Protocol, or MCP, has become a popular path for connecting AI agents to tools and data. The idea is solid: instead of every integration having its own way of working, you have a common protocol that any agent can use to access APIs, databases, internal systems, and whatever else is needed. Okta cites connections to Google Workspace, Slack, and internal MCP servers as practical examples. The problem starts showing up when an MCP server exposes dozens or hundreds of tools, and the agent needs to receive the representation of every single one of them in the prompt at each turn, regardless of how many of those tools it will actually use in that specific interaction.

That representation is not short. It includes the full tool schema, along with the name, description, and parameters. In practice, here is what happens: imagine an agent set up to help a customer support team. That agent has access to a corporate MCP server that exposes CRM tools, billing tools, HR tools, infrastructure tools, and so on. When the agent receives a simple question about an order status, it still loads the description of absolutely all those tools in the prompt, because the server does not know ahead of time what the agent will need. This indiscriminate loading is exactly what Okta is calling the tool tax, and the impact on token consumption is proportional to the size of the available tool list.

Receive the best innovation content in your email.

All the news, tips, trends, and resources you're looking for, delivered to your inbox.

By subscribing to the newsletter, you agree to receive communications from Método Viral. We are committed to always protecting and respecting your privacy.

What makes this problem even trickier is that it has two dimensions that compound each other. Okta describes it as both a tool count problem and a user count problem. The more tools integrated into the MCP server, the higher the cost per call. And every active user carries that prompt overhead each time their agent makes a model call. So the more people using it, the faster the bill climbs. It is no surprise that engineering teams working with LLMs in production have started flagging this as one of the biggest scalability challenges in enterprise use of AI agents.

The cost shows up before any tool is even called

An important detail that Okta makes a point of emphasizing is the timing of this cost. The token expense happens before the agent even tries to call a tool. This means that if you have a control that rejects an unauthorized request only at execution time, that control does not recover the tokens already consumed by processing that tool definition in the prompt. The model already read it, already processed it, and already charged for that content, even if the action never actually gets executed. That is where a big chunk of the waste that Okta’s proposal aims to eliminate lives.

How Okta connected identity and token efficiency

The solution Okta is presenting starts from a principle that has existed in the information security world for decades: the principle of least privilege. The idea is straightforward — every user, system, or process should have access only to what it needs to perform its function, nothing beyond that. Applying this concept to the context of MCP and AI agents is what Okta is doing, and the result is that the agent only sees the tools it has permission to use, based on the agent’s identity and the identity of the human user behind that interaction.

The company positions this capability within what it calls the blueprint for the secure agentic enterprise, a framework that asks organizations to identify their agents, their allowed connections, and their authorized actions. The real game changer here is that Okta narrows the access question: instead of granting or blocking access to an entire MCP server, the control is applied tool by tool within that server. An administrator configures in the Okta dashboard which tools a given identity can use, and Okta then returns only that reduced set of tools instead of the server’s full catalog.

Technically, what happens is that before the prompt is assembled and the model call is sent, the system checks the access policies associated with that specific context. If the logged-in user is on the support team, they will see CRM and ticket management tools, but they will not see payroll or infrastructure configuration tools. This filter happens at the identity layer, using permissions that already exist in the company’s access control system, without needing to create new rules or maintain a separate list of what each agent can or cannot use. And there is a second important verification: Okta checks the scope again at execution time, before a tool call actually runs.

What the numbers actually show

To arrive at the numbers it published, Okta modeled a single MCP client with access to a catalog of enterprise tools and compared how many tools were visible to the model before and after identity-based filtering. To estimate scoped exposure, the company mapped the Okta MCP Server tools to the OAuth scopes that unlock them, and then defined representative user segments.

  • Read-only helpdesk users
  • Helpdesk operators
  • Application administrators
  • Brand and email administrators
  • Super administrators

Each segment was assigned a weight based on a presumed share of monthly traffic. The reduction in tool count was calculated as one minus the ratio of scoped tools to unscoped tools, and some scenarios removed more than 90% of visible tools. Because each tool contributes a name, description, and parameter schema in every prompt, Okta states that schema token cost tracks nearly linearly with tool count. In other words, cutting 90% of the tools cuts roughly the same proportion of schema tokens. The company notes that results vary depending on the tool catalog, permission distribution, and chosen model, as well as average schema size, request volume, and model pricing. 💡

Identity versus gateways: the difference that matters

An interesting point in the proposal is how Okta differentiates its identity approach from gateway controls. Gateways can cap spending by key, by team, or by group, and they also offer routing and rate limiting. They measure tokens going in and out of the system, along with dollar amounts spent. The problem is that these controls act after a model decision has already gotten expensive.

Identity permissions offer a different entry point into the equation. They determine which tools are available to a specific agent or the person behind it, acting individually instead of applying access information only at the group level. As Paul Webber, principal industry analyst for cybersecurity at Software Analyst Cyber Research, put it, cost control for agents is best delivered with identity governance tools that provide more granular and precise control without disrupting business processes. According to him, Okta’s approach is elegant because it leverages the same permission data that governs security, rather than a separate metering layer without that visibility. In other words, the gateway controls what passes through it, while the identity layer filters the tool set before they even need to be metered.

Why this matters beyond token cost

Talking about token cost reduction would already be reason enough to pay attention to this proposal, but the security dimension that comes along with it is perhaps even more relevant for companies at more advanced stages of AI agent adoption. When an agent has visibility into tools it should not be using, there is a real risk that at some point it invokes one of those tools improperly, whether through a malicious instruction in the user input or a reasoning chain that reached a wrong conclusion.

Tools we use daily

By limiting agent visibility to only the tools that make sense for that specific context, Okta is reducing what it calls the blast radius of a compromised identity. An agent that does not know a bank transfer tool exists cannot be manipulated into using that tool, even if someone tries to induce that behavior through a carefully crafted input. The scope verification happens at two moments — first when the tool list is assembled for the agent’s prompt, and then when the agent tries to execute a call. This does not solve every agent security problem, of course, but it is an additional layer of protection that comes at no extra implementation cost, since it is a natural byproduct of identity-based access control.

For organizations evaluating how to control access through MCP, the key operational inputs are the tool inventory and the permission mapping. Okta’s methodology starts right there: mapping MCP server tools to the OAuth scopes that unlock them and then comparing the full catalog with the reduced catalog visible to each user segment. In regulated enterprise environments — such as banks, healthcare companies, or any organization subject to regulations like GDPR — having a clear trail of what each agent was authorized to do in every interaction goes beyond best practice; it is a compliance requirement. 🔐

The combination of identity-based access control with tool filtering in MCP represents one of the most practical approaches seen so far for making AI agent usage viable at scale within enterprise environments.

What Okta is showing with this proposal is that the cost and security challenges of using AI agents do not need to be solved with separate, complex solutions. Sometimes, connecting what already exists well — like a mature identity platform with a tool integration protocol like MCP — is enough to generate significant impact across two dimensions at once. And at the current stage of LLM adoption in enterprises, where operational costs are under constant scrutiny and security concerns are growing at the same pace as usage, this kind of solution has everything it takes to gain traction quickly in discussions around AI-based system architecture. 🚀

Picture of Rafael

Rafael

Operations

I transform internal processes into delivery machines — ensuring that every Viral Method client receives premium service and real results.

Fill out the form and our team will contact you within 24 hours.

Related publications

Amazon's stock could rise following OpenAI partnership.

Amazon and OpenAI partnership could boost AI revenue and stock value, says Citi; strategic impact on AWS and infrastructure race.

Moratorium on AI Data Centers: Energy in Debate

Sanders and AOC propose moratorium on AI datacenter construction in the US to assess environmental and energy impacts.

Blockchain and AI Agents Are Changing Crypto Payments

AI agents power crypto payments with blockchain, stablecoins and x402, enabling autonomous transactions, micropayments and machine-to-machine economy

Receba o melhor conteúdo de inovação em seu e-mail

Todas as notícias, dicas, tendências e recursos que você procura entregues na sua caixa de entrada.

Ao assinar a newsletter, você concorda em receber comunicações da Método Viral. A gente se compromete a sempre proteger e respeitar sua privacidade.

Rafael

Online

Atendimento

Website Pricing Calculator

Find out how much the ideal website for your business costs

Website Pages

How many pages do you need?

Drag to select from 1 to 20 pages

In just 2 minutes, automatically find out how much a custom website for your business costs

More than 0+ companies have already calculated their quote

Fale com um consultor

Preencha o formulário e nossa equipe entrará em contato.