Skip to main content
Glama
Instana MCP Server

Instana MCP Server

Official
by instana

Manage Instana Mobile App Resources

manage_mobile_apps
Read-only

Query and analyze mobile app beacon data, configurations, alerts, and session replays through one Instana interface to monitor and troubleshoot app performance.

Instructions

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

Resource Types: - "analyze": Query mobile app beacon data with grouping or filtering - "catalog": Get available metrics and tags for mobile app monitoring - "configuration": Get mobile app configurations - "advanced_config": Retrieve advanced configurations (geo-location, IP masking, geo rules, source map upload config, get_mobile_app_source_map_upload_config_by_id) - READ ONLY - "alert": Get available alert configurations for mobile app monitoring - "session": Query mobile app session data (session beacons) and session replay data (action beacons)

WORKFLOW DECISION: ├─ Are you using resource_type="analyze"? └─ YES → Adhere to ANALYZE WORKFLOW at all times when making decisions └─ NO → Ignore ANALYZE WORKFLOW entirely and adhere to resource description

ANALYZE WORKFLOW: 1. FIRST: Call get_mobile_app_metric_catalog to get valid metrics - resource_type="catalog", operation="get_mobile_app_metric_catalog" - Returns: Available metrics with metricId, aggregations, and beacon types

2. SECOND: Call get_mobile_app_tag_catalog to get valid tag names
   - resource_type="catalog", operation="get_mobile_app_tag_catalog"
   - params: {"beacon_type": "SESSION_START", "use_case": "FILTERING"}

3. THIRD: Use ONLY the tag names and metrics returned from catalog operations
   - Tag names MUST start with "mobileBeacon." (e.g., "mobileBeacon.mobileApp.name")
   - Metric names must match those from get_mobile_app_metric_catalog
   - NEVER guess or invent tag names or metric names

4. FOURTH: Call analyze operations with validated tag names and metrics
   - ALWAYS include "entity": "NOT_APPLICABLE" in EVERY TAG_FILTER

Default beacon_type: "SESSION_START" | Default use_case for get_all_mobile_app_beacons: "FILTERING"

ANALYZE (resource_type="analyze"): operations: - get_all_mobile_app_beacons params: {time_frame, beacon_type, pagination, tag_filter_expression (optional), filter_fields (optional)}

    - get_mobile_app_beacon_groups
        params: {time_frame, beacon_type, fill_time_series, pagination, tag_filter_expression (optional), metrics (optional), group (optional), order (optional)}

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

time_frame: {"to": <timestamp_or_datetime>, "windowSize": <milliseconds>}
    - to: Unix timestamp in milliseconds OR datetime string (e.g., "19 March 2026, 2:47 PM|IST")
    - If timezone not specified in datetime string, defaults to UTC
    - windowSize: Duration in milliseconds (default: 3600000 = 1 hour)

tag_filter_expression: CRITICAL - Entity field is REQUIRED for ALL tag filters
    - ALWAYS set "entity": "NOT_APPLICABLE" for ALL mobile app beacon tags
    - This applies to ALL tags: mobileBeacon.mobileApp.*, mobileBeacon.view.*, mobileBeacon.device.*, mobileBeacon.geo.*, etc.
    - The entity field is MANDATORY - never omit it or set it to null
    - Tag names MUST start with "mobileBeacon." - get valid names from get_mobile_app_tag_catalog first

    Examples:
      * {"type": "TAG_FILTER", "name": "mobileBeacon.mobileApp.name", "operator": "EQUALS", "entity": "NOT_APPLICABLE", "value": "Robot Shop"}
      * {"type": "TAG_FILTER", "name": "mobileBeacon.view.name", "operator": "EQUALS", "entity": "NOT_APPLICABLE", "value": "Products"}
      * {"type": "TAG_FILTER", "name": "mobileBeacon.device.model", "operator": "EQUALS", "entity": "NOT_APPLICABLE", "value": "iPhone 12"}

filter_fields (optional, default: True):
    - Controls which fields are included in each returned beacon.
    - True / None / omitted — essential fields only
    -  False — all fields returned by the REST endpoint (unfiltered, larger payload)

get_all_mobile_app_beacons - Use for individual beacon data (e.g., "list all session start beacons")
get_mobile_app_beacon_groups - Use for grouped/aggregated beacon metrics (e.g., "beacon count per mobile app")

CATALOG (resource_type="catalog"): operations: get_mobile_app_metric_catalog, get_mobile_app_tag_catalog params: {beacon_type, use_case}

