> For the complete documentation index, see [llms.txt](https://docs.kick.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kick.co/ai/mcp/mcp-use-case-library/investigation.md).

# Investigation

MCP prompts for investigating changes: audit recent activity, explain a categorization, drill into a report surprise, and unwind a batch update.

Use these prompts when a number looks wrong or something changed unexpectedly. Inspect first; the only write here is reverting a batch, and it stops at a preview.

### Walkthrough

<details>

<summary><strong>Activity Audit</strong></summary>

Inspect recent workspace activity before approving close, investigating unexpected changes, or deciding whether to unwind a batch update. The model can summarize who changed what, when it happened, and which edits deserve a closer look.

{% embed url="<https://player.mux.com/3D7qws02Gd3FmhcF6gpTMOj00W401wuSWMy65xWexe8R02E>" %}

</details>

### Prompts

<details>

<summary><strong>Inspect activity before changing anything</strong> <em>(read-only)</em></summary>

{% code overflow="wrap" %}

```
Show recent activity related to transaction category changes. Summarize who made the changes, when they happened, and whether any batch looks worth reviewing before close.
```

{% endcode %}

Use this before approving a close, reviewing a catch-up file, or investigating unexpected report changes.

</details>

<details>

<summary><strong>Unwind a change after review</strong> <em>(writes to Kick, multi-step)</em></summary>

When activity inspection turns up a batch you want to roll back, ask for a preview before reverting:

{% code overflow="wrap" %}

```
Pull the activity log for the bulk update on Jan 12 that touched 84 transactions. Show what changed for each: the before and after state. Then prepare to revert that batch and stop before applying. I will confirm.
```

{% endcode %}

For a single transaction:

{% code overflow="wrap" %}

```
Show the full edit history for transaction 4821. List every change with the user, timestamp, and the previous and new values for each field.
```

{% endcode %}

</details>

<details>

<summary><strong>Why did Kick categorize this?</strong> <em>(read-only)</em></summary>

{% code overflow="wrap" %}

```
For transaction 4821, explain how it got its current category, class, and counterparty. Check applied rules, similar transactions, and recent edits. List what would change if I recategorized it to Office Supplies.
```

{% endcode %}

</details>

<details>

<summary><strong>Account drill-down after a report surprise</strong> <em>(read-only)</em></summary>

{% code overflow="wrap" %}

```
P&L shows Software Subscriptions up 60% month over month. Pull account transactions for January 2026, group by counterparty, identify the three largest drivers, and for each tell me whether it came from a bank import, a rule, or a manual JE.
```

{% endcode %}

For a packaged one-page write-up, see [Report-surprise investigation artifact](https://docs.kick.co/ai/mcp/mcp-use-case-library/routines-and-artifacts.md).

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kick.co/ai/mcp/mcp-use-case-library/investigation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
