Skip to main content
Glama

vk_put_tasks_25d391326d4f

Upload attachments to a Vikunja task by passing multipart form data with files, each containing filename and contentBase64.

Instructions

Upload a task attachment. Raw Vikunja REST proxy for PUT /tasks/{id}/attachments. Upload a task attachment. You can pass multiple files with the files form param. Pass multipart form data in the form field. File values use an object with filename, contentBase64 and optional contentType. Multi-file fields accept arrays. Path and query parameters are top-level fields. Original parameter names also accept camelCase and snake_case aliases. Form fields: files. Required: files. Authentication is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoTask ID Required.
formYesMultipart form data fields: files (string, required). Use file objects shaped like { filename, contentBase64, contentType? }. Non-file objects are JSON-stringified before upload.
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does state that authentication is required and explains the multipart/file object mechanics. However, it omits side effects (e.g., whether existing attachments are replaced), response behavior, and error handling. This is a mutation tool, so such details matter; the description covers only part of the behavioral profile.

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?

The description is mostly concise and front-loaded with the core purpose. However, 'Upload a task attachment.' appears twice, which is redundant and wastes words. The rest of the sentences are purposeful, explaining file encoding, aliases, and requirements, so it remains efficient overall despite the duplication.

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 raw proxy with no output schema, the description covers the key input mechanics: required fields, file format, multipart handling, and authentication. It does not describe the return value or error scenarios, which would be expected for a complete tool description, especially given the lack of an output schema. This prevents a 5 but the overall coverage is strong.

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 the baseline is 3. The description adds value beyond the schema by explaining file object structure ({filename, contentBase64, contentType?}), multi-file array support, and that camelCase/snake_case aliases are accepted. This helps the agent construct parameters correctly, going beyond what the schema's 'description' field already provides.

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 opens with 'Upload a task attachment,' a specific verb and resource that clearly distinguishes this tool from the many vk_put_tasks variants in the sibling list, none of which mention attachments. The endpoint PUT /tasks/{id}/attachments is explicitly stated, leaving no ambiguity about the tool's function.

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 provides clear usage context: multiple files can be passed, multipart form data is required, and aliases are supported. It does not explicitly mention when to use this tool over alternatives, but the raw proxy framing and attachment-specific purpose implicitly guide the agent. There are no exclusions or alternatives mentioned, so it stops short of a 5.

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/shichao402/vikunja-mcp'

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