{"server":"propertrust","version":"1.2.0","endpoint":"https://api.propertrust.com/mcp","tools":[{"name":"pt_whoami","title":"Who am I","description":"The account behind the key: name, identity level, what the key may do. Call it first to check that the connection works.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"title":"Who am I","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_catalog","title":"Catalogue of options","description":"The fixed lists the other calls refer to: contract types with their default roles and fields, legal systems, governing laws with default venue, arbitration institutions, document kinds, identity levels.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"title":"Catalogue of options","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_guide","title":"Read the guide","description":"The ProperTrust guide for agents, chapter by chapter. Without a topic it lists the chapters. Read \"overview\" before your first task, \"contracts\" before creating an agreement, \"confidentiality\" before handling anything sensitive, \"telegram\" before passing Telegram handles. Topics: overview, contracts, distribution, signatures, confidentiality, telegram, recipes, errors.","inputSchema":{"type":"object","properties":{"topic":{"type":"string","enum":["overview","contracts","distribution","signatures","confidentiality","telegram","recipes","errors"],"description":"Chapter to read. Leave out for the list of chapters."}},"required":[],"additionalProperties":false},"annotations":{"title":"Read the guide","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_templates_list","title":"List templates","description":"The templates of the account's library with their key and the variables each one needs.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"title":"List templates","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_template_get","title":"Read a template","description":"One template with its wording in Markdown. Variables appear as {{name}}.","inputSchema":{"type":"object","properties":{"template":{"type":"string","maxLength":64,"description":"Template key (for example shop.product-x) or id."}},"required":["template"],"additionalProperties":false},"annotations":{"title":"Read a template","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_contract_compose","title":"Compose a contract","description":"Builds the wording of a contract from structured input with the same deterministic composer as the contract assistant in the panel: no language model is involved, the clauses come from the ProperTrust clause library and depend on contract type, governing law and dispute forum. Returns Markdown. With save_draft the result is also stored as a draft the account holder can review and edit in the panel. Pass the Markdown, or the draft id, to agreement_create to start the signature round. Call catalog for the allowed values.","inputSchema":{"type":"object","properties":{"contract_type":{"type":"string","enum":["nda","service","consulting","contractor_terms","employment","sales","loan","convertible","shareholders","licence","lease","mou","settlement","custom"],"description":"Kind of contract."},"title":{"type":"string","maxLength":160,"description":"Title printed on the contract."},"parties":{"type":"array","minItems":2,"maxItems":12,"description":"The parties in order. The first one takes the first default role of the contract type.","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":160},"role":{"type":"string","maxLength":60},"entity_type":{"type":"string","enum":["company","individual"]},"country":{"type":"string","maxLength":80},"address":{"type":"string","maxLength":200},"reg_no":{"type":"string","maxLength":60,"description":"Company registration number."},"representative":{"type":"string","maxLength":120},"email":{"type":"string","format":"email","maxLength":190}}}},"governing_law":{"type":"string","enum":["ch","de","at","li","fr","it","es","nl","be","lu","pl","se","ew","ie","sg","hk","au_nsw","ca_on","us_de","us_ny","us_ca","us_tx","us_wy","us_fl","us_nv","unidroit","cisg_ch","neutral_ch","neutral_ew"],"description":"Default ch (Swiss law). The legal system, the venue and the language default from it."},"language":{"type":"string","enum":["en","de"],"description":"Language of the wording."},"purpose":{"type":"string","maxLength":2000,"description":"Background of the deal, printed as recitals."},"fields":{"type":"object","additionalProperties":true,"description":"Content fields of the contract type, as named in catalog.fields: for example amount, currency, payment_terms, scope, deliverables, start_date, goods, premises, interest_rate, maturity_date. Also: effective_date, term_type (indefinite|fixed), term_months, notice_period_days, confidentiality_years, liability_cap, non_compete_months, ip_to_client, exclusive."},"special_clauses":{"type":"string","maxLength":8000,"description":"Your own wording, appended as a numbered section."},"venue_city":{"type":"string","maxLength":80},"venue_country":{"type":"string","maxLength":80},"venue_exclusive":{"type":"boolean","description":"Exclusive jurisdiction, default true."},"escalation":{"type":"boolean","description":"Thirty days of negotiation before any proceedings, default true."},"arbitration":{"type":"boolean","description":"Arbitration instead of state courts, default false."},"arbitration_institution":{"type":"string","enum":["swiss","icc","lcia","dis","viac","scc","siac","hkiac","icdr","jams","uncitral"]},"arbitration_seat":{"type":"string","maxLength":80},"arbitrators":{"type":"integer","enum":[1,3]},"arbitration_language":{"type":"string","maxLength":40},"require_level":{"type":"integer","minimum":1,"maximum":4,"description":"Identity level every signer needs, default 1."},"open_for_parties":{"type":"boolean","description":"Further parties may accede later; adds an accession clause."},"save_draft":{"type":"boolean","description":"Also store the wording as a draft in the panel (needs the write scope)."}},"required":["contract_type","title","parties"],"additionalProperties":false},"annotations":{"title":"Compose a contract","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_agreement_create","title":"Create an agreement","description":"Freezes a wording and starts the signature round: the text is rendered to PDF, hashed, stored encrypted and anchored in Bitcoin, and every party is invited to read it clause by clause and sign. Give exactly one source: template (with variables), wording (Markdown, sections start with \"## \"), draft (id from contract_compose), or a finished file (file_base64 with filename; REST also takes the multipart part \"file\"). The account behind the key is always the first party. This sends messages to other people: e-mail to parties with an email, and a Telegram message from the ProperTrust bot to parties with a telegram handle. The answer lists, under \"telegram\", what the bot could do for each handle and the start link to pass on where it could not write. Guide: topics contracts, distribution, telegram.","inputSchema":{"type":"object","properties":{"template":{"type":"string","maxLength":64,"description":"Key or id of a library template."},"variables":{"type":"object","additionalProperties":true,"description":"Values for the template variables."},"wording":{"type":"string","maxLength":200000,"description":"Your own wording in Markdown. Each \"## Heading\" becomes one clause the parties acknowledge."},"draft":{"type":"string","maxLength":64,"description":"Id of a draft stored with contract_compose or in the panel."},"file_base64":{"type":"string","maxLength":16000000,"description":"A finished contract file (PDF or other), base64 encoded, up to about 11 MB. It is signed as a whole: no clauses, each party confirms once that it read the document."},"filename":{"type":"string","maxLength":160,"description":"File name with extension, with file_base64."},"title":{"type":"string","maxLength":160,"description":"Required with wording and with a file; optional otherwise."},"language":{"type":"string","enum":["en","de"],"description":"Language of the verification notice on the PDF when you pass wording. Default en."},"parties":{"type":"array","maxItems":25,"description":"The other parties, each with a name and an email, a telegram handle, or both. Required with template.","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":160,"description":"Name of the person or company."},"email":{"type":"string","format":"email","maxLength":190,"description":"Where the signature invitation goes by e-mail."},"telegram":{"type":"string","maxLength":64,"description":"Telegram handle of the party (@name, name or t.me/name). The ProperTrust bot then invites the party and lets it read and sign in the private chat; if the bot may not write to that account yet, the answer carries a start link to pass on. A party needs an email, a telegram handle, or both."},"role":{"type":"string","maxLength":60,"description":"Role in the contract, for example Buyer."}}}},"message":{"type":"string","maxLength":1500,"description":"Note shown in the invitation."},"pin":{"type":"string","pattern":"^[0-9]{4,8}$","description":"Optional PIN (4 to 8 digits) for the printed verification code: with it, the public check page shows the wording and the parties."},"require_level":{"type":"integer","minimum":1,"maximum":4,"description":"Identity level every signer needs (wording and file; templates and drafts carry their own)."},"open_for_parties":{"type":"boolean","description":"Keep the round open so parties can be added after others have signed (wording and file)."},"idempotency_key":{"type":"string","maxLength":120,"description":"Optional. Repeat a call with the same value within 24 hours and you get the first result back instead of a second record. In REST the header Idempotency-Key does the same."}},"required":[],"additionalProperties":false},"annotations":{"title":"Create an agreement","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"pt_agreements_list","title":"List agreements","description":"Agreements the account owns or is a party to, newest first.","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["collecting","completed","cancelled"],"description":"Only this status."},"role":{"type":"string","enum":["owner","party"],"description":"Only those the account owns, or only those of others it is a party to."},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Rows per page, default 25."},"page":{"type":"integer","minimum":1,"maximum":1000,"description":"Page number, default 1."}},"required":[],"additionalProperties":false},"annotations":{"title":"List agreements","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_agreement_get","title":"Read an agreement","description":"Status of one agreement: who was invited, who read, who signed (with the signature record: method, time, identity level, hash), who declined, how far the Telegram bot got with each party, the hash of the document, the Bitcoin anchor, the verification code, and after completion the bundle hash and the editions. This is the call to poll. Guide: topic signatures.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Read an agreement","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_agreement_wording","title":"Read the wording","description":"The wording of an agreement clause by clause. Reading it through the API does not count as a read receipt for any party. The PDF itself: GET /agreements/{id}/document.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Read the wording","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_agreement_bundle","title":"Read the signature bundle","description":"The signature bundle of a completed agreement: the canonical record of who signed which document when, with every read receipt and signature hash. Returned parsed and as the exact JSON text whose SHA-256 is bundle_sha256, so you can check the hash yourself. It holds names, times and hashes, not the wording.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Read the signature bundle","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_agreement_add_party","title":"Add a party","description":"Invites a further party to an open agreement (owner only). Give an email, a telegram handle, or both. Sends the invitation (e-mail, and through the bot for a handle) unless notify is false; the join link and the Telegram start link are in the answer either way.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."},"name":{"type":"string","maxLength":160},"email":{"type":"string","format":"email","maxLength":190},"telegram":{"type":"string","maxLength":64,"description":"Telegram handle (@name, name or t.me/name)."},"notify":{"type":"boolean","description":"Send the invitation, default true."}},"required":["id","name"],"additionalProperties":false},"annotations":{"title":"Add a party","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"pt_agreement_remove_party","title":"Remove a party","description":"Removes a party that has not read or signed yet (owner only). A party that has read or signed stays on the record.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."},"party":{"type":"string","maxLength":64,"description":"Party id from agreement_get."}},"required":["id","party"],"additionalProperties":false},"annotations":{"title":"Remove a party","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pt_agreement_remind","title":"Remind invited parties","description":"Sends the invitation again to every party that has not joined yet (owner only): by e-mail, and through the Telegram bot for parties with a handle (the bot writes to the same party at most once in six hours).","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Remind invited parties","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"pt_agreement_close","title":"Close the round","description":"Closes a round that was kept open for further parties (owner only). Works when every current party has signed; the agreement then completes: signature bundle, anchoring, one edition per party.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Close the round","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"pt_agreement_cancel","title":"Cancel an agreement","description":"Cancels an agreement that is still collecting signatures (owner only). It cannot be reopened; the document and its timestamp stay on the record.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Cancel an agreement","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false}},{"name":"pt_agreement_set_pin","title":"Set or remove the PIN","description":"Sets the PIN of the public verification page, or removes it when pin is left out (owner only). The notice printed on an existing PDF does not change.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."},"pin":{"type":"string","pattern":"^[0-9]{4,8}$","description":"Optional PIN (4 to 8 digits) for the printed verification code: with it, the public check page shows the wording and the parties."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Set or remove the PIN","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"pt_document_deposit","title":"Deposit a document","description":"Stores a file encrypted in the vault and anchors its SHA-256 in Bitcoin: proof that exactly this content existed at this time. Give the content as text, or as content_base64 for binary files. REST also accepts multipart/form-data with the part \"file\". The anchor is confirmed within a few hours; document_get shows the state.","inputSchema":{"type":"object","properties":{"title":{"type":"string","maxLength":160},"filename":{"type":"string","maxLength":160,"description":"File name with extension, for example minutes-2026-11-26.md."},"text":{"type":"string","maxLength":2000000,"description":"Content as plain text (UTF-8)."},"content_base64":{"type":"string","maxLength":16000000,"description":"Content of a binary file, base64 encoded (up to about 11 MB; larger files go through multipart)."},"kind":{"type":"string","enum":["document","idea","deposit"],"description":"document (default), idea (prior art), deposit (evidence)."},"public_title":{"type":"boolean","description":"Show the title on the public proof page. Default false: the page shows the hash and the time only."},"notes":{"type":"string","maxLength":2000,"description":"Private note."},"idempotency_key":{"type":"string","maxLength":120,"description":"Optional. Repeat a call with the same value within 24 hours and you get the first result back instead of a second record. In REST the header Idempotency-Key does the same."}},"required":["title"],"additionalProperties":false},"annotations":{"title":"Deposit a document","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"pt_documents_list","title":"List documents","description":"The documents in the account's vault, newest first.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","enum":["document","contract","idea","deposit","bundle","notarial"]},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Rows per page, default 25."},"page":{"type":"integer","minimum":1,"maximum":1000,"description":"Page number, default 1."}},"required":[],"additionalProperties":false},"annotations":{"title":"List documents","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_document_get","title":"Read a document record","description":"One document of the vault with its hash and every anchor: provider, state, Bitcoin block, link to the OpenTimestamps proof file.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Document id, or its SHA-256."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Read a document record","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_document_content","title":"Download a document","description":"The decrypted file. REST streams the bytes. As a tool it returns text for text files and base64 otherwise, up to 5 MB.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Document id, or its SHA-256."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Download a document","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_proof_lookup","title":"Look up a hash","description":"Asks whether a SHA-256 is registered with ProperTrust, by anyone: when it was first seen and how it is anchored. Shows what the public proof page shows, never content. Compute the hash yourself; the file does not need to leave your system.","inputSchema":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[0-9a-fA-F]{64}$","description":"SHA-256 of the file, 64 hex characters."}},"required":["sha256"],"additionalProperties":false},"annotations":{"title":"Look up a hash","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_verify_code","title":"Check a verification code","description":"Checks the code printed next to the QR on a ProperTrust document: who issued it, the state of the signature round, the hash and the anchor. Shows what the public check page shows without the PIN.","inputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Za-z0-9\\-]{5,16}$","description":"The printed code, for example K7QF-3M9XPA."}},"required":["code"],"additionalProperties":false},"annotations":{"title":"Check a verification code","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_telegram_groups","title":"List Telegram groups","description":"The Telegram groups the ProperTrust bot moderates and the account is a member of, with the state of the gate and the open rounds. Empty until the account is connected to Telegram (send /connect to the bot).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"title":"List Telegram groups","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"pt_telegram_invite","title":"Let the bot contact the parties","description":"Triggers the ProperTrust bot for one agreement (owner only): it writes to every party with a telegram handle that has not signed and that it has not written to yet, and returns for each such party the status (contacted, or needs_start_link when Telegram does not let the bot write first) and the start link. With again it repeats the invitation to parties contacted before, at most once in six hours. agreement_create and agreement_add_party trigger the bot by themselves; use this after you learn that a party has opened the bot, or for a reminder. Guide: topic telegram.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"description":"Agreement id."},"again":{"type":"boolean","description":"Also write again to parties that were contacted before. Default false."}},"required":["id"],"additionalProperties":false},"annotations":{"title":"Let the bot contact the parties","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"pt_telegram_moderate","title":"Hand an agreement to a group","description":"Lets the bot run the signature round of an open agreement in a Telegram group: it posts the wording there, and every member confirms the clauses and signs in the private chat with the bot. The bot writes into the group at once.","inputSchema":{"type":"object","properties":{"group":{"type":"string","maxLength":64,"description":"Group id from telegram_groups."},"agreement":{"type":"string","maxLength":64,"description":"Id of an agreement that is collecting signatures and that the account owns."}},"required":["group","agreement"],"additionalProperties":false},"annotations":{"title":"Hand an agreement to a group","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}]}