Skip to main content
Glama

get_custom_applications

Retrieve custom application configurations from Coroot to group instances using defined patterns for monitoring and observability purposes.

Instructions

Get custom applications configuration.

Returns the list of custom application definitions that group instances by patterns.

Args: project_id: Project ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • Core handler implementation that performs the HTTP GET request to the Coroot API endpoint /api/project/{project_id}/custom_applications to fetch custom applications configuration.
    async def get_custom_applications(self, project_id: str) -> dict[str, Any]: """Get custom applications configuration. Args: project_id: Project ID. Returns: Custom applications. """ response = await self._request( "GET", f"/api/project/{project_id}/custom_applications" ) data: dict[str, Any] = response.json() return data
  • MCP server handler wrapper that calls the client method, adds success wrapper, and handles errors.
    async def get_custom_applications_impl(project_id: str) -> dict[str, Any]: """Get custom applications.""" applications = await get_client().get_custom_applications(project_id) return { "success": True, "applications": applications, }
  • MCP tool registration using @mcp.tool() decorator, which exposes the function as the 'get_custom_applications' tool.
    @mcp.tool() async def get_custom_applications(project_id: str) -> dict[str, Any]: """Get custom applications configuration. Returns the list of custom application definitions that group instances by patterns. Args: project_id: Project ID """ return await get_custom_applications_impl(project_id) # type: ignore[no-any-return]

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