Docs menu
All MCP tools
MCP tools · Agency
agency_get_usage
Minutes, calls and spend per client for one calendar month, with totals. format csv answers the same rows as CSV text the user can save. Read-only.
- Scope needed
- agency:read or agency:write
- Acts as
- You, the signed-in member, with your role's permissions.
- Changes data
- No, read only
- Held for approval
- No
- Available to
- Switched on per organization (agency tools, approved agencies only)
Inputs
| Name | Type | Description |
|---|---|---|
| org_id | string | Organization id. Optional when the user belongs to one organization; otherwise the error lists theirs. |
| month | string | Calendar month (UTC) as YYYY-MM. Default: this month. |
| client_id | string | The client_id (a UUID). |
| format | enum: json | csv | json (default) or csv. |