Skip to main content
Glama

skein_attachments

Destructive

Files attached to an issue or to one of its comments. Uploading takes two calls — action="upload_url", then action="confirm" once the file has landed in storage; an unconfirmed attachment is invisible to list. Presigned URLs expire after 10 minutes. Read-only actions: list, metadata, get_url.

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": {
      "action": "<action>"
    },
    "name": "skein_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do: - "upload_url" → mint a presigned upload URL and create a pending attachment row. The size limit is per instance and is returned as `maxSizeBytes` (over it: attachment_too_large); executable files are refused by extension (attachment_mime_blocked). - "confirm" → mark an uploaded file ready (idempotent; re-emits no event on a second call). - "list" → list every confirmed attachment on an issue. - "metadata" → filename, contentType, sizeBytes, status and uploader of one attachment. - "get_url" → mint a presigned download URL for a ready attachment. - "delete" → hard-delete the row and remove the stored object.
issueIdNoFull hierarchical issue id (e.g. "demo-42"). Required for upload_url and list.
filenameNoOriginal filename, kept as Content-Disposition on download. Required for upload_url.
commentIdNoOptional UUID of a comment under the issue. When set on upload_url, the attachment is scoped to that comment instead of the issue itself.
sizeBytesNoExact file size in bytes. The presigned policy binds this value — uploads of a different size are rejected by S3. Required for upload_url.
contentTypeNoMIME type of the upload (e.g. "image/png"). Re-checked at confirm time. Required for upload_url.
attachmentIdNoAttachment UUID, as returned by upload_url or list. Required for confirm, metadata, get_url and delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With annotations already declaring destructiveHint=true and readOnlyHint=false, the description still earns credit by disclosing non-obvious behavior: an unconfirmed attachment is invisible to list, and presigned URLs expire after 10 minutes. These operational facts are not derivable from the annotations and directly affect call sequencing and retry logic. It doesn't restate the delete/hard-delete semantics or permission requirements, which keeps it short of a 5.

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?

Three compact sentences with the resource identified first, the tricky multi-step flow second, and the safe-action list last. Every clause carries information an agent needs; there is no filler or restatement of the tool name.

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 seven-parameter, six-action tool this covers the highest-risk area (the asynchronous upload handshake and expiry of presigned URLs), and the annotations plus full schema coverage handle safety and per-parameter detail. No output schema exists, so return shapes like metadata fields go unmentioned, leaving a small gap for an agent that must consume results.

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 every parameter including the six-value action enum is already documented in detail. The description adds the cross-call relationship between upload_url and confirm and the URL expiry window, but contributes nothing about issueId, filename, sizeBytes, contentType, or attachmentId beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names the resource precisely (files attached to an issue or one of its comments) and the rest of the description sketches the operation set. An agent immediately knows this is the attachment-management surface, though no sibling tool is named to sharpen the boundary against tools like skein_comment.

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?

The two-call upload sequence is spelled out explicitly with the ordering constraint (upload_url then confirm), and the read-only actions are enumerated so the agent can pick the right action. What's missing is guidance on when NOT to use this tool or which sibling handles adjacent cases; the guidance is all within-tool action selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.