Skip to main content
Glama
bruhsb
by bruhsb

paperclip_delete_document

Destructive

Delete a document from an issue by specifying the issue ID and document key. Requires a board API key for permission.

Instructions

⚠ Board-only: Delete a document from an issue by key.

Args:

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

  • key: string — Document key to delete (example: "plan")

Returns: Returns the deleted document stub confirming the key and issueId.

Examples:

  • Use when: removing an obsolete document from an issue (requires board API key)

  • Don't use when: you want to clear the body — use paperclip_upsert_document with an empty body instead

Error Handling:

  • 401: authentication failed → check PAPERCLIP_API_KEY

  • 403: permission denied → this tool requires a board (human) API key

  • 404: document or issue not found → verify both issueId and key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueIdYesIssue ID or identifier (e.g. PAP-22)
keyYesDocument key (e.g. `plan`)
Behavior5/5

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

Annotations mark destructiveHint=true, and the description goes beyond by listing error codes (401,403,404) with remedies, return type (deleted document stub), and access constraints (Board-only). No contradictions with annotations.

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?

Information is logically sectioned with emojis, bullet points, and clear headings. Every sentence serves a purpose—no redundancy. Front-loaded with the critical action and context.

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?

For a simple delete with 2 params and no output schema, the description fully covers purpose, usage, parameters, errors, and return value. No gaps remain.

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 repeats parameters (issueId, key) with examples but adds no new semantic detail beyond what the schema provides. The Board-only context is the only additional insight.

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 explicitly states 'Delete a document from an issue by key', specifying the action (delete), resource (document), and scope (by issue key). It distinguishes from siblings like paperclip_upsert_document by noting the Board-only requirement and providing a concrete usage example.

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?

Provides clear when-to-use ('removing an obsolete document') and when-not-to-use ('clear the body' → use upsert) guidance. Also specifies that board API key is required, which sets expectations for auth context.

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