Skip to main content
Glama

list_tenants

Retrieve a list of all tenants in the VergeOS virtualization platform to manage tenant administration and monitor cluster resources.

Instructions

List all tenants in VergeOS

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function in the VergeOSAPI class that implements the list_tenants tool by making an API request to fetch tenants from VergeOS.
    async listTenants() { return this.request("/api/v4/tenants?fields=most"); }
  • The tool schema definition for list_tenants, including name, description, and empty input schema (no parameters required). Used for tool listing and validation.
    { name: "list_tenants", description: "List all tenants in VergeOS", inputSchema: { type: "object", properties: {}, }, },
  • src/index.js:576-577 (registration)
    The dispatch/registration in the CallToolRequestSchema handler where list_tenants tool calls are routed to the api.listTenants() implementation.
    case "list_tenants": result = await api.listTenants();
  • Identical handler implementation in the HTTP server variant of the MCP server.
    async listTenants() { return this.request("/api/v4/tenants?fields=most"); }
  • Handler in the advanced MCP HTTP+SSE server variant.
    async listTenants() { return this.request("/api/v4/tenants?fields=most"); }

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