Skip to main content
Glama
Instana MCP Server

Instana MCP Server

Official
by instana

Manage Instana Automation Actions

manage_automation
Read-only

Browse Instana automation actions and inspect execution history. Search action matches, list action instances, and retrieve details by time window or filters.

Instructions

Unified Instana automation action manager for catalog and execution history.

Resource Types:

  • "catalog": Browse and search automation actions

  • "history": View action execution history

CATALOG (resource_type="catalog"): operations: get_actions, get_action_details, get_action_matches, get_action_matches_by_id_and_time_window, get_action_types, get_action_tags

List all actions:
operation="get_actions"

Get action details:
operation="get_action_details", params={"action_id": "action-uuid"}

Search for matching actions:
operation="get_action_matches"
params:
    - payload (required): dict with "name" and/or "description" fields
    - target_snapshot_id (optional): snapshot ID to filter results
Example: params={"payload": {"name": "CPU spends significant time waiting for input/output", "description": "Checks whether the system spends significant time waiting for input/output."}, "target_snapshot_id": "snapshot-id"}

Get action matches by ID and time window:
operation="get_action_matches_by_id_and_time_window"
params:
    - application_id (optional): application ID (either this or snapshot_id required)
    - snapshot_id (optional): snapshot ID (either this or application_id required)
    - to (optional): timestamp - milliseconds OR datetime string (e.g., "19 March 2026, 2:47 PM|IST")
        If timezone not specified, defaults to UTC
    - window_size (optional): time window in milliseconds
Example: params={"application_id": "app-123", "snapshot_id": "snap-456", "to": "19 March 2026, 2:47 PM|IST", "window_size": 3600000}

Get action types:
operation="get_action_types"

Get action tags:
operation="get_action_tags"

HISTORY (resource_type="history") operations: list, get_details

List action instances:
operation="list"
params (all optional):
    - window_size: time window in milliseconds
    - to: timestamp - milliseconds OR datetime string (e.g., "19 March 2026, 2:47 PM|IST")
        If timezone not specified, defaults to UTC
    - page: page number
    - page_size: items per page
    - target_snapshot_id: filter by snapshot ID
    - event_id: filter by event ID
    - event_specification_id: filter by event specification ID
    - search: search text
    - types: list of action types
    - action_statuses: list of statuses (e.g., ["SUCCESS", "FAILED"])
    - order_by: column name for sorting
    - order_direction: "ASC" or "DESC"
Example: params={"window_size": 3600000, "to": 1234567890000, "page": 1, "page_size": 50, "target_snapshot_id": "snapshot-id", "event_id": "event-id", "event_specification_id": "spec-id", "search": "search text", "types": ["type1", "type2"], "action_statuses": ["SUCCESS", "FAILED"], "order_by": "column_name", "order_direction": "ASC"}

Get action instance details:
operation="get_details"
params:
    - action_instance_id (required): instance UUID
    - window_size (optional): time window in milliseconds (default: 10 minutes)
    - to (optional): timestamp - milliseconds OR datetime string (e.g., "19 March 2026, 2:47 PM|IST")
        If timezone not specified, defaults to UTC
Example: params={"action_instance_id": "instance-uuid", "window_size": 600000, "to": "19 March 2026, 2:47 PM|IST"}

Args: resource_type: "catalog" or "history" operation: Specific operation for the resource type params: Operation-specific parameters (optional) ctx: MCP context (internal)

Returns: Dictionary with results from the appropriate tool

Examples: resource_type="catalog", operation="get_actions" resource_type="catalog", operation="get_action_matches", params={"payload": {"name": "CPU", "description": "monitoring"}} resource_type="catalog", operation="get_action_matches_by_id_and_time_window", params={"application_id": "app-123", "to": "19 March 2026, 2:47 PM|IST", "window_size": 3600000} resource_type="history", operation="list", params={"window_size": 3600000, "to": 1234567890000, "page_size": 20} resource_type="history", operation="get_details", params={"action_instance_id": "instance-uuid", "to": "19 March 2026, 2:47 PM|IST"}

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": {
      "resource_type": "<resource_type>",
      "operation": "<operation>"
    },
    "name": "manage_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
operationYes
resource_typeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered and the description adds nothing that contradicts it. Genuine extra context exists in the form of defaults (window_size default 10 minutes for get_details) and timezone defaulting to UTC, but there is no disclosure of error behavior, result limits, or what a failed lookup returns.

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

Conciseness3/5

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

The two-tier structure (Resource Types summary, then per-resource operations) is front-loaded and scannable, which matters for an eight-operation dispatcher. However, the per-operation examples are duplicated wholesale in the trailing 'Examples:' block, and the Args/Returns boilerplate restates what the schema and output schema already define, adding avoidable length.

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 three parameters and an output schema present, return values need not be explained, and the description instead focuses correctly on the operation matrix and param shapes. It is nearly complete for a dispatcher, missing only guidance on unsupported operation values and on whether the required params differ when a resource type is chosen wrongly.

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 coverage is 0% because params is an untyped free-form object, so the description carries the full burden and does so: every operation's parameters are listed with required/optional status, value types, defaults, accepted formats (milliseconds vs. datetime string like "19 March 2026, 2:47 PM|IST"), and the either/or constraint between application_id and snapshot_id. Concrete examples per operation remove remaining ambiguity.

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 a specific verb+resource pair (browse/search automation actions, view execution history) and then enumerates the exact operations per resource type. An agent can immediately tell this covers Instana automation actions rather than events, synthetics, or alerts handled by the sibling tools.

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?

It gives explicit routing guidance: pick resource_type 'catalog' to search actions and 'history' to inspect execution instances, then pick the operation with a worked example for each. What is not stated is when to prefer get_actions over get_action_matches, or that mutual-exclusion conditions exist between application_id and snapshot_id at the routing level.

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