Skip to main content
Glama

get_connection

Retrieve configuration details and metadata for a specific data connection in the Polytomic platform to manage data pipelines and synchronization tasks.

Instructions

Get details for a specific connection.

Args: id: The connection ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The get_connection function serves as an MCP tool handler for retrieving connection details by its ID. It uses the polytomic_request helper function to perform an authenticated GET request to the Polytomic API.
    @mcp.tool()
    async def get_connection(id: str) -> str:
        """Get details for a specific connection.
    
        Args:
            id: The connection ID
        """
        result = await polytomic_request(f"/connections/{id}")
        return json.dumps(result, indent=2)

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/therevenueengineer/polytomic-mcp'

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