Skip to main content
Glama
Instana MCP Server

Instana MCP Server

Official
by instana

Manage Instana Maintenance Windows

manage_maintenance_windows

Create, modify, close, and list Instana maintenance windows; bulk-create and validate windows and retrieve templates for planned application maintenance.

Instructions

Unified Instana maintenance window manager for lifecycle management.

Resource Types: - "window": Create, modify, close, and list maintenance windows - "templates": Retrieve available maintenance window templates

WINDOW (resource_type="window"): operations: create, modify, close, list_active, list_scheduled, list_all, list_expired, bulk_create, validate

create - Create a new maintenance window
    Required: imap_code OR application_id, start_time
    Optional: end_time, duration_minutes, duration_hours, duration_days, reason, template, change_request_id, affected_services, notification_channels, use_tag_filter_expression, tag_name, rrule, until_date

modify - Modify an existing maintenance window
    Required: window_id
    Optional: end_time, duration_minutes, reason, rrule, until_date

close - Close and document a maintenance window
    Required: window_id
    Optional: completion_notes

list_active - List all currently active maintenance windows
    Optional: imap_code, application_id

list_scheduled - List all upcoming scheduled maintenance windows
    Optional: imap_code, application_id

list_all - List all maintenance windows (active, scheduled, and expired)
    Optional: imap_code, application_id

list_expired - List all expired/completed maintenance windows
    Optional: imap_code, application_id

bulk_create - Create maintenance windows for multiple applications at once
    Required: application_ids OR imap_codes, start_time
    Optional: duration_minutes, duration_hours, duration_days, reason, template, change_request_id, use_tag_filter_expression, tag_name

validate - Validate maintenance window parameters without creating
    Required: imap_code OR application_id, start_time
    Optional: duration_minutes, template

TEMPLATES (resource_type="templates"): operations: get

get - Retrieve all available maintenance window templates
    No parameters required

Args: resource_type: "window" or "templates" (default: "window") operation: Operation to perform (default: "list_scheduled") application_id: Single application ID (legacy support) application_ids: Comma-separated or JSON array of application IDs imap_code: Single IMAP code (e.g., "EAL-012512") imap_codes: Comma-separated or JSON array of IMAP codes window_id: Maintenance window ID (for modify/close) start_time: Start time (Unix timestamp ms or ISO string) end_time: End time (Unix timestamp ms or ISO string) duration_minutes: Duration in minutes (e.g., "120") duration_hours: Duration in hours (e.g., "2") duration_days: Duration in days (e.g., "1") reason: Reason/description for the maintenance window template: Template name ("deployment", "database_migration", "infrastructure_upgrade", "emergency", "routine") change_request_id: ServiceNow change request ID affected_services: Comma-separated or JSON array of service names notification_channels: Comma-separated or JSON array of channels completion_notes: Notes when closing a window use_tag_filter_expression: "true" or "false" tag_name: Tag name for filter expression rrule: Recurrence rule (RFC 5545) until_date: End date for recurring windows (ISO string) ctx: MCP context (internal)

Returns: Dictionary with results from the appropriate tool

Examples: # WINDOW operations - create (covers: imap_code, duration_minutes, duration_hours, template, recurring) resource_type="window", operation="create", imap_code="EAL-012471", start_time="1748786400000", duration_minutes="120", reason="Scheduled deployment" resource_type="window", operation="create", imap_code="EAL-012471", start_time="1748786400000", duration_hours="2", template="deployment", change_request_id="CHG0012345" resource_type="window", operation="create", imap_code="ORZ-000012", start_time="1748786400000", duration_minutes="30", rrule="FREQ=DAILY;INTERVAL=1", until_date="2026-06-17T23:59:59Z"

# WINDOW operations - modify (covers: duration_minutes, end_time, reason)
resource_type="window", operation="modify", window_id="mw-789", duration_minutes="60"
resource_type="window", operation="modify", window_id="mw-789", end_time="1748790000000", reason="Extended maintenance"
resource_type="window", operation="modify", window_id="mw-789", duration_hours="3", rrule="FREQ=DAILY;INTERVAL=2"

# WINDOW operations - close (covers: with/without notes)
resource_type="window", operation="close", window_id="mw-789"
resource_type="window", operation="close", window_id="mw-789", completion_notes="Completed successfully"
resource_type="window", operation="close", window_id="mw-789", completion_notes="Completed with issues - rollback performed"

