Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| POLYTOMIC_API_KEY | Yes | Your Polytomic API key (Bearer token) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_connection_types | List all available connection types (connectors) in Polytomic. |
| list_connections | List all data connections in Polytomic. |
| get_connection | Get details for a specific connection. Args: id: The connection ID |
| create_connection | Create a new data connection in Polytomic. Args: name: Name for the connection type: Connection type (e.g. 'postgresql', 'salesforce', 'snowflake') configuration: JSON string with connection config (varies by type) |
| update_connection | Update an existing connection in Polytomic. Args: id: The connection ID to update name: Optional new name for the connection configuration: Optional JSON string with connection config |
| delete_connection | Delete a connection from Polytomic. Args: id: The connection ID to delete |
| list_models | List all data models in Polytomic. |
| get_model | Get details and fields for a specific model. Args: id: The model ID |
| create_model | Create a new data model in Polytomic. Args: name: Name for the model connection_id: The connection ID this model uses configuration: JSON string with model config (e.g. {"query": "SELECT * FROM users"} or {"table": "users"}) identifier: Optional field name to use as unique identifier tracking_columns: Optional JSON array of column names for change tracking |
| update_model | Update an existing data model in Polytomic. Args: id: The model ID to update name: Optional new name for the model configuration: Optional JSON string with model config (e.g. {"query": "SELECT * FROM users"}) identifier: Optional field name to use as unique identifier tracking_columns: Optional JSON array of column names for change tracking |
| delete_model | Delete a model from Polytomic. Args: id: The model ID to delete |
| list_syncs | List all model syncs in Polytomic. |
| get_sync | Get details for a specific sync. Args: id: The sync ID |
| create_sync | Create a new model sync (reverse ETL) in Polytomic. Args: name: Name for the sync mode: Sync mode ('create', 'update', 'updateOrCreate', 'replace', 'append') target: JSON string with target config {"connection_id": "...", "object": "...", "configuration": {...}} fields: JSON array of field mappings [{"source": {"field": "...", "model_id": "..."}, "target": "..."}] identity: Optional JSON for identity mapping (required for update modes) schedule: Optional JSON for schedule {"frequency": "manual|hourly|daily|weekly|monthly", ...} filters: Optional JSON array of filters filter_logic: Optional filter logic string (e.g. "A AND B") |
| update_sync | Update an existing sync in Polytomic. Args: id: The sync ID to update name: Optional new name mode: Optional sync mode fields: Optional JSON array of field mappings identity: Optional JSON for identity mapping schedule: Optional JSON for schedule filters: Optional JSON array of filters filter_logic: Optional filter logic string active: Optional boolean to enable/disable sync |
| delete_sync | Delete a sync from Polytomic. Args: id: The sync ID to delete |
| activate_sync | Activate (enable) a sync. Args: id: The sync ID to activate |
| trigger_sync | Manually trigger a sync to run. Args: id: The sync ID to trigger |
| get_sync_status | Get the current status of a sync. Args: id: The sync ID |
| list_sync_executions | List execution history for a sync. Args: id: The sync ID limit: Maximum number of executions to return (default 10) |
| get_sync_execution | Get details for a specific sync execution. Args: sync_id: The sync ID execution_id: The execution ID |
| list_bulk_syncs | List all bulk syncs in Polytomic. |
| get_bulk_sync | Get details for a specific bulk sync. Args: id: The bulk sync ID |
| create_bulk_sync | Create a new bulk sync (ELT) in Polytomic. Args: name: Name for the bulk sync source_connection_id: Source connection ID dest_connection_id: Destination connection ID destination_configuration: JSON string with destination config (e.g. {"schema": "public"}) schedule: Optional JSON for schedule source_configuration: Optional JSON string with source-specific config |
| update_bulk_sync | Update an existing bulk sync in Polytomic. Args: id: The bulk sync ID to update name: Optional new name schedule: Optional JSON for schedule destination_configuration: Optional JSON string with destination config source_configuration: Optional JSON string with source config |
| delete_bulk_sync | Delete a bulk sync from Polytomic. Args: id: The bulk sync ID to delete |
| activate_bulk_sync | Activate or deactivate a bulk sync. Args: id: The bulk sync ID active: True to activate, False to deactivate |
| trigger_bulk_sync | Manually trigger a bulk sync to run. Args: id: The bulk sync ID to trigger |
| get_bulk_sync_status | Get the current status of a bulk sync. Args: id: The bulk sync ID |
| list_bulk_sync_executions | List execution history for a bulk sync. Args: id: The bulk sync ID limit: Maximum number of executions to return (default 10) |
| get_bulk_sync_schemas | Get available schemas/tables for a bulk sync. Args: id: The bulk sync ID |
| update_bulk_sync_schemas | Update which schemas/tables are enabled for a bulk sync. Args: id: The bulk sync ID schemas: JSON array of schema configurations |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |