Skip to main content
Glama
mnmozi

Dynatrace SaaS MCP Server

by mnmozi

execute_record_deletion

Permanently deletes Grail records selected by a DQL query within a specified timeframe. Data cannot be restored; returns a task ID to track progress.

Instructions

DESTRUCTIVE — permanently deletes Grail records matching the given DQL query and optional timeframe. Data that is deleted CANNOT be restored. Timeframe length is limited to 24 hours; end time must be at least 4 hours in the past. Subsequent requests are queued and executed in order. Returns a taskId to track deletion progress via get_record_deletion_status. Requires DT_ENABLE_WRITES=true. Required scopes: storage:records:delete, storage:events:read, storage:logs:read, storage:bizevents:read, storage:spans:read, storage:buckets:read. Allowed query commands: fetch, fields, fieldsAdd, fieldsRemove, filter, parse.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesDQL query that selects the records to delete. Example: "fetch logs | filter contains(content, \"delete_records_test\")"
timeFrameNoOptional explicit time frame for the deletion. Ignored if the query already contains a timeframe clause. Both start and end are required when this object is provided.
timezoneNoTimezone for the query. Defaults to 'UTC'.
localeNoLocale for the query. Defaults to 'en-US'.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Given no annotations, the description carries full burden and excels: explicitly labels as DESTRUCTIVE, states data cannot be restored, details timeframe constraints, queuing, return of taskId, required DT_ENABLE_WRITES=true, and specific scopes. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized with critical info front-loaded (DESTRUCTIVE). Could be more structured with bullet points for constraints, but it's efficient and every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool with no output schema, the description comprehensively covers all aspects: constraints, prerequisites, return value (taskId), and execution behavior. No significant gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All parameters are described in the schema (100% coverage). The description adds value with a concrete query example, clarifies when timeframe is ignored, and mentions defaults for timezone/locale. Slight improvement could be more structured format.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with 'DESTRUCTIVE — permanently deletes Grail records', clearly stating the verb (deletes) and resource (Grail records). It distinguishes from siblings like execute_dql or cancel_record_deletion by specifying the destructive scope and constraints.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use information: mentions permanence, timeframe limits (24h, end at least 4h past), queuing behavior, required env variable and scopes, and allowed query commands. Does not explicitly compare to other tools, but the guidance is clear and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/mnmozi/dynatrace-mcp-saas'

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