Skip to main content
Glama

list_inspections

Retrieve all available inspection types and configurations for a Coroot project, including CPU, memory, SLO, and health checks.

Instructions

List all available inspections for a project.

Returns a list of all inspection types and their configurations including CPU, memory, SLO, and other health checks.

Args: project_id: Project ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • Core handler that fetches inspections using the Coroot client and returns formatted response.
    async def list_inspections_impl(project_id: str) -> dict[str, Any]: """List all available inspections.""" inspections = await get_client().list_inspections(project_id) return { "success": True, "inspections": inspections, }
  • MCP tool registration via @mcp.tool() decorator with docstring defining the tool schema (inputs/outputs).
    @mcp.tool() async def list_inspections(project_id: str) -> dict[str, Any]: """List all available inspections for a project. Returns a list of all inspection types and their configurations including CPU, memory, SLO, and other health checks. Args: project_id: Project ID """ return await list_inspections_impl(project_id) # type: ignore[no-any-return]
  • CorootClient helper method that performs the HTTP request to retrieve inspections from the Coroot API.
    async def list_inspections(self, project_id: str) -> dict[str, Any]: """List all available inspections for a project. Args: project_id: Project ID. Returns: Dictionary of inspection configurations. """ response = await self._request("GET", f"/api/project/{project_id}/inspections") data: dict[str, Any] = response.json() return data

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