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

devops-mcp-server-extension

by hakunova

list_workitem_attachments

Retrieve all attachments for a work item, including file name, size, suffix, temporary download URL, and creator/modifier details.

Instructions

[Project Management] Get the list of attachments for a work item. Returns attachment information including file name, file size, file suffix, download URL (temporary URL with time limit), creator and modifier info.

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>"
    },
    "name": "list_workitem_attachments"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It usefully states that the returned download URL is temporary and time-limited, which is real behavioral value an agent cannot infer from the schema, but it says nothing about pagination, result size limits, ordering, or permission requirements for reading a work item's attachments.

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 sentences, front-loaded with the operation and followed by the return contents. Nearly every clause earns its place; the bracket domain prefix is slightly redundant but harmless.

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 two-parameter read with no output schema, the description covers the return shape (file name, size, suffix, download URL, creator, modifier) well enough to call the tool confidently. The only meaningful gap is the absence of pagination or result-volume guidance.

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% and both parameters (workItemId, organizationId) are documented in the schema, including where to obtain the organization ID. The description adds no additional meaning about identifier formats or scoping, so baseline 3 applies.

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 the list of attachments for a work item') plus a bracketed domain tag, so an agent can distinguish it from sibling readers like list_workitem_activities or get_workitem_file. It stops short of explicitly contrasting itself with get_workitem_file, which retrieves a single file, so no sibling differentiation is spelled out.

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 by the name and first sentence: call it when you need the attachment inventory of a specific work item. There is no explicit when-to-use/when-not-to-use guidance, no mention of prerequisites such as permissions, and no pointer to get_workitem_file for downloading an individual attachment.

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