Skip to main content
Glama

get_custom_applications

Retrieve custom application configurations from the MCP Server for Coroot to group instances by specific patterns, aiding in seamless monitoring and performance analysis. Requires a valid project ID.

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

  • MCP tool handler function decorated with @mcp.tool(), which registers the tool and defines its schema via the signature and docstring. Delegates to the implementation helper.
    @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]
  • Helper function that calls CorootClient.get_custom_applications and formats the response with success wrapper.
    @handle_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, }
  • CorootClient method that performs the actual HTTP GET request to retrieve custom applications configuration from the Coroot API.
    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

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