Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

get_analytics_schema

Read-onlyIdempotent

Inspect Azure DevOps Analytics OData metadata to list available entity sets or view properties, Custom_* fields, and navigation properties for a selected entity set.

Instructions

Inspect Azure DevOps Analytics OData $metadata schema to list available entity sets or inspect exact properties, Custom_* fields, and navigation properties of a chosen entity set (supports Cloud and on-prem Server).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_analytics_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoAnalytics query scope: "project" (recommended default) or "organization" (org/collection-wide metadata).project
versionNoAzure DevOps Analytics OData version (default: "v3.0-preview" for Cloud + Server 2019/2020/2022 compatibility; "v4.0-preview" adds pool capacity snapshots).v3.0-preview
entitySetNoOptional OData entity set name to inspect in detail (e.g. "WorkItems", "PipelineRuns", "TestResultsDaily"). Omit to list all available entity sets.
projectIdNoProject ID or name (defaults to AZURE_DEVOPS_DEFAULT_PROJECT when scope is "project").
organizationIdNoOptional Azure DevOps organization (Cloud) or collection (Server) override.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.13

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds useful context beyond that - dual-mode reading of $metadata and Cloud plus on-prem Server support - but says nothing about return shape (entity-set list vs property listing) for a tool with no output schema.

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

Conciseness4/5

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

A single dense sentence that front-loads the resource and then the two usage modes, with the environment-compatibility note parenthesized at the end. No filler, though the density makes the two modes slightly harder to parse at a glance.

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 read-only metadata tool with full schema coverage and annotations carrying the safety profile, the description covers purpose, both modes, and environment support. The only real gap is the absence of any hint about the response shape, which matters somewhat since no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with enums for scope and version and explicit docs for entitySet, projectId, and organizationId, so the baseline is 3. The description adds no per-parameter meaning beyond what the schema already states; the entitySet dual behavior is fully documented in the schema itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Inspect') and resource ('Azure DevOps Analytics OData $metadata schema') and distinguishes two modes: listing available entity sets versus drilling into a chosen entity set's properties, Custom_* fields, and navigation properties. It does not explicitly contrast itself with siblings such as query_analytics or get_analytics_metrics, but the metadata-discovery purpose is unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: an agent can infer this is the discovery step before running queries, and the 'Omit to list all available entity sets' behavior lives in the schema. There is no explicit when-to-use, when-not, or named alternative to consult instead.

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