microsoft/mcp/azurebackup-telemetry-report
Claude Code and agent skill by microsoft/mcp
- vendor
Checking that the SKILL.md file is still in the repository.
Generate weekly telemetry reports and customer adoption reports for Azure Backup MCP tools. Runs KQL queries against the Kusto telemetry cluster, analyzes error patterns with 3-way classification (Customer/Azure Service/MCP Tool Bug), identifies customers via P360/C360 cross-cluster joins, compares week-over-week metrics, correlates with merged PRs and releases, and produces an Outlook-compatible HTML report. USE WHEN: weekly telemetry report, Azure Backup MCP telemetry, error analysis, telemet…
Install
npx vskill@latest install microsoft/mcp/azurebackup-telemetry-reportSKILL.md
The same SKILL.md was published earlier as microsoft/mcp/azurebackup-telemetry-report.
Azure Backup MCP — Weekly Telemetry & Customer Report Generator
Purpose
Generate comprehensive telemetry reports for the Azure Backup MCP toolset by:
- Querying live production telemetry from Kusto
- Classifying errors into Customer / Azure Service / MCP Tool Bug
- Identifying customers via P360/C360 cross-cluster joins (using
P360_CustomerName) - Correlating with merged PRs and releases
- Producing an Outlook-compatible HTML report
When to Use
- Weekly cadence (every Monday or Sunday) to produce the status report
- After a release to assess error rate impact
- When triaging production bugs from telemetry data
- When preparing stakeholder updates on Azure Backup MCP health
- Customer adoption reports for any time range (e.g., last 15 days, 30 days)
- When asked "who is using Azure Backup MCP?" or "generate customer report"
Prerequisites
- Azure authentication configured (the Kusto MCP tool needs access to
ddazureclients.kusto.windows.net) - Access to the
AzureDevExpdatabase on the Kusto cluster - Git access to
microsoft/mcprepository (for PR/release correlation)
Procedure
Step 1: Query Telemetry Data
Run the following KQL queries against the Kusto cluster using the MCP Kusto tool. All queries use:
- Cluster URI:
https://ddazureclients.kusto.windows.net - Database:
AzureDevExp - Function:
getAzureMcpEvents_ToolCalls
1a. Per-Tool Success/Failure with 3-Way Classification (7-day)
This is the primary query. It classifies every call into one of four categories:
- Success: Tool call completed without error
- Customer (4xx): User error — wrong permissions (403), bad input (400), resource not found (404)
- Azure Service: Azure SDK/API/auth layer failed — not an MCP code bug (includes
AggregateException,RequestFailedExceptionwith 5xx) - MCP Tool Bug: Our tool code is wrong —
FormatException,ArgumentNullException,ArgumentException, etc.
Refer to `kql-queries.md` for the full query.
1b. Aggregate KPI — This Week vs Last Week
Compare total calls, success rate, customer errors, Azure service errors, and MCP tool bugs between the current week and the previous week. See `kql-queries.md`.
1c. Error Details
Run the error summary query to get per-tool exception types, messages, and stack traces. Also run the daily error trend query. See `kql-queries.md`.
1d. Duration Percentiles
Get P50/P95/P99 latency for successful calls. See `kql-queries.md`.
1e. Custom Dimension Tags
Query azurebackup/VaultType, azurebackup/WorkloadType, azurebackup/DatasourceType, azurebackup/OperationScope dimensions to see if users have upgraded to versions with telemetry tags. Use queries 7, 11, 12, and 13 from `kql-queries.md`.
Step 2: Gather Git Context
Run these git commands against the microsoft/mcp repository:
Also count tests on main (checkout upstream/main test files first):
Important: Do NOT count[Fact]+[Theory]as the unit test count — that gives youmethod count, not runnable test count. Each[InlineData]on a[Theory]is a separate test.
Step 3: Analyze and Classify
Apply the 3-way error classification:
| Category | Exception Types | What It Means | |
|---|---|---|---|
| Customer (4xx) | RequestFailedException with 400/403/404, KeyNotFoundException | User error — wrong input, missing permissions, resource doesn't exist | |
| Azure Service | AggregateException, RequestFailedException with 5xx | Azure SDK/API/auth layer failure — tool correctly surfaces it | |
| MCP Tool Bug | FormatException, ArgumentNullException, ArgumentException, InvalidOperationException (thrown by our code for unsupported operations) | Our tool code is wrong — needs a fix |
MCP Tool Success Rate = (Total - MCP Tool Bugs) / Total
For each error cluster, determine:
- Is this a new error or seen in previous weeks?
- Is there an existing bug ID (BUG-1 through BUG-8 from the original triage)?
- Has a fix been merged? If so, which PR and release?
- Is the user possibly on an older version (pre-fix)?
Step 4: Generate the Report
Use the `report-template.html` as a starting point.
The report must include these sections in order:
- Header — Title, date range, summary line
- Key Metrics — KPI boxes with week-over-week deltas (Total Calls, MCP Tool Success %, Customer Errors, Azure Service Errors, MCP Tool Bugs, Distinct Users)
- Releases Shipped — Table of releases with Azure Backup changes
- Per-Tool Health Table — 3-way classification with MCP % column
- Error Deep Dive — Analysis of top error patterns
- Error Hotspots — Table by HTTP status code and classification
- Merged PRs — Cards for each merged PR with bug references
- Open PRs — Pending branches
- Bug Tracker — Updated status of all known bugs
- Codebase Snapshot — Tool count, test counts, lines changed
- Action Items — Prioritized next steps
Save the report as azure-backup-telemetry-report-<date>.html (both the styled version and the Outlook-compatible version).
Step 5: Outlook-Compatible Version
For the Outlook version, apply these rules:
- All styles inline (no
<style>block or CSS classes) - Table-based layout instead of flexbox/grid for KPI boxes
- No
border-radius, gradients, or CSS pseudo-elements - Use
cellpadding/cellspacingattributes on tables - Include MSO
PixelsPerInchdeclaration in<head> - Use
border-lefton table cells for callout boxes (instead of separate div)
Error Classification Decision Tree
Customer Report Queries: For customer identification, tool adoption, client distribution,and version analysis, refer to `kql-customer-queries.md`(queries 14–24). These queries use cross-cluster joins tomabprod1(P360) andicmdataro.centralus(C360)for customer name resolution and external/internal classification.Key rule: Always useP360_CustomerName(notCustomerName) from the P360 table.TheCustomerNamefield contains generic tenant names (e.g., "Denis" for Prometeia SpA).
Important: MCP bug exception types must be checked before StatusCode.TheHandleExceptionbase class mapsArgumentNullException(inheritsArgumentException)to HTTP 400, which would incorrectly classify MCP bugs as "Customer" errors if StatusCodeis checked first.
Known Bug IDs
These are the bugs triaged from the original telemetry analysis (April 2026):
| Bug | Tool | Description | Fix PR | Release | |
|---|---|---|---|---|---|
| BUG-1 | backup_status, protecteditem_get | ArgumentNullException on null ResourceType in MapArmResourceTypeToBackupDataSourceType | #2518 (partial), #2621 (defense-in-depth) | beta.7 (partial), pending | |
| BUG-2 | protecteditem_protect | VM pre-discovery loop timeout | #2470 | beta.6 | |
| BUG-3 | protectableitem_list, find-unprotected | Workload normalization ArgumentException in ValidateAndParseResourceTypeFilter | #2518 (partial), #2621 (relaxed regex) | beta.7 (partial), pending | |
| BUG-4 | soft-delete | Deprecated BackupResourceVaultConfig API | #2518 | beta.7 | |
| BUG-5 | enable-crr | Deprecated BackupResourceConfig API | #2518 | beta.7 | |
| BUG-6 | vault_get | FormatException on subscription name (non-GUID) | #2518 | beta.7 | |
| BUG-7 | protecteditem_protect | DPP vault missing managed identity | #2470 | beta.6 | |
| BUG-8 | recoverypoint_get | Null container in resolution | #2518 | beta.7 | |
| NEW-1 | vault_get | AggregateException — pre-existing auth race (Azure Service, not MCP bug) | Not filed | — | |
| NEW-2 | job_get | FormatException in DPP SDK — XmlConvert.ToTimeSpan fails during DataProtectionBackupJobProperties.Deserialize (Azure SDK bug, not MCP code) | #2621 (workaround catch), azure-sdk#59306 (upstream) | pending |
Note: PR #2518 title says "Fix 5 telemetry-triaged bugs (BUG-3,4,5,6,8)" but theactual merged code also includes the BUG-1 fix. However, the #2518 fixes for BUG-1 andBUG-3 were incomplete — confirmed by telemetry on beta.8/beta.9. PR #2621 addsdefense-in-depth fixes for both. Always verify the diff, not just the title.
When new errors appear, assign the next sequential ID (NEW-2, NEW-3, etc.) and add to this table.
References
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 30 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtools/Azure.Mcp.Tools.AzureBackup/skills/azurebackup-telemetry-report/SKILL.md
Popularity
- Repository stars
- 3,813
- Repository forks
- 664
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/mcp/azurebackup-telemetry-report)