Skip to main content
Glama

get_nodes_overview

Monitor infrastructure node health, resource usage, running containers, and system metrics to identify performance issues and optimize resource allocation.

Instructions

Get overview of infrastructure nodes.

Returns information about all nodes in the infrastructure:

  • Node health and status

  • Resource utilization

  • Running containers

  • System metrics

Args: project_id: Project ID query: Search/filter query (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
queryNo

Implementation Reference

  • Primary MCP tool handler: the @mcp.tool()-decorated function that executes the tool logic by delegating to the implementation wrapper and ultimately to the CorootClient.
    @mcp.tool() async def get_nodes_overview( project_id: str, query: str | None = None, ) -> dict[str, Any]: """Get overview of infrastructure nodes. Returns information about all nodes in the infrastructure: - Node health and status - Resource utilization - Running containers - System metrics Args: project_id: Project ID query: Search/filter query (optional) """ return await get_nodes_overview_impl(project_id, query) # type: ignore[no-any-return]
  • Helper method in CorootClient that performs the actual HTTP API request to retrieve nodes overview data from the Coroot server.
    async def get_nodes_overview( self, project_id: str, query: str | None = None, ) -> dict[str, Any]: """Get infrastructure nodes overview. Args: project_id: Project ID. query: Search/filter query. Returns: Nodes overview data. """ params = {} if query: params["query"] = query response = await self._request( "GET", f"/api/project/{project_id}/overview/nodes", params=params, ) data: dict[str, Any] = response.json() return data
  • Internal implementation wrapper that calls the CorootClient method and formats the response with success indicator.
    @handle_errors async def get_nodes_overview_impl( project_id: str, query: str | None = None, ) -> dict[str, Any]: """Get nodes overview.""" overview = await get_client().get_nodes_overview(project_id, query) return { "success": True, "overview": overview, }
  • FastMCP tool registration decorator applied to the handler function.
    @mcp.tool()

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/jamesbrink/mcp-coroot'

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