Skip to main content
Glama
Instana MCP Server

Instana MCP Server

Official
by instana

Manage Instana Events Resources

manage_events

Retrieve, filter, and analyze Instana events—including Kubernetes and agent monitoring events—by time range, entity, severity, state, or event ID for troubleshooting and observability.

Instructions

Unified Instana events resource manager for events monitoring operations.

Operations: - "get_events": Get all events - "get_event": Get a specific event by ID - "get_kubernetes_info_events": Get Kubernetes info events with detailed analysis - "get_agent_monitoring_events": Get agent monitoring events with detailed analysis - "get_events_by_ids": Get multiple events by their IDs

Parameters (params dict):

  • MANDATORY: If NONE of from_time, to_time, or time_range are provided, defaults to the last 10 minutes

  • For "get_event" and "get_events_by_ids", pass flat params:

    • event_id: Event ID (required for get_event)

    • event_ids: List of event IDs or comma-separated string (required for get_events_by_ids)

  • For "get_kubernetes_info_events" and "get_agent_monitoring_events", pass flat params:

    • from_time: Start timestamp - milliseconds OR datetime string (e.g., "19 March 2026, 2:47 PM|IST" or "19 March 2026, 2:47 PM") If timezone not specified in datetime string, defaults to UTC

    • to_time: End timestamp - milliseconds OR datetime string (e.g., "19 March 2026, 2:47 PM|IST" or "19 March 2026, 2:47 PM") If timezone not specified in datetime string, defaults to UTC

    • time_range: Natural language time range (e.g., "last 10 minutes", "last 2 days"). DEFAULT when omitted: "last 10 minutes"

    • query: Optional query string for agent monitoring events

    • max_events: Maximum number of events to process for analysis (optional, default 50) NOTE: This is a post-processing limit, not an API parameter

  • For "get_events", pass a nested filters object:

    • filters: Dictionary containing event filters.

      • from_time: Start timestamp - milliseconds OR datetime string

      • to_time: End timestamp - milliseconds OR datetime string

      • time_range: Natural language time range (e.g., "last 10 minutes", "last 2 days"). DEFAULT when omitted: "last 10 minutes"

      • query: Optional query string

      • max_events: Maximum number of events to process for analysis (optional, default 50)

      • filter_event_updates: Boolean flag to filter results to only show events with state changes within timeframe (optional, default True)

      • exclude_triggered_before: Boolean flag to exclude events triggered before the timeframe (optional, default True) NOTE: This is a boolean flag, not a timestamp

      • event_type_filters: List of event type filters (optional, e.g., ["INCIDENT", "ISSUE", "CHANGE"]). NOTE: Allowed values: INCIDENT, ISSUE, CHANGE. Invalid values will result in an error.

      • entity_type: Affected entity type to filter by (optional)

        • Allowed values (case-insensitive): "INFRASTRUCTURE", "SERVICE", "APPLICATION", "ENDPOINT"

        • For infrastructure incidents (hosts, docker, kubernetes, etc.): Use "INFRASTRUCTURE"

        • For application incidents: Use "APPLICATION"

        • For service incidents: Use "SERVICE"

        • For endpoint incidents: Use "ENDPOINT"

      • entity_name: Affected entity name (category/type) to filter by (optional, supports partial matches)

        • Examples: "Kubernetes Pod", "Kubernetes Deployment", "Process", "IBM MQ Subscription", "IBM MQ Queue Usage", "Service", "Application", "Endpoint"

        • This represents the human-readable category/type of the entity, not the specific instance name

      • entity_label: Specific entity instance identifier to filter by (optional, supports partial matches)

        • Examples: "qotd-load/qotd-load-7fd7f4c4b8-46z7c", "recommendation-agent", "POST /pay/{id}", "All Services"

        • This is the actual name/identifier of the specific entity instance

      • state: Event state to filter by (e.g., "open", "closed", "manually closed") (optional)

      • problem: Problem description to filter events by (e.g., "CPU usage high", "High error rate", "online") (optional)

      • severity: Event severity to filter by (exact match only). (optional) NOTE: Allowed values (strict): -1 → change (informational events), 5 → warning, 10 → critical.

      • event_specification_id: Filter events by event specification ID (optional)

      • rca: Boolean flag to filter events by root cause analysis availability (optional)

        • Set to true to return only events where probableCause.found is true (events with RCA)

        • Set to false to return only events where probableCause.found is false or missing (events without RCA)

        • If not provided, returns all events regardless of RCA status

