Skip to main content
Glama
netcare-io

jira-xray-cloud-mcp

by netcare-io

Xray Upload Attachment

xray_upload_attachment

Upload a file and receive an attachment ID to use for evidence or step attachments in Xray Cloud test issues.

Instructions

Upload a file; the returned id can be used as attachment_id in evidence / step attachments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoFile content as text (UTF-8), instead of base64.
filenameYes
mime_typeNoContent type, e.g. 'image/png'.application/octet-stream
content_base64NoFile content, base64 encoded.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds nothing behavioral beyond that — no size limits, no statement about whether re-uploading the same file creates duplicates, no auth requirements.

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?

A single compact sentence with the action front-loaded and the downstream id usage immediately after. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value detail is unnecessary, and the description does mention the key returned id. But for a 4-parameter tool it omits the text-vs-base64 selection rule and any upload constraints, leaving the calling agent to infer them.

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 75%, so the schema largely documents the parameters itself (text vs base64, mime_type default). The description adds no meaning about which of text/content_base64 to choose or that they are mutually exclusive, so it sits at the 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?

The description gives a clear verb+resource ('Upload a file') and adds the downstream payoff: the returned id is usable as attachment_id in evidence / step attachments. That distinguishes it from xray_get_attachment without naming siblings explicitly.

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?

It implies the workflow context (upload first, then reference the id when attaching evidence), which is usable guidance. However, it never names an alternative tool or states when not to use it, nor does it mention prerequisites such as project or auth scoping.

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