# WINDOW operations - list_active
resource_type="window", operation="list_active"
resource_type="window", operation="list_active", imap_code="EAL-012471"
resource_type="window", operation="list_active", application_id="app-123"

# WINDOW operations - list_scheduled
resource_type="window", operation="list_scheduled"
resource_type="window", operation="list_scheduled", imap_code="EAL-012471"
resource_type="window", operation="list_scheduled", application_id="app-123"

# WINDOW operations - list_all
resource_type="window", operation="list_all"
resource_type="window", operation="list_all", imap_code="EAL-012471"
resource_type="window", operation="list_all", application_id="app-123"

# WINDOW operations - list_expired
resource_type="window", operation="list_expired"
resource_type="window", operation="list_expired", imap_code="EAL-012471"
resource_type="window", operation="list_expired", application_id="app-123"

# WINDOW operations - bulk_create
resource_type="window", operation="bulk_create", imap_codes="EAL-012471,ORZ-000012", start_time="1748786400000", duration_hours="2", reason="Coordinated deployment"
resource_type="window", operation="bulk_create", application_ids="app-123,app-456", start_time="1748786400000", duration_minutes="120", reason="Multi-app maintenance"
resource_type="window", operation="bulk_create", imap_codes="EAL-012471,ORZ-000012", start_time="1748786400000", template="deployment", change_request_id="CHG0012345"

# WINDOW operations - validate
resource_type="window", operation="validate", imap_code="EAL-012471", start_time="1748786400000", duration_minutes="120"
resource_type="window", operation="validate", application_id="app-123", start_time="1748786400000", duration_hours="2"
resource_type="window", operation="validate", imap_code="EAL-012471", start_time="1748786400000", template="deployment"

# TEMPLATES operations (covers: get templates)
resource_type="templates", operation="get"

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_maintenance_windows"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctxNo
paramsNo
operationNolist_scheduled
resource_typeNowindow

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, and the description is consistent with a mixed read/write surface (create, modify, close are mutations). Beyond that it adds little: it does not say what 'close' actually does to a window (archive vs delete), whether modifications to expired windows are rejected, what permissions are required, or whether templates constrain subsequent creates. The 'Returns: Dictionary with results from the appropriate tool' line is tautological rather than informative.

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

Conciseness2/5

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

The operation/argument reference is front-loaded and well-sectioned, but the examples block is heavily redundant — list_active, list_scheduled, list_all and list_expired each get three near-identical example lines with the same shape, and create/modify have multiple overlapping variants. Roughly half the text restates what the operation table already said, diluting the signal an agent needs.

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

Completeness3/5

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

For a high-complexity dispatcher (two resource types, nine operations, ~20 logical arguments) the operation coverage is complete, and an output schema exists so return-value documentation is not required. However, the critical calling convention — that domain arguments are nested under 'params' while 'operation'/'resource_type' sit at the top level — is never stated, and nothing is said about mutual exclusivity of imap_code vs application_id or error behavior.

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?

Schema description coverage is 0% and the only top-level parameters are generic (ctx, params, operation, resource_type), so the description carries the entire burden — and it does so well, giving formats for imap_code ('EAL-012512'), timestamps ('Unix timestamp ms or ISO string'), duration units, the template enum values, RFC 5545 for rrule, and worked examples. The significant gap is that it never says these named arguments belong inside the opaque 'params' object, so an agent could plausibly pass imap_code at the top level and be rejected by additionalProperties:false.

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 states a specific verb and resource ('Unified Instana maintenance window manager for lifecycle management') and immediately enumerates the two resource types and all nine window operations, so an agent knows exactly what surface the tool covers. The operation list (create, modify, close, list_*, bulk_create, validate, templates.get) is detailed enough to distinguish it from the sibling manage_* tools, which cover unrelated domains.

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?

Each operation is annotated with required vs optional arguments (e.g. create needs 'imap_code OR application_id, start_time'), and the 'validate' operation explicitly exists to check parameters without creating — a real usage hint. What is missing is exclusion guidance: no statement of when to prefer list_active over list_all, when bulk_create should be used instead of repeated create, or whether create/modify are appropriate on expired windows.

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