Skip to main content
Glama
asafkiv

AppDynamics MCP Server

by asafkiv

Get Metric Data

appd_get_metric_data
Read-onlyIdempotent

Query any AppDynamics metric by providing the metric path and application; returns time-series data with min, max, avg, count, and sum.

Instructions

Query any metric from the AppDynamics metric tree.

This is a generic tool that can retrieve any metric — infrastructure (CPU, memory, disk), application performance, custom metrics, etc.

Use appd_browse_metric_tree to discover available metric paths first.

Custom metrics: Machine agent custom metrics are stored per-node, not aggregated at tier level. To query them, use rollup=false and a node-level path: 'Application Infrastructure Performance|{Tier}|Individual Nodes|{Node}|Custom Metrics|{MetricName}' Wildcard example: 'Application Infrastructure Performance||Individual Nodes||Custom Metrics|MyMetric' with rollup=false

Args:

  • application (string|number): App name or ID

  • metricPath (string): Full metric path (pipe-separated)

  • durationInMins (number, optional): Lookback in minutes (default: 60)

  • rollup (boolean, optional): Aggregate across entities (default: true). Set false for custom/per-node metrics.

Returns: Array of metric data objects with timestamps, min, max, avg, count, sum values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rollupNoWhether to aggregate (roll up) metric data across all entities matching the path. Default true (aggregated). Set to false for custom metrics or per-node metrics — custom metrics live at node level and return empty data when rolled up.
metricPathYesThe metric path to query. Use appd_browse_metric_tree to discover available paths. Examples: 'Overall Application Performance|Average Response Time (ms)', 'Application Infrastructure Performance|*|Hardware Resources|CPU|%Busy'. For custom metrics use: 'Application Infrastructure Performance|{Tier}|Individual Nodes|{Node}|Custom Metrics|{MetricName}'.
applicationYesApplication name or numeric ID.
durationInMinsNoTime range in minutes to look back. Defaults to 60.
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true, so the tool is clearly non-destructive. The description adds important behavioral context: it retrieves data, explains custom metric storage per-node, and requires specific paths and rollup=false for those. It also describes the return format (array of metric data objects). No contradiction with annotations.

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

Conciseness5/5

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

The description is well-organized with sections, bullet points, and examples. It starts with the core purpose, then provides usage guidance, custom metric details, and a parameter list. Every sentence is informative. Despite length, it remains focused and efficient.

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?

Given no output schema, the description explains return values (timestamps, min, max, avg, count, sum). It covers both standard and custom metrics, references the sibling discovery tool, and provides navigation patterns. For a tool with 4 parameters and good annotations, this is a complete and informative description.

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 100%, so baseline is 3. The description adds value by providing concrete examples for metricPath (including wildcard patterns), explaining the default duration (60 minutes), and clarifying the rollup parameter's effect on aggregation and custom metrics. These details go beyond the schema descriptions.

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 clearly states 'Query any metric from the AppDynamics metric tree.' It distinguishes itself from sibling tools like appd_browse_metric_tree (which discovers paths) and appd_get_anomalies (which retrieves anomalies). The tool is presented as a generic, all-encompassing metric retrieval tool.

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?

The description explicitly recommends using appd_browse_metric_tree first to discover metric paths. It also explains when to use rollup=true vs false, especially for custom metrics. While it doesn't list explicit alternatives or exclusions, it provides clear context for different scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asafkiv/appdynamics-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server