Skip to main content
Glama
zwitbaum

mcp-devops-onpremise

by zwitbaum

devops_work_item_attachment_get

Read-only

Retrieve a work item attachment by its ID and file name. Returns content as base64 or saves to a local directory.

Instructions

Download a work item attachment by specified ID. Returns base64-encoded content, or saves to a local directory if savePath is provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attachment_idYesThe GUID of the attachment.
file_nameYesThe file name of the attachment. Used to determine the MIME type. If save_path is provided, the file is saved under this name.
save_pathNoOptional directory path to save the file to. If omitted, returns the content as a base64-encoded resource. NOTE: relative paths are resolved against the MCP server's working directory; paths starting with '..' are not allowed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses the two output modes (base64-encoded content or file save). This adds behavioral context that annotations alone do not cover.

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?

Two sentences, front-loaded with the core purpose. No redundant information, every sentence adds value.

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 download tool with an output schema, the description adequately covers the two modes. It could mention error handling or authentication, but is sufficiently complete for normal use.

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 covers all parameters with descriptions (100% coverage). The description adds meaning by explaining the effect of savePath and how file_name is used for MIME type and file name when saving.

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?

Clearly states the tool downloads a work item attachment by ID. The two behaviors (returning base64-encoded content or saving to a local directory) are explicitly described, distinguishing it from sibling tools that operate on pull requests, repositories, or wiki pages.

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?

No explicit guidance on when to use this tool versus alternatives. However, sibling tools are all different operations, so the usage context is implied. Lacks when-not-to-use or alternative tool names.

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/zwitbaum/mcp-devops-on-prem'

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