get_mobile_app_metric_catalog - Get mobile app metrics catalog with necessary metadata for query planning (metricId, label, description, formatter, aggregations, beaconTypes). Use params.view="full" to retrieve raw SDK metadata (rarely needed).

get_mobile_app_tag_catalog - MUST CALL THIS FIRST before using any tag names
    Returns: List of valid tag names that start with "mobileBeacon."
    Valid beacon_type: "SESSION_START", "VIEW_CHANGE", "HTTP_REQUEST", "CUSTOM", "CRASH", "PERF", "DROP_BEACON"
    Valid use_case: "GROUPING", "FILTERING", "SERVICE_MAPPING", "SMART_ALERTS", etc.

    Example call:
    resource_type="catalog", operation="get_mobile_app_tag_catalog",
    params={"beacon_type": "SESSION_START", "use_case": "FILTERING"}

CONFIGURATION (resource_type="configuration"): operations: get_all, get params: {mobile_app_id, mobile_app_name}

get_all - List all mobile apps
get - Get mobile app by ID or name (supports name resolution)

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

ADVANCED_CONFIG (resource_type="advanced_config"): operations: get_geo_config, get_ip_masking, get_geo_rules, get_source_map_upload_config, get_mobile_app_source_map_upload_config_by_id params: {mobile_app_id, mobile_app_name, config_id (for get_mobile_app_source_map_upload_configuration_by_id)}

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 ,STRICT ,REMOVE_ALL_DETAILS)
get_geo_rules - Get custom geo mapping rules
    Returns: Array of geo mapping rules with CIDR ranges and location data
get_source_map_upload_config - Get source map upload configuration details
    Returns: Source map upload configuration settings
get_mobile_app_source_map_upload_config_by_id - Get specific source map upload configuration by ID
    Returns: Source map upload configuration settings for the specified ID

ALERT (resource_type="alert"): operations: find_active_mobile_app_alert_configs, find_mobile_app_alert_config params: {mobile_app_id, alert_ids, id, valid_on}

find_active_mobile_app_alert_configs - Get all alert configurations for a mobile app
    - mobile_app_id: Mobile app ID to get alert configs for (required)
    - alert_ids: Optional list of specific alert IDs to filter (optional)

find_mobile_app_alert_config - Get a specific alert configuration by ID
    - id: Specific alert config ID to retrieve (required)
    - valid_on: Unix timestamp to retrieve config valid at that time (optional, defaults to latest active version)

SESSION (resource_type="session"): operations: get_session_beacons, get_session_replay_action_beacons

get_session_beacons - Get all beacons for a session by session id and timestamp
    Required parameters:
        - session_id: Session ID to retrieve beacons for
        - timestamp: The timestamp of the target session (Unix ms). For beacons to accurately be found, this value must be in the range: [first beacon timestamp - 6 hours, last beacon timestamp + 6 hours]

    Response:
        - beacons: List of beacons returned for this session (All beacons of types "SESSION_START", "VIEW_CHANGE", "HTTP_REQUEST", "CUSTOM", "CRASH", "PERF", and "DROP_BEACON" associated with the session)

get_session_replay_action_beacons - Get paginated session replay action beacons by mobile app id and session id
    Required parameters:
        - mobile_app_id: Mobile app ID that owns the session
        - session_id: Session ID to retrieve action beacons for

    Optional pagination parameters:
        - cursor: Zero-based offset of the first beacon to return
            * Use cursor=0 for the first page
            * Do NOT treat cursor as a timestamp
            * Use cursor=0 for the first page. If the response has hasMore=true, call again with cursor=nextCursor until hasMore=false.
        - page_size: Maximum number of beacons to return in one request
            * Use a small value like 1 for debugging
            * Use a larger value like 100 for normal retrieval
            * Maximum value of 1000

    Response fields:
        - beacons: List of action beacons returned for this page
        - nextCursor: Offset to use in the next request
        - hasMore: Whether more beacons remain after this page

    PAGINATION RULES - FOLLOW EXACTLY:
        1. Start with cursor=0.
        2. Read the returned beacons.
        3. If hasMore=true, call again with cursor=nextCursor.
        4. Repeat until hasMore=false.
        5. Combine all returned beacons in order.

    PAGINATION EXAMPLE:
        First request:
            params={"mobile_app_id": "app-123", "session_id": "session-456", "cursor": 0, "page_size": 100}

        Example response:
            {"beacons": [...], "nextCursor": 100, "hasMore": true}

        Second request:
            params={"mobile_app_id": "app-123", "session_id": "session-456", "cursor": 100, "page_size": 100}

        Final response example:
            {"beacons": [...], "nextCursor": null, "hasMore": false}

