get_usage_statistics
Retrieve project Nova allocation-hours for a date range, with server, RAM, CPU, and disk breakdowns, and keep current compute, network, and storage snapshots separate from period data.
Instructions
Get current-project Nova allocation-hours and separate current snapshots.
Functions:
Show project usage statistics over a specified time period
Display servers, RAM MB-Hours, CPU Hours, and Disk GB-Hours
Provide detailed server usage breakdown when available
Keep current compute/network/storage snapshots separate from period data
Use for project usage reports. Period data comes from Nova simple tenant usage. It measures allocation-hours, not live utilization or monetary charges. Missing or denied usage API returns failure without synthetic fallback.
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_usage_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Exclusive end date at UTC midnight (YYYY-MM-DD; defaults to today) | |
| start_date | No | Inclusive start date at UTC midnight (YYYY-MM-DD; defaults to 30 days ago) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |