Skip to main content
Glama
Instana MCP Server

Instana MCP Server

Official
by instana

Manage Instana Website Resources

manage_websites
Read-only

Query and inspect Instana website beacon data, metrics, tag catalogs, configurations, advanced settings, and alert configs to support monitoring and troubleshooting.

Instructions

Unified Instana website resource manager for beacon monitoring, catalog, configuration and alert operations.

Resource Types: - "analyze": Query website beacon data with grouping or filtering - "catalog": Get available metrics and tags for website monitoring - "configuration": Get website configurations - "advanced_config": Retrieve advanced configurations (geo-location, IP masking, geo rules) - READ ONLY - "alert": Get website alert configurations

CRITICAL WORKFLOW: BEFORE calling analyze operations, you MUST call get_tag_catalog to get valid tag names. Default beacon_type: "PAGELOAD" | Default use_case: get_beacon_groups="GROUPING", get_beacons="FILTERING"

ANALYZE (resource_type="analyze"): operations: get_beacon_groups, get_beacons params: {metrics, group, tag_filter_expression, time_frame, beacon_type, fill_time_series, order, pagination}

Aggregations: SUM, MEAN, MAX, MIN, P25, P50, P75, P90, P95, P98, P99, P99_9, P99_99, DISTINCT_COUNT, SUM_POSITIVE, PER_SECOND, INCREASE
Operators: EQUALS, NOT_EQUAL, CONTAINS, NOT_CONTAIN, STARTS_WITH, ENDS_WITH, NOT_STARTS_WITH, NOT_ENDS_WITH, GREATER_THAN, GREATER_OR_EQUAL_THAN, LESS_THAN, LESS_OR_EQUAL_THAN, NOT_EMPTY, IS_EMPTY, NOT_BLANK, IS_BLANK, REGEX_MATCH

tag_filter_expression: CRITICAL - Entity field REQUIRED for ALL tag filters. ALWAYS set "entity": "NOT_APPLICABLE" for website beacon tags.
time_frame: {"to": <timestamp_or_datetime>, "windowSize": <milliseconds>} - Default: 3600000 (1 hour)
    to: Unix timestamp (ms) OR datetime string (e.g., "19 March 2026, 2:47 PM|IST")

Examples:
    metrics: [{"metric": "beaconCount", "aggregation": "SUM"}, {"metric": "onLoadTime", "aggregation": "P95"}]
    tag_filter_expression: {"type": "TAG_FILTER", "name": "beacon.page.name", "operator": "CONTAINS", "entity": "NOT_APPLICABLE", "value": "checkout"}

get_beacon_groups - Use for grouped/aggregated data (e.g., "beacon count per page")
get_beacons - Use for individual beacon data (e.g., "list all page load beacons")

CATALOG (resource_type="catalog"): operations: get_metrics, get_tag_catalog params: {beacon_type, use_case}

get_metrics - Get website metrics catalog with necessary metadata for query planning (metricId, label, description, formatter, aggregations, beaconTypes). Use returned metricId values exactly; they are authoritative over examples. Use params.view="full" to retrieve raw SDK metadata (rarely needed).
get_tag_catalog - Get valid tag names for beacon_type and use_case
    Valid beacon_type: "PAGELOAD", "PAGE_CHANGE", "RESOURCELOAD", "CUSTOM", "HTTPREQUEST", "ERROR"
    Valid use_case: "GROUPING", "FILTERING", "SERVICE_MAPPING", "SMART_ALERTS", etc.

CONFIGURATION (resource_type="configuration"): operations: get_all, get params: {website_id, website_name}

get_all - List all websites
get - Get website by ID or name (supports name resolution)

NOTE: Create, Update, Delete operations are not available.
      Use the Instana UI for website configuration modifications.

ADVANCED_CONFIG (resource_type="advanced_config"): operations: get_geo_config, get_ip_masking, get_geo_rules params: {website_id, website_name}

NOTE: These are READ-ONLY operations for retrieving advanced configurations.
      Use the Instana UI for modifications.
      Source map operations are not currently available due to authentication limitations.

