> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP connection tools

> Read, create, and delete a connection's schema refresh schedules from an MCP client.

Tools used to read, create, and delete a connection's [schema refresh schedules](https://docs.omni.co/modeling/develop/schema-refreshes.md#on-a-schedule).

The schedule tools take a connection ID. To find it, use [`getWhoami`](https://docs.omni.co/ai/mcp/tools/whoami#get-whoami). Each model in its `rolesByModel` result includes the `connectionId` of the model's connection.

For example, you could ask *"Refresh the schema of my Snowflake connection every day at 2 AM Eastern time."* The `createConnectionSchedule` tool creates a schedule with the cron expression `00 02 * * ? *` and the timezone `America/New_York`.

## Read tools

> [accordion] listConnectionSchedules
>
> Lists a connection's schema refresh schedules
>
> > [!NOTE]
> >
> > You must have **Connection Admin** permissions to use this tool.
>
> Lists a connection's schema refresh schedules, using the [List schema refresh schedules API](https://docs.omni.co/api/schema-refresh-schedules/list-schema-refresh-schedules.md).

> [accordion] getConnectionSchedule
>
> Reads one schema refresh schedule
>
> > [!NOTE]
> >
> > You must have **Connection Admin** permissions to use this tool.
>
> Reads one schema refresh schedule by its ID, using the [Get schema refresh schedule API](https://docs.omni.co/api/schema-refresh-schedules/get-schema-refresh-schedule.md).

## Write tools

> [accordion] createConnectionSchedule
>
> Creates a schema refresh schedule
>
> > [!NOTE]
> >
> > You must have **Connection Admin** permissions to use this tool. Your MCP client must also support confirmation forms.
>
> Creates a schema refresh schedule for a connection, using the [Create schema refresh schedule API](https://docs.omni.co/api/schema-refresh-schedules/create-schema-refresh-schedule.md). Each call adds a schedule, so use [`listConnectionSchedules`](#list-connection-schedules) to see the connection's current schedules first.

> [accordion] deleteConnectionSchedule
>
> Permanently deletes a schema refresh schedule
>
> > [!NOTE]
> >
> > You must have **Connection Admin** permissions to use this tool. Your MCP client must also support confirmation forms.
>
> Permanently deletes a schema refresh schedule, using the [Delete schema refresh schedule API](https://docs.omni.co/api/schema-refresh-schedules/delete-schema-refresh-schedule.md). The tool asks you to confirm before it runs.

## Related

* [MCP server tools](https://docs.omni.co/ai/mcp/tools) - See every tool group and the settings each requires
* [Omni MCP settings](https://docs.omni.co/ai/settings/mcp.md) - Turn groups of tools on or off for your organization
