gotoquill
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOTOQUILL_CLOUD | No | Set to 1 to prefer gotoquill; requires GOTOQUILL_RELAY_URL. Set by mcp --http / tunnel. | |
| GOTOQUILL_RELAY | No | Alias for GOTOQUILL_RELAY_URL. | |
| GOTOQUILL_DATA_DIR | No | Where request records are kept. Default: ~/.gotoquill. | |
| GOTOQUILL_PAGE_URL | No | Alias for GOTOQUILL_PAGE_BASE. | |
| OPENCLAW_STATE_DIR | No | OpenClaw state directory used for connect_notifications auto-detection. | |
| GOTOQUILL_PAGE_BASE | No | Where the web/ signing page is hosted. Default: https://example.github.io/gotoquill/. If unreachable, links fall back to sign.html. | |
| GOTOQUILL_RELAY_URL | No | ntfy base URL or your gotoquill Worker URL. Required when using gotoquill/cloud mode. Default: https://ntfy.sh. | |
| GOTOQUILL_CONFIG_DIR | No | Move the configuration folder. | |
| GOTOQUILL_MAX_PDF_MB | No | Maximum PDF size in MB. Default: 50. | |
| GOTOQUILL_NO_KEYRING | No | Set to 1 to force a plain local signatures.json file instead of keychain encryption. | |
| GOTOQUILL_PAGE_CHECK | No | Set to 0 to skip the signing-page reachability check. Default: 1. | |
| GOTOQUILL_RELAY_TYPE | No | Relay type: ntfy or gotoquill. Default: auto (ntfy). | |
| GOTOQUILL_SHARE_LINK | No | Set to 1 to always enable Cloudflare tunnel phone links. | |
| OPENCLAW_CONFIG_PATH | No | Path to the OpenClaw config file used for connect_notifications auto-detection. | |
| GOTOQUILL_CLOUDFLARED | No | Path to the cloudflared executable. | |
| GOTOQUILL_TTL_MINUTES | No | How long a link stays valid. Default: 30. | |
| GOTOQUILL_OPEN_BROWSER | No | Set to 0 to never open a browser. Default: 1. | |
| GOTOQUILL_TUNNEL_PROTOCOL | No | Set to http2 to use TCP instead of UDP for the Cloudflare tunnel. | |
| GOTOQUILL_SHARE_TTL_MINUTES | No | Lifetime for share links in minutes. Default: 15. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Human confirmation required: never claim a document is signed unless the human used the signing UI (or sealed link) and explicitly consented. Do not forge signatures or identity documents. gotoquill / Gotoquill Cloud is not legal advice.
gotoquill gets a human's signature on a local PDF. Simplest: call sign_pdf(pdf_path='/path/file.pdf') when the signer is at this computer; it opens the signing page and waits until it is signed, then returns signed_pdf_path. Otherwise: 1) request_signature(pdf_path='/path/file.pdf') returns request_id and sign_url; send sign_url to the user. 2) In the SAME turn call wait_for_signature(request_id='req_...') and repeat while status is pending. 3) When completed, give the user signed_pdf_path. Every result has a 'next' field: do exactly what it says. Details: read resource gotoquill://help.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| request_signatureA | Ask a human to sign a PDF. Use pdf_path locally or pdf_base64 / pdf_url remotely. Example: request_signature(pdf_path="/home/me/contract.pdf") Returns request_id and sign_url. Send sign_url to the user, then call wait_for_signature(request_id="req_...") in the same turn. delivery: "link" (default, any phone), "page" (opens a local page for a signer at this computer), "file" (offline HTML). If "page" opens, waits up to 120 s for signing. Signature spots are automatic. Full options: resource gotoquill://help. |
| get_signature_statusA | Check a signing request. Example: get_signature_status(request_id="req_0123456789abcdef") status: pending, completed, declined, expired or cancelled. When completed it has signed_pdf_path: send that file to the user. Pass wait_seconds=600 to wait. request_id defaults to the latest request. |
| connect_notificationsA | Optional one-time setup so a finished signature wakes you later. Not needed for normal signing. Example: connect_notifications(webhook_url="https://example.com/hook"); action: connect|status|test|remove. OpenClaw is auto-detected (changing an existing config needs yes=true after showing the plan). |
| wait_for_signatureA | Wait until the human signs (up to 600 s). Call right after request_signature, in the same turn. Example: wait_for_signature(request_id="req_0123456789abcdef") request_id defaults to the latest request. If status is still pending, call it again. When completed, tell the user signed_pdf_path. |
| sign_pdfA | EASIEST: get a PDF signed in ONE call. Opens the signing page and waits until it is signed. Example: sign_pdf(pdf_path="/home/me/contract.pdf") Remote agents may pass pdf_base64 or pdf_url instead of pdf_path. Returns status and signed_pdf_path; tell the user signed_pdf_path (or signed_pdf_url over HTTP). delivery "page" (default) = the signer is at this computer; use "link" to get a phone link instead. |
| cancel_requestA | Cancel a pending request. Example: cancel_request(request_id="req_0123456789abcdef") |
| apply_signature_responseA | Finish a delivery='file' request with the human's reply. Example: apply_signature_response(request_id="req_...", response_text="GOTOQUILL1...") or response_path="/path/x.gotoquill". Writes the signed PDF + audit JSON. |
| ui_load_documentB | (In-chat view only) Load the document preview for a signing request. |
| ui_submit_signatureA | (In-chat view only) Submit the human's signature or decline. Saved signatures need the page's one-time vault_nonce, which only the human's view receives. |
| ui_delete_saved_signatureB | (In-chat view only) Delete a saved signature when the human clicks Delete. Returns no images. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| try_gotoquill | Create a short sample NDA and let me sign it. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| gotoquill signing view | In-chat page where the human previews the PDF and signs it |
| gotoquill full guide | Full guide: delivery modes, placements, dates, hooks, return_to, file mode. |
TDQS
Scored across 10 tools
Most tools have distinct purposes, and the descriptions clarify in-chat UI tools versus backend workflow tools. Some overlap exists between get_signature_status and wait_for_signature, and sign_pdf partially bundles request_signature plus wait_for_signature, but the intended usage is explained.
All tool names use snake_case with a predictable verb_noun or action_resource pattern. The ui_ prefix consistently marks in-chat view-only operations.
Ten tools is well-scoped for a PDF signing workflow. Each tool covers a distinct stage or interface mode without excessive surface area.
The set covers the core signing lifecycle: request, status, wait, sign, cancel, offline response application, notifications, and in-chat UI actions. Minor gaps exist around listing or managing multiple requests and saved signatures beyond deletion, but core workflows are covered.