Skip to content

What MCP Tool-Call Traces Reveal About the User

THE ARGUMENT

MCP tool-call traces work as a behavioral side channel: without any chat text, arguments, returned results and cross-session linking lift profile inference from 17.97% to 26.25%, and the gap between those two numbers is what the log actually contributes.

On this page

26.25% against 17.97% is an 8.28-point gap, but both numbers come from the same pile of tool logs. Not one word of user conversation sits in those logs, only tool names, arguments and returned results.

No conversation is stored. Why does it still leak

The setup is simple. An agent runs on a protocol like MCP, calls tools, and leaves a trace; an observer sees the calls and nothing else. PrivacyTrace, the benchmark behind those two numbers, lines up 1,000 synthetic profiles, 4,000 agent trajectories and real tools from 25 servers, then asks whether what you leave behind is enough to rebuild who you are.

Most people read a trace like this and conclude it is safe. The reasoning sounds solid: MCP carries structured tool calls, the chat between user and model never enters the log, and with no chat text there is nothing to profile. That argument works for text leakage. It also smuggles in a premise, namely that a profile can only be read off text.

The premise is wrong. Arguments are text. The city you typed into a parameter, the date range you picked, the path of the file you opened — that is a first-person statement about you, just not written as a sentence.

The paper is strict about what the observer gets: protocol-valid tool interactions only, no access to user conversations.[1] Under that ceiling, four mainstream LLMs ran as attackers, and profile inference climbed from 17.97% to 26.25%. No chat archive, no screen capture; just which tool was called, what was passed in, and what came back.

A single trace looks harmless, because it says only that you checked an exchange rate one afternoon, opened a file, hit a calendar endpoint, and moved on.

Merge the same logs by session, align them by user, and the fragments start to talk: frequency, time of day, the order in which tools get called. None of that appears in a conversation, and all of it survives in the trace.

Put 1,000 and 4,000 on the table

The scale splits cleanly. PrivacyTrace holds 1,000 synthetic user profiles, 4,000 agent trajectories, four domains, and real MCP tools from 25 servers.[1] That works out to four trajectories per profile, 1,000 per domain, and 40 profiles per server. Modest, but enough for cross-session linking to have material to work with.

The pair of percentages is what matters. The same traces yield 17.97% under prior-based guessing and 26.25% with four mainstream LLMs as attackers. That is 8.28 points, or about 1.46 times the baseline.

Number in the paperArithmeticResult
1,000 profiles / 4,000 trajectories4,000 ÷ 1,0004 trajectories per profile
4,000 trajectories / 4 domains4,000 ÷ 41,000 per domain
1,000 profiles / 25 servers1,000 ÷ 2540 profiles per server
26.25% vs 17.97%26.25 − 17.978.28 points higher
26.25% vs 17.97%26.25 ÷ 17.97about 1.46 times

Every division in that table is mine, not the paper's; the paper supplies 1,000, 4,000, four domains, 25 servers, 26.25% and 17.97%.[1] The arithmetic earns its place for one reason: it shows how narrow each slice is. Four domains and 25 servers mean 40 profiles per server, so 26.25% is an average across task types, not a ceiling for any single one.

Read 26.25% in two halves. One half is modest: at 1 ÷ 0.2625, roughly three of every four attempts fail. The other half should not be waved off, because 17.97% is not zero. It is what you get by looking at nothing and guessing from the population, so the extra 8.28 points is produced by the traces themselves. Both readings hold at once, and that is the real weight of the result.

The signal sits in arguments and results

The further analysis names the evidence. Tool arguments and returned results carry most of the trace-grounded signal, and linking traces across sessions amplifies the risk again.[1] Together, those two sentences move the question away from which tool was called and toward what was passed in and what came back.

What the paper observesWhich layerWhy hiding tool names fails
Arguments are the main evidenceRequest bodyNames stay, arguments still leak
Results are the main evidence tooResponse bodyHalf the leak survives
Cross-session linking amplifies riskBetween sessionsOne record looks clean, the log does not

Those three rows are not three bugs. They are one problem at three layers: entry at the arguments, exit at the results, amplifier in time. Patch one layer and the other two put the signal back. So when a vendor says the system logs only tool names and latency, do not relax yet. That may mean no risk. It may also mean observability and risk were switched off together.

  • Open the log schema and look for the fields that hold request arguments and returned results, rather than starting with whether logging is on;
  • Infer profiles once with sessions kept apart and once with sessions linked, and read the difference as the real price of the feature;
  • Check which side the sanitizer covers. A policy that says redacted but not what was redacted says nothing.

Five questions before you approve a logging design

  1. Read the fields, not the toggle. Open the logging config and confirm whether request arguments and returned results are written to disk. If only tool names and latency are captured, the risk in this paper is not yours, but neither is much of the observability.
  2. Split sessions and compare. Infer profiles from one session at a time, then link sessions and infer again, and measure how far the rate moves. The paper says linking amplifies the risk; your own data can say by how much.[1]
  3. Ask for both numbers. Any claim that the logs are already sanitized should come with an attack success rate and a prior baseline. Report 26.25% without 17.97% and the figure carries no meaning.
  4. Sanitize arguments and results first. Tool names can stay. Identity clues inside arguments and third-party content inside returned results are the two evidence sources the paper names, so they go first.
  5. Treat retention as a multiplier. The longer the log lives, the more sessions can be linked, and a clean single record does not stop that.

The third item gets dismissed as paperwork. A success rate without a baseline leaves the reader unable to judge whether it is high or low: 17.97% means blind guessing already lands close to one in five, and 26.25% means 8.28 points on top of that. Drop either number and the discussion slides to one of two poles, either this sounds terrifying or it is only a quarter.

The fourth item is often read backwards. Teams reach for the tool name first, because names are easy to recognize and easy to list. The paper puts the main evidence in arguments and results, where the tool name is only an index. Hiding the index makes the log less useful, and leaves the evidence sitting in the request body.

Where this stops holding, and my judgment

First limit: the profiles are synthetic. With 1,000 synthetic profiles across four predefined domains, real user attributes are more skewed, dirtier and more overlapping. The 26.25% does not transfer to your own user base; treat it as a scale reference.

Second limit: the observer is confined to protocol-valid tool interactions. If an attacker also holds accounts, devices or other sources, the number does not apply, because it measures what the trace alone reveals, not what the trace plus other leaks reveals. This breaks down when your logs are already tied to an identity system, and in that case 26.25% understates the risk.

Third limit: 26.25% averages four domains. If your agent calls one tool in one session, the average is worth less. If it runs across 25 servers the way the benchmark does, the average may be conservative.

So the one thing to do now: open the logging config and check whether request arguments and returned results reach disk. If they do, run the five checks above and rank them. If they do not, do not celebrate yet, because you also have no idea how much of you has already been inferred.

References

  1. How Much Can Tool Calls Reveal About You? Privacy Leakage from Tool-Call Traces

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…