get_geo_config - Get geo-location configuration
    Returns: geoDetailRemoval setting and geoMappingRules array
get_ip_masking - Get IP masking configuration
    Returns: ipMasking setting (DEFAULT, ANONYMIZE_IP, etc.)
get_geo_rules - Get custom geo mapping rules
    Returns: Array of geo mapping rules with CIDR ranges and location data

ALERT (resource_type="alert"): operations: find_active_website_alert_configs, find_website_alert_config params: {website_id, alert_ids, id, valid_on}

find_active_website_alert_configs - Get all alert configurations for a website
    - website_id: Website ID to get alert configs for (required)
    - alert_ids: Optional list of specific alert IDs to filter (optional)

find_website_alert_config - Get a specific alert configuration by ID
    - id: Specific alert configuration ID to retrieve (required)
    - valid_on: Unix timestamp (ms) to retrieve the configuration active at that time (optional, default is latest active version)

Args: resource_type: "analyze", "catalog", "configuration", "advanced_config", or "alert" operation: Specific operation for the resource type params: Operation-specific parameters (optional)

Returns: Dictionary with results from the appropriate tool

Examples: resource_type="catalog", operation="get_tag_catalog", params={"beacon_type": "PAGELOAD", "use_case": "GROUPING"} resource_type="analyze", operation="get_beacon_groups", params={"metrics": [{"metric": "beaconCount", "aggregation": "SUM"}], "group": {"groupByTag": "beacon.page.name", "groupbyTagEntity": "NOT_APPLICABLE"}, "time_frame": {"to": "19 March 2026, 2:47 PM|IST", "windowSize": 3600000}, "beacon_type": "PAGELOAD"} resource_type="analyze", operation="get_beacons", params={"time_frame": {"to": 1234567890000, "windowSize": 3600000}, "beacon_type": "PAGELOAD", "pagination": {"retrievalSize": 50}} resource_type="catalog", operation="get_metrics" resource_type="configuration", operation="get_all" resource_type="configuration", operation="get", params={"website_name": "robot-shop"} resource_type="advanced_config", operation="get_geo_config", params={"website_name": "robot-shop"} resource_type="alert", operation="find_active_website_alert_configs", params={"website_id": "website-abc123"} resource_type="alert", operation="find_website_alert_config", params={"id": "alert-123", "valid_on": 1234567890000}

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_websites"
  }
}

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.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with that, repeatedly marking advanced_config as READ ONLY and noting the absence of mutation operations. It adds genuinely useful behavioral context beyond annotations, including authentication limitations on source map operations and the requirement to set entity='NOT_APPLICABLE' for website beacon tags.

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 long, but that length is justified by the dispatcher's breadth and by front-loading the critical workflow before per-resource detail. There is some redundancy between the per-resource notes, the Args/Returns footer, and the repeated examples, which keeps it from being maximally tight.

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 complex multi-operation dispatcher with three top-level parameters and a free-form params object, the description supplies the workflow, defaults, operation routing, and representative examples an agent needs to call it correctly. Because an output schema exists, the brief Returns statement is not a completeness gap.

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%, so the description must carry parameter meaning, and it largely does: it documents operation-specific params, enumerates aggregation and operator values, specifies the time_frame shape, and gives concrete tag_filter_expression examples with the required entity field. Some params such as fill_time_series, order, and the full pagination structure are mentioned but not fully explained, leaving minor gaps.

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 opening line states a specific role — a unified Instana website resource manager covering beacon monitoring, catalog, configuration, and alert operations — and the resource_type sections break that scope down explicitly. It is clearly distinguishable from siblings like manage_infrastructure or manage_synthetics because every described operation is website-scoped.

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

Usage Guidelines5/5

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

It gives an explicit 'CRITICAL WORKFLOW' (call get_tag_catalog before analyze), names default beacon_type and use_case values, and explains when to use get_beacon_groups (grouped data) versus get_beacons (individual beacons). It also states exclusions: create/update/delete and source map operations are unavailable, directing the user to the Instana UI.

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