Skip to main content
Glama

Trino MCP Server

by stinkgen

cancel_query

Terminate a running query in Trino MCP Server by specifying its query ID. This tool ensures efficient resource management by stopping unnecessary or long-running queries.

Instructions

Cancel a running query. Args: query_id: ID of the query to cancel. Returns: Dict[str, Any]: Result of the cancellation operation.

Input Schema

NameRequiredDescriptionDefault
query_idYes

Input Schema (JSON Schema)

{ "properties": { "query_id": { "title": "Query Id", "type": "string" } }, "required": [ "query_id" ], "title": "cancel_queryArguments", "type": "object" }

You must be authenticated.

Other Tools from Trino MCP Server

Related Tools

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/stinkgen/trino_mcp'

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