Skip to content

Analyze Allocations With an AI Agent

PlaidCloud’s MCP server exposes your allocation models to AI agents, so once an allocation has run you can ask about its results in plain English from an MCP-connected chat — Claude Code, Claude Desktop, Cursor, ChatGPT, or any MCP-compatible client. The agent reads your allocation model directly, so it already knows how each cost line is built and what drives it.

The most common question — compare two periods and explain the movement:

Why did the revenue-allocated cost line change from January to February?

The agent returns:

  • The size of the change — before, after, and the delta.
  • What drove it — whether the input cost pool grew or shrank, or the driver mix shifted.
  • The top contributors — the accounts, cost centres, or products that moved the most.

Narrow the same question to a single member to get a precise breakdown:

Explain just the Operations cost centre.

The agent separates the two effects — how much came from the overall pool moving versus the slice’s share of it changing. For example: Operations fell because the pool shrank, even though Operations took a larger share of it.

Where Values Come From, and What They Feed

Section titled “Where Values Come From, and What They Feed”

Trace an allocation’s lineage in either direction:

Where does this cost line come from?

What does the GL cost pool feed downstream?

The agent lists the upstream sources and drivers, or every downstream step the table feeds — across allocations and the transforms between them.

Is revenue used as a driver, and where?

The agent lists each step that uses the table as a driver — the basis for the split — versus an input, the values being spread.

Ask a forward-looking question:

If revenue rises by 1 million next quarter, which cost lines are affected?

The agent names the affected outputs and an estimated size for each.

What cost allocations are in this project?

The agent lists the allocation models and their final output tables — useful for orienting yourself in an unfamiliar model.

Each explanation comes with a quality signal:

  • Clean — the change was fully attributed to its drivers. This includes filtered allocations, those scoped to specific accounts: the filter is applied automatically, so the contributors are exactly the rows in scope.
  • Partial — the agent can show what changed and where — the totals and top contributors are correct — but cannot fully attribute the why on its own. It tells you why, and what to ask next.

When a result is partial, the guidance usually points you to the slice drill-down above, which gives a real decomposition for a single member.

  • Name the table and the period. “Why did cost_line_rev change from 2025-01 to 2025-02?” gets a sharper answer than “why did costs change?”.
  • Pick a real before and after period with a movement you can sanity-check.
  • If the agent analyzes the wrong table, name the project and table explicitly so it doesn’t have to guess.