Client Costs and Margin
get_client_costsOrganization owner only. Per client workspace for one calendar month (UTC): AI credits used (refunds netted), that client's share of what the agency paid for its plan and credit packs, the agency's price to the client and the margin, and the work delivered (changes live, approvals, verified wins). Pass client to narrow to one client by name. Cost: FREE - reads stored ledgers, no AI credits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_client_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | YYYY-MM, UTC. Default: the current month. | |
| client | No | A client workspace name (or part of it). | |
| intent | No | Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||