Skip to main content
Glama
0xkillaflow

Redmine MCP Server

by 0xkillaflow

Upload attachment

redmine_upload_attachment

Upload a local file to Redmine and get an upload token. The token must be used promptly to attach the file in a create or update issue call.

Instructions

Upload a local file to Redmine and get back an upload token. This is the first half of a two-step flow and does nothing visible on its own: the token is not attached to anything until you pass it to redmine_create_issue or redmine_update_issue in their uploads array (e.g. uploads: [{ token, filename, description }]) — the returned object is already shaped for exactly that. Tokens expire, so make the second call promptly. The file must sit inside the operator-configured REDMINE_ALLOWED_DIRECTORIES, and Redmine may reject files over its own attachment size limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the local file to upload. It must resolve to a location inside one of the directories the operator allowlisted in REDMINE_ALLOWED_DIRECTORIES; anything else — including a symlink pointing out of them — is refused. If no directory is allowlisted, file access is disabled entirely.
descriptionNoOptional caption for the attachment. It is not stored by the upload itself — it is returned so you can pass it along in the `uploads` entry.
Behavior5/5

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

Beyond annotations (non-readOnly, non-destructive), the description adds critical context: the operation is invisible on its own, tokens expire, file path must be in REDMINE_ALLOWED_DIRECTORIES, and Redmine may reject oversized files. No contradiction with annotations.

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 concise (4 sentences), front-loaded with the primary action, then flows naturally into usage details, token expiry, and constraints. Every sentence serves a purpose with no redundancy.

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?

Given the tool is part of a two-step flow and has no output schema, the description covers the token's purpose, expiry, and integration with sibling tools. It hints at size limits but doesn't explain how to check them, leaving minor room for improvement. Otherwise, it is well-rounded.

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 coverage is 100%, so baseline is 3. The description adds meaning by explaining that file_path must be local and in allowed directories, and that description is optional and returned for passing along in the uploads array. It also clarifies how the returned object is shaped. This goes beyond the schema, earning a 4.

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 'Upload a local file to Redmine and get back an upload token' as the core action, and explains it is the first half of a two-step flow, distinguishing it from sibling tools that attach the token (redmine_create_issue, redmine_update_issue).

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

Usage Guidelines5/5

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

Explicitly states when to use (before create/update issue), warns that the token does nothing on its own, advises to make the second call promptly due to token expiry, and mentions constraints like allowed directories and size limits. Provides clear when-not-to-use context.

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/0xkillaflow/agama-redmine-mcp'

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