Edit

Share via


Azure App Lens tools for the Azure MCP Server

The Azure MCP Server helps you manage Azure resources, including Azure App Lens, using natural language prompts. This feature enables you to quickly manage your application performance and insights without needing to remember complex syntax.

Note

Tool parameters: The Azure MCP Server tools define parameters for data they need to complete tasks. Some of these parameters are specific to each tool and are documented below. Other parameters are global and shared by all tools. For more information, see Tool parameters.

Resource: Diagnose

Diagnose Azure resource performance issues, slowness, failures, and availability problems. This tool returns a list of insights and solutions to the user question.

Example prompts include:

  • Diagnose app issues: "Please help me diagnose issues with my app 'mywebapp' in resource group 'my-resource-group' using app lens for resource type 'WebApp'"
  • Check app slowness: "Use app lens to check why my app 'orders-api' in resource group 'my-resource-group' is slow for resource type 'API'"
  • Service health: "What does app lens say is wrong with my service 'inventory-service' in resource group 'my-resource-group' for resource type 'ServiceFabric'?"
Parameter Required or optional Description
Resource group Required The name of the Azure resource group. This is a logical container for Azure resources.
Question Required User question.
Resource Required The name of the resource to investigate or diagnose.
Resource Type Required Resource type.

Tool annotation hints:

Destructive: ❌ | Idempotent: ✅ | Open World: ❌ | Read Only: ✅ | Secret: ❌ | Local Required: ❌