Skip to main content
Glama
mcp-devops-onpremise

mcp-devops-onpremise

by zwitbaum

Get repository

devops_repository_get
Read-only

Retrieve details of an on-premises Azure DevOps repository by its name or ID, so AI assistants can look up repository metadata before browsing code or reviewing pull requests.

Instructions

Retrieve repository details by repository name or 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": {
      "repository_id": "<repository_id>"
    },
    "name": "devops_repository_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
repository_idYesRepository name or ID.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered by structured data. The description adds nothing beyond that - no note on visibility/permission scope for repositories (e.g. private vs public) or behavior when the name is ambiguous. It does not contradict the annotations.

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 front-loaded sentence with zero filler; the resource, action and lookup key all appear immediately. Nothing is repeated or wasted.

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?

The tool is simple, one required parameter, annotations present, and an output schema exists so return values need no explanation. However, the description never clarifies the name-vs-ID resolution behavior or failure mode when multiple matches occur, which is the only real ambiguity left for a getter of this kind.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is fully described in the schema, so the baseline of 3 applies. The description slightly reinforces the schema by restating that repository_id accepts either a name or an ID, which is the one semantic subtlety worth surfacing for a lookup tool.

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 states a specific verb ('Retrieve') and resource ('repository details'), plus the lookup key (name or ID). It is clear which operation this is relative to the list/commit/diff repository siblings, though it does not explicitly contrast itself with devops_repository_list.

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: the phrase 'by repository name or ID' signals you need an existing identifier, which implicitly routes enumeration to devops_repository_list. There is no explicit when-to-use, when-not-to-use, or named alternative.

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