Skip to main content
Glama

vk_get_tasks_f038453ed58c

Retrieve a specific attachment from a Vikunja task by providing task and attachment IDs. Optionally specify a preview size (sm, md, lg, xl) to get an image preview.

Instructions

Get one attachment.. Raw Vikunja REST proxy for GET /tasks/{id}/attachments/{attachmentID}. Get one attachment for download. Returns json on error. This endpoint does not usually require a request body. Path and query parameters are top-level fields. Original parameter names also accept camelCase and snake_case aliases. Authentication is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoTask ID Required.
previewSizeNoThe size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px. If provided, a preview image will be returned if the attachment is an image. Optional.
attachmentIDNoAttachment ID Required.
attachmentIdNoAttachment ID Required.
preview_sizeNoThe size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px. If provided, a preview image will be returned if the attachment is an image. Optional.
attachment_idNoAttachment ID Required.
Behavior4/5

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

With no annotations provided, the description carries the burden and adds meaningful behavioral details: 'Returns json on error', 'does not usually require a request body', parameter aliases, and authentication requirement. It does not detail the success response format (binary file), but 'for download' implies it.

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 concise (about five short sentences) and front-loads the primary purpose. Minor redundancy exists ('Get one attachment' repeated) and a typo ('..'), but overall it is efficient and well-structured.

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 GET proxy with no output schema, the description covers the endpoint, error behavior, body/request details, parameter aliasing, and auth. It could explicitly state the success response is the file content, but 'for download' sufficiently implies it. Overall sufficiently complete for the tool's simplicity.

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?

The schema already documents each parameter with descriptions (100% coverage). The description adds valuable semantic context: parameters are top-level fields and accept camelCase/snake_case aliases, which clarifies the duplicate parameter entries in the schema. However, it adds no new information about individual parameter meanings beyond the schema.

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 'Get one attachment for download' and specifies the exact endpoint 'GET /tasks/{id}/attachments/{attachmentID}'. Despite the tool name suggesting tasks, it unambiguously identifies the resource as attachments, distinguishing it from sibling task tools.

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?

The description implies usage for downloading a specific attachment via the endpoint path, but does not explicitly state when to prefer this over alternatives or exclude other tools. It provides context ('for download') but lacks overt comparison to sibling tools.

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