Skip to main content
Glama

task_attachment_get

Read-onlyIdempotent

Retrieves a single task attachment as base64 content by attachment ID, so you can read or process it. Check metadata first and load large files only when necessary.

Instructions

Read one attachment as base64 content. Inspect metadata first and avoid loading large files unless needed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "attachmentId": "<attachmentId>"
    },
    "name": "task_attachment_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
attachmentIdYesAttachment ID returned by task_attachment_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the bar is lower. The description adds the useful facts that the payload comes back as base64 and that size is a real consideration, which is behavioral context the annotations do not convey. It does not mention how oversized attachments fail or whether metadata accompanies the content.

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 short sentences with the operation and return type front-loaded, followed by the operational caution. Nothing is redundant or padded.

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?

With no output schema, the description does cover what comes back (base64 content), which is the key missing piece an agent would need. For a one-parameter read tool this is nearly complete; only failure behavior for large attachments is left unspecified.

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 coverage is 100%, and the single attachmentId parameter is documented as coming from task_attachment_list. The description adds no format, range, or validity detail beyond that, so the baseline of 3 applies.

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 pairs a specific verb and resource with the exact return format: 'Read one attachment as base64 content.' This clearly separates it from task_attachment_list, which the phrase 'Inspect metadata first' implicitly points to, so an agent knows this tool fetches payload rather than listing.

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?

It gives ordering guidance ('Inspect metadata first') and a caution against pulling large files unnecessarily, which tells the agent when to prefer the listing tool. It stops short of naming task_attachment_list explicitly or stating any hard exclusion, so it is clear but not fully prescriptive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.