Skip to main content
Glama
bruhsb
by bruhsb

paperclip_list_attachments

Read-only

List all attachments on an issue to get IDs and metadata for downloading or deleting files.

Instructions

List all attachments on an issue.

Args:

  • issueId: string — Issue ID or identifier (example: "PAP-42")

  • limit: number — Max attachments per page (1–100, default 50)

  • offset: number — Number of attachments to skip (default 0)

  • response_format: 'markdown' | 'json' — Output format (default 'markdown')

Returns: Pagination envelope { items: Attachment[], total, count, offset, limit, has_more, next_offset }. Each item: id, filename, mimeType, size, createdAt.

Examples:

  • Use when: discovering attachment IDs before downloading or deleting a file

  • Don't use when: you already have the attachment UUID — use paperclip_download_attachment directly

Error Handling:

  • 401: authentication failed → check PAPERCLIP_API_KEY

  • 404: issue not found → verify ID with paperclip_list_issues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueIdYesIssue ID or identifier (e.g. PAP-21)
limitYesMax attachments per page (1–100, default 50)
offsetYesNumber of attachments to skip (default 0)
response_formatYesOutput format: 'markdown' (default, human-readable) or 'json' (structured)markdown
Behavior5/5

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

Annotations already declare readOnlyHint=true. The description adds pagination details, output format options, response structure (pagination envelope with item fields), and error handling (401, 404). No contradictions.

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 well-structured with sections for args, returns, examples, and error handling. It is concise yet covers all necessary details without fluff.

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

Completeness5/5

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

No output schema, but the description fully explains the return format: 'Pagination envelope { items: Attachment[], total, count, offset, limit, has_more, next_offset }' and item fields. Error handling is also covered. Complete for this tool.

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. However, the description adds value by explaining the response structure and pagination behavior, which is not in the schema. It also provides examples and default values.

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 'List all attachments on an issue', specifying the verb and resource. It distinguishes itself from sibling tools like paperclip_download_attachment and paperclip_delete_attachment.

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?

Explicit guidance: 'Use when: discovering attachment IDs before downloading or deleting a file' and 'Don't use when: you already have the attachment UUID — use paperclip_download_attachment directly'. This provides clear when-to-use and when-not-to-use with an alternative.

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/bruhsb/paperclip-mcp'

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