The first instinct of a developer building an MCP App is to get a UI on screen as fast as possible. That instinct, according to Dustin Mihalik of Indeed, is exactly what breaks the app. “The very first rule for me building MCP apps: anything that you show to the user also needs to be provided as data to the model,” Mihalik said on the AI Engineer podcast. When that rule is violated, you get what he calls a black-box UI — a screen the user can see but the model cannot, leaving Claude unable to answer even the simplest follow-up question about what it just displayed.
Mihalik works on Indeed’s AI platform team, where he builds the guardrails, gateways, and compliance tooling that sit between the job site’s data and the AI interfaces that now surface it. That includes Claude, ChatGPT, and Indeed’s own internal job-seeker agent, Career Scout. His team has spent months integrating job search into chat environments, and the failures he describes are specific enough to be immediately recognizable to anyone who has tried to use an AI assistant for a real task.
The Black-Box UI: What the Model Can’t See
The failure mode Mihalik describes is deceptively simple. A developer wires an existing API into an MCP App, configures it to return a custom HTML widget, and considers the integration complete. The UI renders beautifully. The user sees job cards, apply buttons, detail modals. Then the trouble starts.
A user clicks “view details” on a specific job listing. The modal opens with the full description. The user says, “help me draft a cover letter for this job.” The model responds with something generic or asks which job they mean. Why? Because the act of clicking the button happened entirely inside the UI layer. The model never learned which item was selected.
The same problem runs in reverse. When a tool returns only UI without structured data, the model cannot answer questions about the content it just displayed. Ask “tell me about the first result” or “rank these companies by salary,” and you get silence or hallucination. The model orchestrated the tool call, but it never actually received the underlying data.
The fix, Mihalik said, is achievable within the MCP Apps specification itself. The spec supports returning both structured content — the data the model can reason over — and a resource URI pointing to the HTML the user sees. The two must stay in lockstep. Every new field added to the API must also be added to the structured content returned to the model. That synchronization is the foundation everything else builds on.

Telling the Model to Stop Talking
Once data and UI are properly synchronized, a second problem emerges — one that might initially look like a model failure. The model, unaware that results have already been rendered on screen, will attempt to describe them textually. The user sees a widget with five job listings, and then Claude starts narrating: “Here are five jobs for you. The first is a software engineer position at…” It’s duplication, and it feels broken.
Mihalik described this as a “battle” between what the UI displays and what the model narrates. The fix is not more complex prompting or fine-tuning. It’s a single sentence added to the tool description: “results were automatically displayed to the user as UI components.”
That one line, positioned at the top of the description, steers the model toward producing a concise summary and links rather than a full textual re-rendering of the results. It works because it tells the model what has already happened in the environment — information the model cannot infer on its own.
The same principle applies to user interactions. When a user clicks a button or opens a modal, the model needs to be told. The MCP Apps specification provides an update model context method that accepts a string payload. Mihalik cited the documentation’s shopping-cart example: the app appends the cart’s total cost and item list to the context string, enabling the user to ask questions about what’s in their cart. Because the method accepts a single string, apps tracking multiple events over time must append successive updates to that same string — a constraint that forces deliberate design about what context is worth keeping.

