Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PAPERCLIP_RUN_IDNoRun identity sent on mutations and used in snapshot paths.
PAPERCLIP_API_KEYNoBearer token for API requests.
PAPERCLIP_API_URLYesPaperclip base URL.
PAPERCLIP_TASK_IDNoCurrent task context.
PAPERCLIP_AGENT_IDNoCurrent agent; required for issue checkout.
PAPERCLIP_COMPANY_IDNoCompany context; required by company-scoped tools.
PAPERCLIP_APPROVAL_IDNoCurrent approval context.
PAPERCLIP_WAKE_REASONNoWake reason exposed by paperclip_context.
PAPERCLIP_MCP_TELEMETRYNoEnable operation telemetry.true
PAPERCLIP_MCP_TIMEOUT_MSNoAPI request timeout.30000
PAPERCLIP_APPROVAL_STATUSNoCurrent approval status.
PAPERCLIP_WAKE_COMMENT_IDNoComment that triggered the run.
PAPERCLIP_LINKED_ISSUE_IDSNoComma-separated linked issue IDs.
PAPERCLIP_MCP_ARTIFACT_DIRNoSnapshot output directory.
PAPERCLIP_MCP_HEADERS_JSONNoAdditional request headers as a JSON object.{}
PAPERCLIP_WAKE_PAYLOAD_JSONNoJSON wake payload rendered by paperclip_context.
PAPERCLIP_MCP_TELEMETRY_FILENoOptional telemetry JSONL output path.
PAPERCLIP_MCP_INLINE_TOKEN_THRESHOLDNoMaximum estimated tokens returned inline.30000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
paperclip_contextA

Read the current Paperclip run/wake environment without an API call. Returns LLM-friendly Markdown inline when it fits the configured token threshold; otherwise returns only a new immutable snapshot path.

paperclip_inboxA

Fetch the current agent compact inbox. Returns Markdown inline when it fits the configured token threshold; otherwise returns only a new immutable snapshot path. Call again whenever fresh assignment state matters.

paperclip_issueA

Fetch one issue with GET /api/issues/:id. Returns Markdown inline when it fits the configured token threshold; otherwise returns only a NEW immutable snapshot path. all_fields=true only expands fields from that same response; it never changes the endpoint. Never edit snapshots to modify Paperclip.

paperclip_heartbeat_contextA

Fetch GET /api/issues/:id/heartbeat-context explicitly. Returns Markdown inline when it fits the configured token threshold; otherwise returns only a NEW immutable snapshot path. Use this when the smaller wake/execution context is what you want. all_fields=true only expands fields from this same heartbeat-context response.

paperclip_issuesA

Return a compact Markdown list from GET /api/companies/:companyId/issues. With no filters and no limit, Paperclip returns all visible company issues. Filters narrow the list; limit caps it. Results are inline below the configured token threshold and otherwise returned as a snapshot path. Use paperclip_issue for details on one issue.

paperclip_issue_createA

Create an issue/subtask in authoritative Paperclip state. Returns only a compact acknowledgement; the full created issue response is deliberately not injected into model context.

paperclip_issue_updateA

Update authoritative issue state. Use this for status/assignment/field changes and optional comments; never edit snapshot files. Returns only a compact acknowledgement.

paperclip_issue_checkoutA

Atomically claim an issue for the current agent. A 409 is terminal: do not retry or steal the lock. Set reclaim_stale=true only when adopting your own stale in_progress checkout after a crashed run.

paperclip_issue_releaseA

Release the current agent checkout and return the issue to todo. Returns only a compact acknowledgement.

paperclip_commentsA

Fetch issue comments as Markdown. Results are inline below the configured token threshold and otherwise returned as a new immutable snapshot path. Use after_comment_id for deltas instead of replaying an entire thread when possible. Call again for fresh comments.

paperclip_comment_addA

Add a comment to authoritative Paperclip state. Returns only a compact acknowledgement; the full created comment response is not injected into context.

paperclip_documentsA

List issue documents as compact Markdown. Results are inline below the configured token threshold and otherwise returned as a new immutable snapshot path. Default output omits document bodies; call paperclip_document for a body or all_fields=true for every returned field.

paperclip_documentA

Fetch one issue document as Markdown. Results are inline below the configured token threshold and otherwise returned as a new immutable snapshot path. Annotation loading is controlled explicitly with include_annotations/include_annotation_comments. all_fields=true only expands fields from the same response.

paperclip_document_putA

Create a document or append a new revision. Updating an existing document normally requires base_revision_id from a fresh paperclip_document result. Returns only a compact acknowledgement.

paperclip_agentsA

List company agents, or fetch one agent when id is supplied. Returns Markdown inline below the configured token threshold and otherwise only a new immutable snapshot path. Use all_fields=true only when compact agent fields are insufficient.

paperclip_rawA

Fallback for Paperclip endpoints not covered by dedicated tools. Relative same-origin paths only. GET/HEAD return Markdown inline below the configured token threshold and otherwise only a new immutable snapshot path; mutations return only a compact acknowledgement. Prefer dedicated tools.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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