Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

get_test_plan

Read-only

Retrieve details for a specific Azure DevOps test plan by ID, including its root suite ID, to inspect plan metadata and reference the correct suite.

Instructions

Get details of a specific test plan by ID (including its rootSuite ID)

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": {
      "planId": "<planId>"
    },
    "name": "get_test_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
planIdYesThe numeric ID of the test plan
projectIdNoThe ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.11

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds one piece of behavioral value beyond annotations: the result includes the rootSuite ID, which is a useful hint for chaining into get_test_suite. It says nothing about not-found behavior or what else the response contains.

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?

A single short sentence with the key constraint (by ID) front-loaded and a parenthetical that carries real information. No filler or redundant restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only lookup with full schema coverage and a readOnly annotation, the description covers enough to invoke it correctly. With no output schema, though, a bit more about the returned detail (beyond rootSuite ID) would help an agent decide whether this call suffices or needs a follow-up.

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 planId and projectId both documented in the schema including projectId's default and env-var fallback. The description only restates that lookup is by ID, adding no format or edge-case meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Get details of a specific test plan') and scopes it to a single item 'by ID', which distinguishes it from list_test_plans and create_test_plan without naming them. It also notes the response includes the rootSuite ID. It stops short of explicitly routing the agent to siblings.

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?

The 'by ID' phrasing implies this is the follow-up call once a plan ID is known (e.g., from list_test_plans), but no when-to-use or when-not-to-use guidance, prerequisites, or alternatives are named. Usage is inferable rather than stated.

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