The Architecture That Changes Everything
The most consequential insight in Mihalik’s talk — the one he explicitly labels as superseding all others — is the separation of data processing from UI rendering. He credited the phrasing to OpenAI’s Apps SDK documentation, but emphasized that the principle is model-agnostic.
The problem with a unified tool is that it discourages deep exploration. When a tool’s description promises that results will be displayed in a UI, Claude will call it once and then stop. It assumes the work is done. A user who wants to compare job listings across ten cities will not get ten carousels. The model will render one and consider the task complete.
“I don’t give Claude my easy problems to solve, I give Claude my really hard problems to solve,” Mihalik said. Those hard problems — multi-city comparisons, multi-constraint filtering, ranking by complex criteria — require the model to explore data repeatedly before presenting anything. A single monolithic tool cannot support that.
The solution is decomposition into two tool categories:
Tool CategoryPurposeExample (Indeed)Data-processing toolsExplore, filter, and rank data; callable repeatedly without UI side effectssearch_jobs — returns structured job data only, no UIUI-rendering toolsDisplay a curated subset of already-processed datarender_jobs_widget — takes a list of job IDs and renders them as UI cards
This separation enables a workflow that would be impossible with a unified tool. Claude can call search_jobs dozens of times across different cities, filter results against user constraints, identify the top five highest-paying matches, and only then invoke render_jobs_widget with those five IDs. The model retains full visibility into the data throughout the exploration phase. The UI becomes a deliberate, final act of curation rather than an automatic side effect of the first search.
Mihalik’s data underscores the scale involved. In text-based MCP, without the constraint of UI rendering, Claude can perform 10 to 15 separate searches before hitting practical limits. A single search_jobs call can retrieve up to 100 jobs. The model can then filter that down to a curated handful for display. Mihalik used five jobs as the example of what should actually be rendered — a poor experience, he noted, is when Claude returns five jobs without links, leaving the user stuck in a chat environment with no path to action.
Tool descriptions, Mihalik noted, must be updated to enforce this pattern. The model needs to be told it must call a data tool first before it can call a render tool. The descriptions for render tools should specify where the data comes from and in what format it should be passed. Getting this right required significant iteration at Indeed — evaluation of tool descriptions was a major investment, particularly to get Claude to consistently include links in its responses.
Letting the Model Curate With Intent
The separation architecture opens a design space that Mihalik finds genuinely exciting. Because the model now selects which data to render and in what order, the render tool can accept more than just IDs. It can accept annotations that give the UI character and purpose.
“You could get really creative with your render tools to be able to give some extra care and character that the model can inject into those so that you’ve got a much better experience for the user,” Mihalik said.
His concrete proposal: extend render_jobs_widget to accept, for each job ID, a reason why the model selected it — a line the UI could display to the user, explaining in plain language why this particular job rose to the top. Similarly, the model could pass a highlight flag pointing to a specific section of a job description that it considers particularly relevant to the user’s query. Maybe it’s the salary range. Maybe it’s the remote work policy. Maybe it’s the specific technology stack that matches the user’s stated skills.
This turns the render tool into a vehicle for the model’s judgment. The UI stops feeling generated and starts feeling curated. The difference is subtle but profound: a list of five jobs is a search result; a list of five jobs with annotations explaining why each one matters is a recommendation.
Mihalik was careful to note this is a generalizable pattern, not a job-search peculiarity. E-commerce is the obvious parallel — a model could compare products across multiple retailers, then render a comparison card with its reasoning attached. Map-based applications could accept a list of addresses and render them as pins with contextual annotations about why each location was selected. Any domain where a model must explore data before presenting it benefits from the same split.
Why Data-First Design Matters
“Focus on the data before you focus on the UI… rendering is a side effect of that, or it’s a result of the model exploring the data,” Mihalik said. He recommended building two or three different search tools — each with a distinct purpose and search strategy — plus one render tool. That composability gives the model flexibility without overloading any single tool’s description.
The temptation, he acknowledged, is to treat MCP Apps as a delivery mechanism for HTML. The correct approach is to ask what data the model needs to explore and reason over. Rendering follows from that exploration. It does not drive it.
Indeed’s own implementation reflects this philosophy. The company’s MCP Apps and Apps SDK integration gives it control over branding and user experience within chat interfaces — apply buttons and detail modals that keep users inside the environment — while the model retains the exploratory freedom to find the right jobs before anything is displayed. That arrangement, Mihalik said, is a win-win for both companies.
The deeper lesson of the episode is that MCP Apps succeed to the degree that developers treat the model as a reasoning agent with genuine agency over the user experience, rather than as a trigger mechanism for pre-built UI components. Mihalik’s examples of failure — the model refusing to link out of the chat environment, the model stopping after one UI render — suggest that current-generation models have strong priors about how to behave in chat interfaces. Overriding those priors requires careful tool design, not just instruction. The architecture of data tools first, render tools second, with synchronized context throughout, is how that design takes shape. For teams building MCP Apps, the message is clear: the UI will only ever be as good as the data the model can see behind it, and the model will only ever be as capable as the tool surface allows it to be.