execute_dql

Execute a Dynatrace Query Language (DQL) statement against Grail and return the result records.

Server Dynatrace SaaS MCP Server mnmozi/dynatrace-mcp-saas
Category Execute
Risk class High
Parameters 00 required

What execute_dql does on Dynatrace SaaS MCP Server

AI agents invoke execute_dql to trigger actions in Dynatrace SaaS MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

Why execute_dql needs a policy

While DQL is primarily a read-oriented query language for observability data, the 'execute' verb and ability to run arbitrary statements means an agent could craft queries with side effects or information exfiltration.

From the tool's definition Tool executes 'Dynatrace Query Language (DQL) statement' against Grail database. The term 'execute' combined with arbitrary query language execution indicates runtime code/query execution with effects dependent on the query content.

Questions about execute_dql

What does the execute_dql tool do? +

Execute a Dynatrace Query Language (DQL) statement against Grail and return the result records. It is categorised as a Execute tool in the Dynatrace SaaS MCP Server MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on execute_dql? +

Register the Dynatrace SaaS MCP Server MCP server in PolicyLayer and add a rule for execute_dql: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dynatrace SaaS MCP Server. Nothing to install.

What risk level is execute_dql? +

execute_dql is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit execute_dql? +

Yes. Add a rate_limit block to the execute_dql rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block execute_dql completely? +

Set action: deny in the PolicyLayer policy for execute_dql. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides execute_dql? +

execute_dql is provided by the Dynatrace SaaS MCP Server MCP server (mnmozi/dynatrace-mcp-saas). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.