get_service_details
Retrieve detailed configuration and status information for Aiven cloud services to monitor performance and manage resources.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | ||
| service_name | Yes |
Implementation Reference
- mcp_aiven/mcp_server.py:45-50 (handler)The handler function for the 'get_service_details' tool. It is decorated with @mcp.tool(), which registers it with the MCP server, and implements the logic by logging the request and calling aiven_client.get_service to retrieve and return the service details.@mcp.tool() def get_service_details(project_name, service_name): logger.info("Fetching details for service: %s in project: %s", service_name, project_name) result = aiven_client.get_service(project=project_name, service=service_name) return result
- mcp_aiven/mcp_server.py:45-45 (registration)The @mcp.tool() decorator registers the get_service_details function as a tool in the FastMCP server.@mcp.tool()