Skip to main content
Glama
devops-mcp-server-extension

devops-mcp-server-extension

by hakunova

get_workitem_file

Fetches file information from a work item, including name, size, suffix, and a time-limited download URL for accessing the attached file.

Instructions

[Project Management] Get a specific file information from a work item. Returns file details including file name, file size, file suffix, and a temporary download URL with time limit.

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": {
      "organizationId": "<organizationId>",
      "workItemId": "<workItemId>",
      "fileId": "<fileId>"
    },
    "name": "get_workitem_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYes文件唯一标识
workItemIdYes工作项唯一标识
organizationIdYes企业ID,可在组织管理后台的基本信息页面获取

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the return payload (file name, size, suffix) and importantly that the download URL is time-limited, which is genuine behavioral context; however, it omits permission requirements, what happens on an expired URL, and any failure modes.

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?

Two tightly packed sentences with the action front-loaded and no wasted clauses. Minor awkwardness in 'Get a specific file information' but nothing that impedes parsing.

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?

There is no output schema, and the description covers the meaningful return fields plus the temporary nature of the URL, which is the key operational detail for a read-and-download tool. Given three fully documented parameters, it is nearly complete; only permission and error behavior are missing.

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%, so all three parameters (organizationId, workItemId, fileId) are documented in the schema itself. The description adds no extra meaning such as format, source, or constraints beyond that baseline.

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 a specific file's information from a work item. It is clearly a single-item read, distinct in shape from list-style siblings, though it never names or contrasts any alternative like list_workitem_attachments or get_file_blobs.

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?

The description gives no explicit when-to-use guidance, no prerequisites, and no routing to alternatives. The need for a fileId implies the ID must already be known (e.g. from an attachment listing), but that workflow dependency is left for the agent to infer.

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

Deploy Server

Other Tools