Args: resource_type: "analyze", "catalog", "configuration", "advanced_config", "alert", or "session" 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_mobile_app_tag_catalog", params={"beacon_type": "SESSION_START", "use_case": "GROUPING"}
        resource_type="analyze", operation="get_mobile_app_beacon_groups", params={"metrics": [{"metric": "beaconCount", "aggregation": "SUM"}], "group": {"groupByTag": "mobileBeacon.view.name", "groupbyTagEntity": "NOT_APPLICABLE"}, "time_frame": {"to": "19 March 2026, 2:47 PM|IST", "windowSize": 3600000}, "beacon_type": "SESSION_START"}
        resource_type="analyze", operation="get_all_mobile_app_beacons", params={"time_frame": {"to": 1234567890000, "windowSize": 3600000}, "beacon_type": "SESSION_START", "pagination": {"retrievalSize": 50}, "filter_fields": True}
        resource_type="catalog", operation="get_mobile_app_metric_catalog"
        resource_type="configuration", operation="get_all"
        resource_type="configuration", operation="get", params={"mobile_app_name": "robot-shop"}
        resource_type="advanced_config", operation="get_geo_config", params={"mobile_app_name": "robot-shop"}
        resource_type="session", operation="get_session_replay_action_beacons", params={"mobile_app_id": "i1IsNS7FQAegEljBTkNBMQ", "session_id": "1d616527-2635-407f-89fc-de7136b66fb4", "cursor": 10, "page_size": 100}
        resource_type="session", operation="get_session_beacons", params={"session_id": "1d616527-2635-407f-89fc-de7136b66fb4", "timestamp": 1785786779333}
        

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

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

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

Annotations already declare readOnlyHint=true/destructiveHint=false, and the description is consistent, reinforcing read-only status per resource section ('These are READ-ONLY operations... Use the Instana UI for modifications'). Beyond that it discloses auth limitations ('Source map operations are not currently available due to authentication limitations'), a session timestamp validity window ('[first beacon timestamp - 6 hours, last beacon timestamp + 6 hours]'), pagination termination semantics (hasMore/nextCursor), page_size cap of 1000, and the filter_fields payload-size tradeoff.

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?

Structure is strong — front-loaded workflow decision tree, section headers per resource_type, runnable examples at the end — but it is roughly 2000 words with meaningful redundancy: the entity="NOT_APPLICABLE" requirement is asserted three separate times, and the pagination rules are restated as both a numbered list and a three-request walkthrough. Trimming the duplicated warnings would lose no information.

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?

For a 15+-operation dispatcher over a 0%-covered schema, it is remarkably complete: every resource_type, operation, and required param is addressed, and an output schema exists so return values need not be described. The one substantive lapse is internal inconsistency around source map operations, which are listed as available advanced_config operations while a note says they are 'not currently available due to authentication limitations' — an agent could attempt a call that cannot succeed.

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 coverage is 0% and the only modeled parameters are resource_type/operation/params, so the description carries the full burden and mostly delivers: it enumerates operation-specific params (beacon_type, use_case, time_frame/windowSize, tag_filter_expression, pagination, cursor, page_size) with concrete examples and the mandatory entity="NOT_APPLICABLE" rule. Gaps remain — several ops (get_all configuration, alert find_active) have only partial param guidance, and the source map op is named inconsistently ('get_mobile_app_source_map_upload_config_by_id' vs '...configuration_by_id' in the config_id note), which muddies exactly which parameter applies.

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 sentence names a specific verb+resource ('Unified Instana mobile app resource manager for beacon monitoring, catalog, configuration, and alert operations') and immediately enumerates the six resource_type values that scope it. An agent can distinguish this from siblings like manage_synthetics or manage_websites without opening the schema.

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 provides an explicit WORKFLOW DECISION branch ('Are you using resource_type="analyze"? YES → ... NO → ignore ANALYZE WORKFLOW entirely') plus in-scope alternatives such as get_all_mobile_app_beacons for individual beacons vs get_mobile_app_beacon_groups for aggregated metrics. It also states what is NOT supported (create/update/delete; 'Use the Instana UI for mobile app configuration modifications'), which is exactly the exclusion guidance the dimension asks for.

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