Cybersecurity

Databricks Unity Gateway Cut $1.2M Agent Waste

Databricks found seven MCP bugs wasting $1.2M a year and fixed them in an hour using Unity Gateway traces and Genie One.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

Databricks Unity Gateway tracing dashboard showing MCP tool errors and token waste
Unity Gateway traces every MCP call to surface costly agent retry loops.

Databricks traced roughly $1.2 million a year in wasted spend to seven MCP bugs. Engineers fixed them in about an hour using Databricks Unity Gateway and Genie One.

The trouble sat in internal Jira and Google Drive and Docs tool servers. No remote exploit was needed. Any agent that sent a plausible JSON type could kick off the loop.

How the attack actually works

Unity Gateway spits out an OpenTelemetry trace for every MCP call, capturing tool name, arguments, errors, tokens and latency. Genie One queried that table in plain English and ranked failures by volume and cost.

The worst offender logged 535 failures a day. It triggered when the model sent an array for the fields parameter instead of a comma string. The server called .split() on a list, threw "'list' object has no attribute 'split'", and the agent retried for 12 turns on average. Picture a vending machine that only takes exact change and jams. The user does not walk away. They shake it, try again, burn time and money.

Why this matters, and what it does not fix

The pattern is quiet. Tasks still complete, so aggregate dashboards read it as healthy usage growth. At Databricks, it added up to 1,409 errors a day, $499K in annual token waste and 12,023 hours of wait time, with one Drive error hitting 49.6% of drive_file_get calls.

Recovery cost tracked error quality. Clear messages like "find_text and replace_text required" recovered in 4.6 turns with a 14% repeat rate. Cryptic tracebacks took 12.1 turns, and misleading kwargs hit a 50% repeat rate. Builders should coerce inputs and return actionable errors, and keep tracing on. Without the gateway on the call path, there is nothing to query.

Mentioned in this story

Markets

Sources

TopicsDatabricksUnity GatewayGenie OneMCPJiraGoogle DriveOpenTelemetry

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.