MCP tool
get_billing_statement
Get the transparent JSON statement for one calendar month: media spend and per-campaign/channel platform fees, the scale-tier SaaS charge when applicable, and AI asset production as a separate hard-charge section. Amounts are integer GBP minor units. Use this for reconciliation; this tool does not return the CSV download variant.
Input
Pass fields from this schema as the tool arguments. Runtime ownership, product scope and readiness checks still apply.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"period": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}$",
"description": "statement month, YYYY-MM"
}
},
"required": [
"period"
]
}REST mapping and authority
The tool wraps this REST endpoint. The mapping identifies path/query/body transformations and approval or idempotency headers.
{
"method": "GET",
"path": "/api/v1/billing/statements",
"pathFields": [],
"pathSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"pathEncoding": "encodeURIComponent for each path field",
"governedAction": null,
"headers": {},
"querySchema": {
"type": "object",
"properties": {
"period": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}$",
"description": "statement month, YYYY-MM"
}
},
"additionalProperties": false,
"required": [
"period"
]
},
"queryEncoding": "URLSearchParams; omit undefined fields, stringify supplied values",
"queryConstants": {
"format": "json"
},
"responseMapping": "REST JSON is returned as MCP structuredContent and a compatibility text block; privacy-sensitive tools validate their output schema."
}Output
This is the registered MCP output envelope. Nested fields are only modeled where the schema explicitly defines them.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"statement": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"statement"
],
"additionalProperties": {}
}Safety annotations
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": false
}Annotations help a client present the tool. The API independently enforces authorization and exact action approvals. Error and retry guidance →