# How a local diagnosis uses your tools

Before you give your AI client a production credential, learn what a local diagnosis reads, who receives each answer, and what limits a write.

This guide is about a diagnosis that runs in your AI client. A Cloud diagnosis works differently: see [What Tellagen receives in a Cloud diagnosis](https://tellagen.com/help/what-tellagen-receives-in-a-cloud-diagnosis).

## Before you start

### Intended audience

Responders and security reviewers who decide what an AI client may read.

### Required permissions

Anyone can read this guide.


## Procedure

<a id="step-what-runs-on-your-computer"></a>

1. **See what runs on your computer.** Your AI client and each tool server run on your computer, as you, with the credentials in your client config. Grafana, your cluster and GitHub answer the tool server under that credential. Tellagen isn't in this path and holds none of these credentials.

   One exception: if your workspace connected GitHub, Tellagen reads a GitHub link you pasted for the run with its own GitHub App, and gives your client a short summary of it.

<a id="step-what-your-model-provider-receives"></a>

2. **Know what your model provider gets.** Your model provider gets every tool answer in full, because the model reads it: series, log lines, pod specs and diffs. It also gets what the run starts with, such as the incident, your screenshots and the text of a Slack thread.

   This is the largest exposure, and Tellagen can't filter it. The scope of the credential and the read-only mode of the tool server are what limit it. Your provider's terms for your client account apply.

<a id="step-what-tellagen-receives"></a>

3. **Know what Tellagen gets.** Tellagen gets what your client posts: the steps of the run, findings with their evidence, causes, figures and screenshots. It never gets a credential.

   With the Tellagen plugin for Claude, each Grafana, GitHub, `kubectl` and `gh` call is also recorded as a step by itself: the query or command with tokens masked, the time range, and the first 300 characters of the result.

   Your client also sends its name, its version, your computer's name, its model, and a report that says for each tool whether it was found.

<a id="step-what-tellagen-removes"></a>

4. **Know what Tellagen removes before it stores.** In the steps of a run, Tellagen replaces the value of a key named like a secret, such as `token`, `password`, `authorization`, `cookie` or a key that ends in `_token`, `_secret` or `_password`. In commands, link labels and log lines it also replaces text shaped like a credential, such as a bearer token. Links lose their user info and secret query parameters.

   The text of a finding's claim and its evidence summary isn't scanned. Screenshots are deleted after 30 days.

<a id="step-what-is-not-covered"></a>

5. **Remove a secret that got through.** If a secret shows up in a finding, select the text on the incident and choose Mask in the menu that opens. Then narrow the credential so the tool can't read it again, and rotate the secret. See [Mask and remove sensitive data](https://tellagen.com/help/mask-and-remove-sensitive-data).

## What happens next

- Pick a read-only credential for each tool. Start at [Add an evidence tool to your client](https://tellagen.com/help/add-an-evidence-tool).

## FAQs

<a id="troubleshooting-can-i-stop-the-plugin-from-recording-each-tool-call"></a>

### Can I stop the plugin from recording each tool call?

Yes. Turn off the plugin option "Record steps of a diagnosis", or set `TELLAGEN_RECORD_STEPS=0` for your client. The run then holds only what the model posts.

<a id="troubleshooting-is-a-big-tool-answer-stored-whole"></a>

### Is a big tool answer stored whole?

It depends on who posts it. A step that the plugin records keeps at most 16 KiB of input and of result, and a run keeps at most 200 such steps. A step the model posts is stored whole, after the secret-named keys are replaced.

<a id="troubleshooting-does-the-tool-report-hold-paths-or-values"></a>

### Does the tool report hold paths or values?

The Tellagen MCP server reports only tool names and fixed status words. Tellagen stores a short detail for each tool as the client sends it, so another client could put more in it.

## Related articles

- **Recommended next task:** [Add an evidence tool to your client](https://tellagen.com/help/add-an-evidence-tool)
- [Set up Diagnosis in Codex or Claude](https://tellagen.com/help/set-up-diagnosis)
- [What Tellagen receives in a Cloud diagnosis](https://tellagen.com/help/what-tellagen-receives-in-a-cloud-diagnosis)
- [Mask and remove sensitive data](https://tellagen.com/help/mask-and-remove-sensitive-data)


## Continue through the incident lifecycle

- **Previous task:** [Add an evidence tool to your client](https://tellagen.com/help/add-an-evidence-tool)
- **Next task:** [Add Grafana to a local diagnosis](https://tellagen.com/help/add-grafana-to-a-local-diagnosis)
- [Back to Support Center](https://tellagen.com/help#help-search)

## Updated

2026-11-25
