Urgent.News

What's breaking now, across hundreds of outlets.

Tech

MCP tools that can't leak your users' data: numbers and closed enums only

When you let ChatGPT or Claude call your app through the Model Context Protocol, every tool response leaves your service and lands in someone else's context window. The assistant may quote it, summarise it or keep it in a conversation you'll never see. We build Le Confidant , which analyses personal chats, so we treat our MCP tools as an export boundary , not as another API. This post shows the…

When using a Model Context Protocol to connect ChatGPT or Claude to your application, every response from the tools goes through an export boundary. This means the data leaves your service and may be quoted, summarized, or kept in conversation logs that you cannot access. The reporter explains the design rules for building MCP tools that prevent leaking users' data, using a support-chat analyzer as an example.

The analyzer reports on how a support team handles conversations, focusing on numbers, closed enums, and not returning any text. They never include names, messages, or any personal details in the exported data. The tool should only read stored results and return them, rather than performing new analysis, to avoid triggering model spend and obtaining fresh data views.

Access to the tools is restricted to the user's own permission level, and tokens are bound to a specific MCP URL to ensure only verified assistants can connect. Public tools that don't involve user data can be made public, but mixing data-accessing tools with public tools is prohibited. The output schema is a contract that must be designed carefully, with new information added as optional fields or new tools, and breaking changes treated as breaking changes to a public API.

The trade-off is that numbers-only tools are less impressive in a demo than tools that return ready-made summaries, but they prevent data leakage, making them the only version worthy of shipping for a product built on personal conversations.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Build a masked QA database from a production sample, from the command line

QA needs data that looks like production: the same keys, cities, credit limits and signup dates. It does not need real names, tax IDs, e-mails or phone numbers.

  • dbSlice tool used to create masked QA database
  • Sampling selects every 17th row from 10,000 records
  • Column-level masking applies specific transformations

Log the call after it ends, a Twilio voice agent to HubSpot and WhatsApp with Zapier

This article was drafted with AI help and reviewed by the author. When a team adds a phone agent, the CRM wish list arrives quickly. Log every call in HubSpot. Update the contact.

  • Voice agent logs call after it ends
  • Zapier processes Twilio data independently of call flow
  • Outcome options limited to booked, callback requested, not interested, wrong number

UX Writing vs. Technical Writing: What's the Difference?

A button says "Save changes." Two screens later, a help article says, "To save your changes, select the Save changes button in the top right corner of the page." Same product. Same action.

  • UX writing focuses on product experience elements like button labels and error messages.
  • Technical writing provides detailed documentation and guides for product use.
  • UX writing targets engaged users, while technical writing serves users seeking information.

More from Saturday, 28 November 2026 →