Skip to main content
Glama
dynatrace-oss

Dynatrace Managed MCP Server

Official

dynatrace_managed_query_logs

Read-only

Search logs in Dynatrace Managed environments with simple text queries to find errors, exceptions, or timeouts. Specify time range and environment for results with event metadata and enhanced error detection.

Instructions

Search logs using simple text queries. Results include event types, expanded metadata fields (up to 8 fields), and enhanced error detection. Managed clusters support basic text search but not structured syntax like "content:" or "loglevel:".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesEnd time (ISO format or relative like "now")
fromYesStart time (ISO format or relative like "now-1h")
sortNoSort order for logs. Use "-timestamp" for most recent first.
limitNoMaximum number of logs to return (default: 100). Cannot exceed 1000
queryYesSimple text to search for in log content (e.g., "error", "exception", "timeout"). Do NOT use structured syntax like "content:error" - just use "error".
environment_aliasYesSpecify which environment to be queried, by supplying the environment alias as returned by get_environments_info. Can use `ALL_ENVIRONMENTS` to retrieve data from all environments in one request to MCP.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so no safety contradiction exists. The description adds useful behavioral detail beyond annotations: results include event types, expanded metadata fields (up to 8), and enhanced error detection, plus the managed-cluster limitation about structured syntax.

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

Conciseness5/5

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

Two sentences, front-loaded with the core action, then a precise limitation. No filler or repetition of schema content, and every sentence earns its place.

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

Completeness4/5

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

With a rich 6-parameter schema covering all parameter semantics and a readOnly annotation, the description adds the key missing context: result shape and syntax limitations. It does not fully describe return structure, but for a log query tool this is sufficient for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all parameters including the 'query' guidance. The description reinforces the no-structured-syntax rule but does not add substantial meaning to individual parameters, keeping this at the baseline.

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

Purpose4/5

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

The description uses a specific verb ('Search') and targets a clear resource ('logs'), making the tool's function immediately apparent. It does not explicitly name or contrast sibling tools, but the log resource is distinct from metrics/events/entity tools in the sibling list.

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?

The description clearly states how to use the tool: with simple text queries, not structured syntax. It also gives a concrete exclusion ('content:' or 'loglevel:'), helping the agent avoid invalid queries. It does not mention alternative tools, but there is no close log-query sibling to contrast with.

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

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/dynatrace-oss/dynatrace-managed-mcp'

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