Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

get_repository

Read-only

Retrieve details for a specific Azure DevOps repository by name or ID, including optional project and organization context.

Instructions

Get details of a specific repository

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": {
      "repositoryId": "<repositoryId>"
    },
    "name": "get_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNoThe ID or name of the project (Default: MyProject)
repositoryIdYesThe ID or name of the repository
organizationIdNoThe ID or name of the organization (Default: mycompany)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.0
    • addedInput schema / properties / organizationId
      Added value: +{
      +  "description": "The ID or name of the organization (Default: mycompany)",
      +  "type": "string"
      +}
    • changedInput schema / properties / projectId / description
      Previous value: -"The ID or name of the project"New value: +"The ID or name of the project (Default: MyProject)"
    • changedInput schema / required
      Previous value: -[
      -  "projectId",
      -  "repositoryId"
      -]New value: +[
      +  "repositoryId"
      +]
  2. First observed

TDQS

C2.6/5.0
Behavior2/5

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

The readOnlyHint annotation already tells the agent this is a safe read, so the description's only job is to add context such as what the repository lookup requires or how missing IDs behave. It adds nothing: no note on defaults inherited from projectId/organizationId, no indication of what happens when repositoryId resolves to nothing.

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 front-loaded sentence with zero filler — appropriately sized for a trivial read tool. The terseness borders on under-specification, but nothing is wasted.

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

Completeness2/5

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

With no output schema, the description is the only place an agent can learn what "details" actually contains, and it says nothing about the returned fields. Combined with no disambiguation from get_repository_details, an agent cannot be confident it is calling the right tool for the right result.

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 coverage is 100%, so all three parameters including their defaults are documented in the schema itself. The description adds no meaning beyond that, which is the expected baseline when the schema does the work.

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

Purpose3/5

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

"Get details of a specific repository" states a verb and resource, so the basic action is identifiable. However, "details" is generic and there is a sibling named get_repository_details, so the description gives an agent no way to tell which one to call — a genuine ambiguity rather than mere brevity.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of any alternative. The agent must guess between this tool and the closely named get_repository_details, get_project, or get_repository_tree purely from names.

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