Skip to main content
Glama
bruhsb
by bruhsb

paperclip_list_documents

Read-only

Retrieve all document keys attached to an issue. Use this to discover available documents before reading or updating them.

Instructions

List all documents attached to an issue (e.g. plan, notes).

Args:

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

Returns: Pagination envelope { items: DocumentStub[], total, count, offset, limit, has_more, next_offset }. Body not included — use paperclip_get_document.

Examples:

  • Use when: discovering which document keys exist on an issue before reading or updating one

  • Don't use when: you already know the key — use paperclip_get_document 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 documents per page (1–100, default 50)
offsetYesNumber of documents to skip (default 0)
response_formatYesOutput format: 'markdown' (default, human-readable) or 'json' (structured)markdown
Behavior4/5

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

Annotations declare readOnlyHint=true, but description adds value by detailing return format (pagination envelope with DocumentStub[]), mentioning body not included, and listing error codes. 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?

Description is well-structured with sections (Args, Returns, Examples, Error Handling) and is concise at around 100 words. Every sentence adds useful information.

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 list tool with 4 parameters and no output schema, the description explains pagination, return structure, and error handling. Could clarify that default values exist, but overall complete.

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% so baseline is 3. Description's Args section only repeats parameter names and adds an example for issueId, adding marginal value beyond schema's existing descriptions.

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 it lists all documents attached to an issue, using specific verb 'list' and resource 'documents attached to an issue'. It distinguishes from siblings like paperclip_get_document by noting it returns only keys, not body.

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 when-to-use ('discovering which document keys exist') and when-not-to-use ('already know the key – use paperclip_get_document directly') are provided, giving clear decision criteria.

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