Args: operation: Operation to perform params: Operation-specific parameters (optional) ctx: MCP context (internal)

Returns: Dictionary with results from the appropriate tool

Examples: operation="get_event", params={"event_id": "1a2b3c4d5e6f"} operation="get_kubernetes_info_events", params={"time_range": "last 2 hours", "max_events": 50} operation="get_agent_monitoring_events", params={"query": "Monitoring issue", "from_time": "19 March 2026, 2:47 PM|IST", "to_time": "20 March 2026, 2:47 PM|IST", "max_events": 100} operation="get_events", params={"filters": {"event_type_filters": ["INCIDENT"]}} # no time_range → defaults to last 10 minutes operation="get_events", params={"filters": {"event_type_filters": ["INCIDENT"], "entity_type": "service", "entity_name": "payment-service", "entity_label": "payment-service-v2", "state": "open", "problem": "High error rate", "severity": 10, "max_events": 50, "filter_event_updates": True, "exclude_triggered_before": False}} operation="get_events_by_ids", params={"event_ids": ["1a2b3c4d5e6f", "7g8h9i0j1k2l"]}

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operation": "<operation>"
    },
    "name": "manage_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
operationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4.3/5.0
Behavior3/5

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

With only readOnlyHint=false and destructiveHint=false supplied, the description does add real behavior: an implicit 10-minute default window, max_events being a post-processing limit rather than an API parameter, default-True flags (filter_event_updates, exclude_triggered_before), and the fact that invalid event_type_filters raise an error. However, every listed operation is a read ('Get ...'), which sits in tension with readOnlyHint=false and is never reconciled, and nothing is said about pagination, result-size ceilings, or failure modes beyond invalid filter values.

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 length is large but mostly earned by a five-operation dispatcher with deep nested parameters; the Operations / Parameters / Args / Returns / Examples structure is front-loaded and scannable. Minor waste remains: the 'last 10 minutes' default is restated three times, and the 'MANDATORY' label sits on a rule that actually describes a default, which is misleading rather than concise.

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 high-complexity dispatcher with a 0%-documented schema, the definition covers operation inventory, per-operation parameter shapes, value enums, defaults, and worked examples, and an output schema exists so return values need not be described. The remaining gaps (flat-vs-nested ambiguity for time_range on get_events, operation-selection trade-offs) are minor at this level of detail.

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

Parameters5/5

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

Schema description coverage is 0% and the schema is just {operation, params}, so the description carries the entire burden — and it does, documenting ~20 nested filter fields with accepted values, semantics, and per-operation shape differences (flat params for get_event/get_events_by_ids versus a nested filters object for get_events). Details like 'entity_name is the category/type, entity_label is the instance identifier' and the strict severity mapping (-1/5/10) are the kind of meaning the schema cannot provide.

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 names the resource (Instana events) and enumerates five concrete operations with explicit verbs and scope ('Get all events', 'Get a specific event by ID', 'Get Kubernetes info events with detailed analysis'). An agent can tell exactly what each operation returns without opening the schema, and the resource is distinct from every listed sibling (alert channels, applications, SLO, etc.).

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?

Usage context is conveyed well through five worked examples and per-operation required parameters (event_id for get_event, event_ids for get_events_by_ids), plus a stated default window when no time argument is given. What is missing is explicit routing guidance between overlapping operations — nothing says when to prefer get_events with filters over get_kubernetes_info_events or get_agent_monitoring_events, and there are no when-not-use exclusions.

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