Manage Instana Website Resources
manage_websitesQuery 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 dataALERT (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
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| operation | Yes | ||
| resource_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||