Skip to main content
Glama

Doris MCP Server

Official
by apache

exec_query

Execute SQL queries on Apache Doris databases via the Doris MCP Server. Specify SQL statements, target database, row limits, and timeout settings for precise query handling and result retrieval.

Instructions

[Function Description]: Execute SQL query and return result command (executed by the client).

[Parameter Content]:

  • sql (string) [Required] - SQL statement to execute
  • db_name (string) [Optional] - Target database name, defaults to the current database
  • max_rows (integer) [Optional] - Maximum number of rows to return, default 100
  • timeout (integer) [Optional] - Query timeout in seconds, default 30

Input Schema

NameRequiredDescriptionDefault
db_nameNo
max_rowsNo
sqlYes
timeoutNo

Input Schema (JSON Schema)

{ "properties": { "db_name": { "default": null, "title": "Db Name", "type": "string" }, "max_rows": { "default": 100, "title": "Max Rows", "type": "integer" }, "sql": { "title": "Sql", "type": "string" }, "timeout": { "default": 30, "title": "Timeout", "type": "integer" } }, "required": [ "sql" ], "title": "exec_query_toolArguments", "type": "object" }

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/apache/doris-mcp-server'

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