Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

get_workitem_file

Retrieve file details for a work item using either file IDs for embedded images or numeric attachment IDs, returning file name, size, suffix, and a temporary download URL.

Instructions

[Project Management] Get file information for a specific work item. Supports both file IDs (long hex for description-embedded images) and attachment IDs (numeric like 62487031). Returns file details including name, size, suffix, and a temporary download URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes文件唯一标识。支持两种格式:文件ID(长hex字符串,用于描述中嵌入的图片)或附件ID(纯数字如 62487031,用于普通附件)
workitemIdYes工作项唯一标识
organizationIdYesOrganization ID
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It transparently discloses that it returns file name, size, suffix, and a temporary download URL, and explains the two supported ID formats. This is sufficient for a read-only retrieval operation, though it does not detail permission requirements or URL expiration behavior.

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 two sentences, front-loaded with the main purpose, and every phrase adds value. It avoids redundancy and awkward structure while packing in ID-format distinctions and return-value details.

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?

For a simple read-only fetch tool with 3 required params and no output schema, the description is reasonably complete. It identifies required inputs and explains what will be returned, including the temporary URL. It could go a bit further by clarifying error scenarios or URL expiry, but it is well-suited to support tool selection and invocation.

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 the structured schema already documents all three parameters. The tool description adds some context around the 'id' parameter (file IDs vs attachment IDs), but this largely duplicates the schema description. It does not meaningfully supplement the meaning of organizationId or workitemId beyond the schema.

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 clearly states 'Get file information for a specific work item', giving a specific verb and resource. It explicitly distinguishes between file IDs and attachment IDs, and lists what is returned, making it easy to tell apart from related tools like list_workitem_attachments.

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

Usage Guidelines4/5

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

The description establishes clear usage context: use it to retrieve a single file/attachment for a work item when you have a specific ID. It does not explicitly name alternatives or say when not to use it, but the specificity of 'specific work item' and the ID-format explanation provide strong practical guidance.

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

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/aliyun/alibabacloud-devops-mcp-server'

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