Intake applications
Read as MarkdownChoose an action to read its inputs, results, and usage guidance. Your connection determines which tools are available to you.
An intake application collects the information your Portal needs from a business before proceeding. Find it through the business record, then read its questions and current answers.
1. Discover this application's questions
Use the application's ID and your Portal's provider_slug throughout this workflow. Call client_intake_applications.get_contract without section_key to get the section index. Then call it with each relevant returned section_key to read the actual questions and repeated groups. Empty questions in the index means details were omitted, not that the application has no questions.
Forms vary by intake template, recipient and Deal package. Use the contract for this existing application, not a different application's keys or the latest definition. Read field value_schema, choices, required fields, visibility and supported operations. Copy block_key and field_key from the questions; a section key is not a block key. Refresh the contract when its contract_version changes or validation indicates the questions changed.
2. Save known answers and repeated entries
Call client_intake_applications.get_answers and follow next_cursor until you have the relevant answers. Preserve existing values and ask for missing facts rather than guessing. Call client_intake_applications.update_answers with ordinary field updates, the latest expected_answers_revision and a new UUID idempotency_key.
For owners or another repeated group, use list_repeatable_items with the group's contract block_key. Use add_repeatable_item only for a genuinely new entry, retain its returned item_id, and use update_repeatable_item for that row's answers. Row order and a person's name are not row identifiers. All these tools use this application's namespace.
Use each write's new answers revision for the next change. If a revision is stale, read again and reconcile the changes before retrying. After a lost response, retry the identical command with its original key and revision. The application's revision and its answers_revision protect different state.
3. Attach the required documents
Find the file question in the contract, including accepted file types and counts. Call client_intake_applications.prepare_answer_file_upload with its block_key, optional exact item_id, latest expected_answers_revision, a new UUID idempotency_key, filename, size_bytes and content_sha256. Preparation attaches nothing.
POST the bytes to the returned URL as multipart field file, with the returned transfer_token as a Bearer credential, within five minutes. This HTTP transfer is part of the MCP workflow; no separate Portal API key is needed. Do not place file bytes or transfer tokens in AI conversation. The transport limit is 25 MiB per file; the question's requirements and application storage limits also apply.
Read the upload receipt, then call client_intake_applications.list_answer_files to confirm the attachment belongs to the intended question and row. Keep the resulting answers revision. Retry the same bytes at the returned URL while its credential remains valid; check existing attachments before preparing another upload after an uncertain result. Uploading evidence to Autofill is separate: it does not satisfy a file question by itself.
4. Hand required signatures to the human
Read client_intake_applications.review_signature with the signature block_key and exact repeated item_id, if applicable. Review the consent and existing receipts. A signature recorded on one owner does not establish that every owner signed; a satisfied required field does not establish that a separately invited person completed their request.
Explain who will receive access and what they can do, then obtain explicit confirmation. Call client_intake_applications.request_signature with the target, email, a new UUID idempotency_key and user_confirmed: true. Use access_mode: "signature_only" unless broader editing is intended. Existing broader access is preserved.
The result contains a request ID, status, delivery_state and signing_url. Tell the recipient to open that link, verify their invited email address, review the application and sign. The server also queues an invitation email. The link is a verification entry point, not an access credential. Public MCP does not sign on the human's behalf, and ordinary answer updates cannot record consent.
Call client_intake_applications.get_signature_request with its signature_request_id, or list_signature_requests, to follow progress:
queuedconfirms scheduling;acceptedmeans mail-provider acceptance, not inbox delivery or signing.status: "completed",signature_idandcompleted_atidentify the saved signature for this request.access_stateseparately reports active, expired, revoked or unavailable access. An unusable or completed request has no signing URL.
Reuse the original key and arguments for a network retry. For an intentional resend, explain the renewed access, confirm it, and pass the existing signature_request_id with a new key. Preserve the original block, item, email and access mode; omit the message to reuse it. Check readiness after signing. Neither sending an invitation nor signing submits the application.
5. Check readiness and submit only when asked
Call client_intake_applications.check_submission_readiness. Resolve each issue using its question keys and exact repeated item_id; signature issues identify the relevant block and row. Answer changes can reveal new requirements, so check again after completing them. Optional unanswered fields can keep a visual completion counter below 100% while required readiness passes.
When submission is requested, review the current answers and readiness. Explain validation and external-delivery effects, then obtain the second explicit confirmation required by the submit tool. Call client_intake_applications.submit with the current expected_revision, expected_answers_revision, a new UUID idempotency_key and user_confirmed: true. These MCP inputs differ from the REST submission-token workflow.
If state changed, reread it and obtain confirmation for the current submission rather than retrying with guessed revisions. Read the application afterward to confirm its submitted state. A receipt confirms submission, not approval or funding. If the task was only to complete or sign, stop before submission.
Optional: manage documents and use Autofill
Work with an uploaded document
List the application's files and use the returned file ID. Call client_intake_applications.update_answer_file with a filename, the latest expected_answers_revision, and a UUID idempotency_key to rename it while preserving its contents and identity. Renaming does not convert its format.
Call client_intake_applications.get_answer_file_download to retrieve the original. GET download.url with download.transfer_token as a Bearer credential within five minutes; no API key is needed. Downloads recheck current access and file availability. Unrelated answer edits do not invalidate the download. Keep credentials and bytes out of logs and messages. Uploading a processed copy adds another file; delete the original only if the user explicitly requests removal.
Use Autofill
Autofill proposes answers from evidence; it does not save them automatically. Read preparation to choose available evidence and add notes. Upload any new supporting documents before starting a run:
- Call
client_intake_applications.prepare_autofill_file_uploadwith the latestexpected_preparation_revision, a new UUIDidempotency_key, filename, byte count, and SHA-256 digest of the file. - POST the document as multipart field
fileto the returned URL within five minutes. SetAuthorization: Bearer <transfer_token>; your MCP connection authorizes the upload, so no API key is needed. The limit is 25 MiB per file. - Check the upload receipt and read preparation again. Use its latest revision when adding another document or starting Autofill.
An identical retry with the same transfer credential returns the original receipt without adding another file. Keep the upload receipt and use preparation’s files list to confirm the document names and follow processing. If the credential expires before you confirm the upload, read preparation and check that list before uploading again. A document’s status is pending while queued, running while being read, success when ready for Autofill, or failed when it needs attention. Processing updates do not change the preparation revision; read preparation again to check progress. Supporting documents provide evidence for Autofill; they do not fill an application question by themselves.
Start a run using the latest preparation revision, check its status until it settles, and review its suggestions. Accept only approved suggestions using the latest expected_answers_revision. Keep the revision and idempotency key for an identical retry, then read the answers to confirm what was saved.
If a revision is stale, read again and reconcile the change before retrying. Keep file-transfer credentials and document bytes out of tool arguments, logs, and messages.
Available tools
client_intake_applications.get_contractRead questions in the intake formclient_intake_applications.get_answersRead answers in the intake formclient_intake_applications.update_answersUpdate answers in the intake formclient_intake_applications.list_repeatable_itemsList repeated rows in the intake formclient_intake_applications.add_repeatable_itemAdd a repeated row in the intake formclient_intake_applications.update_repeatable_itemUpdate a repeated row in the intake formclient_intake_applications.delete_repeatable_itemDelete a repeated row in the intake formclient_intake_applications.get_answer_file_downloadDownload a file from the intake formclient_intake_applications.list_answer_filesList files in the intake formclient_intake_applications.get_file_textRead intake document textclient_intake_applications.import_answer_fileImport application documentclient_intake_applications.prepare_answer_file_uploadPrepare the intake form answer file uploadclient_intake_applications.update_answer_fileRename a file in the intake formclient_intake_applications.delete_answer_fileRemove a file from the intake formclient_intake_applications.review_status_changeReview application statusclient_intake_applications.review_signatureReview the intake form signatureclient_intake_applications.change_statusChange application statusclient_intake_applications.get_signature_requestRead application signature requestsclient_intake_applications.list_signature_requestsRead application signature requestsclient_intake_applications.request_signatureRequest an application signatureclient_intake_applications.get_autofill_preparationRead client intake autofill preparationclient_intake_applications.prepare_autofillPrepare client intake autofillclient_intake_applications.prepare_autofill_file_uploadPrepare client intake Autofill supporting-file uploadclient_intake_applications.start_autofillStart client intake autofillclient_intake_applications.get_autofillGet client intake autofillclient_intake_applications.import_autofill_fileImport Autofill documentclient_intake_applications.delete_autofill_fileRemove Autofill supporting documentclient_intake_applications.list_autofill_suggestionsList client intake autofill suggestionsclient_intake_applications.accept_autofill_suggestionAccept a suggested answer in the intake formclient_intake_applications.retry_autofillRetry client intake autofillclient_intake_applications.retry_autofill_file_extractionRetry supporting-document extractionclient_intake_applications.check_submission_readinessCheck intake form submission readinessclient_intake_applications.submitSubmit intake form