Expenses#

See how an AI assistant can help with expenses in Brandwave, including example prompts and the details it may ask for.

Using your AI assistant

Connect to the Brandwave MCP server, then ask your AI assistant in natural language. It will choose the right Brandwave task and ask for any details it needs.

List expenses#

List manual expense records and read-only provider-reported advertising spend across Activities. Provenance distinguishes editable expenses from retained platform measurements. Sort the combined ledger before pagination.

Tool name: list_expenses. Protocol hints: readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=false.

Example prompt#

text
List all expenses in my workspace.

Details to provide#

NameTypeRequiredDescription
pageIndexintegerRequiredZero-based page index for pagination.
pageSizeintegerRequiredNumber of items per page (1-100).
workspaceIdstring (UUID)RequiredWorkspace identifier.
activityIdstring (UUID)—Filter by activity identifier.
creatorIdstring (UUID)—Filter by creator identifier.
campaignIdstring (UUID)—Filter by campaign identifier.
searchTermstring—Search expense category, description, or activity name.
categoryIdstring (UUID)—Filter by expense category identifier.
sortBy'amount' | 'createdAt'—Expense field to sort by.
sortDirection'asc' | 'desc'—Sort direction: ascending or descending.

What you'll get back#

Returns { items, totalCount, facets, _meta } with paginated results.

Count expenses#

Count the manual expense and provider-reported spend records shown in the Spend ledger, with optional Activity, creator, or Campaign filters.

Tool name: count_expenses. Protocol hints: readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=false.

Example prompt#

text
How many expenses do I have?

Details to provide#

NameTypeRequiredDescription
workspaceIdstring (UUID)RequiredWorkspace identifier.
activityIdstring (UUID)—Filter by activity identifier.
creatorIdstring (UUID)—Filter by creator identifier.
campaignIdstring (UUID)—Filter by campaign identifier.

What you'll get back#

Returns { count, _meta }.

Get spend stats#

Aggregate total spend, spend coverage, non-campaign spend, and largest category using the active spend filters.

Tool name: get_spend_stats. Protocol hints: readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=false.

Example prompt#

text
Show me the details for this spend stats.

Details to provide#

NameTypeRequiredDescription
workspaceIdstring (UUID)RequiredWorkspace identifier.
activityIdstring (UUID)—Unique identifier (UUID v4).
creatorIdstring (UUID)—Unique identifier (UUID v4).
campaignIdstring (UUID)—Unique identifier (UUID v4).
searchTermstring—
categoryIdstring (UUID)—Unique identifier (UUID v4).

What you'll get back#

Returns { data, _meta } with the result.