Skip to main content
Glama

get_cluster_stats

Retrieve storage tier statistics for VergeOS virtualization clusters to monitor capacity and performance across different storage levels.

Instructions

Get cluster tier statistics (storage tiers)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function in VergeOSAPI class that executes the tool logic by requesting cluster tier stats from the VergeOS API endpoint /api/v4/cluster_tier_stats.
    async getClusterStats() { return this.request("/api/v4/cluster_tier_stats"); }
  • The tool schema definition in the TOOLS array, specifying name, description, and empty input schema (no parameters required).
    name: "get_cluster_stats", description: "Get cluster tier statistics (storage tiers)", inputSchema: { type: "object", properties: {}, }, },
  • src/index.js:596-598 (registration)
    The switch case in the MCP CallToolRequestHandler that registers and routes calls to the get_cluster_stats tool to the api.getClusterStats() handler.
    case "get_cluster_stats": result = await api.getClusterStats(); break;
  • Identical handler implementation in the HTTP server variant's VergeOSAPI class.
    async getClusterStats() { return this.request("/api/v4/cluster_tier_stats"); }
  • Handler in the MCP HTTP+SSE server's VergeOSAPI class, same API request logic.
    async getClusterStats() { return this.request("/api/v4/cluster_tier_stats"); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dvvincent/vergeos-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server