Skip to main content
Glama
iimsaurav

Azure DevOps MCP Server

by iimsaurav

get_file_content

Fetch the contents of a file from an Azure DevOps Git repository using repository ID, file path, and an optional branch.

Instructions

Get the content of a file from a Git repository.

Args: project: Azure DevOps project name. Uses default if not specified. repository_id: The repository ID or name. path: File path in the repository (e.g., "/src/main.py"). branch: Optional branch name (defaults to the repository's default branch).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNo
repository_idNo
pathNo
branchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It only outlines parameters and defaults, omitting details like return format (e.g., raw text vs. binary), size limits, error handling for missing files, or authentication requirements. This leaves significant ambiguity for the agent.

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?

The description is extremely concise: a one-line purpose followed by a bulleted list of parameters. Each sentence serves a clear function without redundancy. The structure is well-organized and front-loaded with the key action.

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?

Despite the absence of annotations and moderate parameter count (4), the description covers the essential aspects: purpose, parameters with defaults. Since an output schema exists, describing return values is unnecessary. However, it lacks details on file type handling and error scenarios, which slightly limits completeness.

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?

The input schema has 0% description coverage, but the description manually explains each parameter with practical details (e.g., 'Uses default if not specified' for project, 'Optional branch name (defaults to the repository default branch)'). This adds meaningful context beyond the schema's empty strings.

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

Purpose5/5

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

The description explicitly states 'Get the content of a file from a Git repository.' This clearly identifies the action (get), resource (file content), and scope (Git repository), effectively differentiating from sibling tools like get_repository or get_commits.

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 description implies usage for retrieving file content but does not explicitly state when to use this tool versus alternatives (e.g., get_wiki_page for wiki files). No guidance on prerequisites or when not to use it is provided, making the guidance adequate but not detailed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iimsaurav/azure-devops-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server