Glama
Chat
MCP
Gateway
Models
Pricing
Community
Sign In
Chat
MCP
Gateway
Models
Pricing
Community
Sign In
Glama
MCP
Servers
Trino MCP Server
Claim
by
stinkgen
GitHub
Databases
Search
Research & Data
Python
MIT License
1
Reddit
Discord
Overview
Inspect
Schema
Related Servers
Reviews
Score
Need Help?
View Source Code
Report Issue
execute_query
Copy
Execute a SQL query against Trino. Args: sql: The SQL query to execute. catalog: Optional catalog name to use for the query. schema: Optional schema name to use for the query. Returns: Dict[str, Any]: Query results including metadata.
Input Schema
Name
Required
Description
Default
catalog
No
schema
No
sql
Yes
Input Schema (JSON Schema)
{ "properties": { "catalog": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Catalog" }, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Schema" }, "sql": { "title": "Sql", "type": "string" } }, "required": [ "sql" ], "title": "execute_queryArguments", "type": "object" }
Install Server
You must be
authenticated
.
Other Tools
cancel_query
execute_query
inspect_table