# signature_reconcile_document_state

ReconcileDocumentSignatureState re-runs the document-hub write-back for every envelope that is not voided, so the hub carries the signature state of envelopes created before the write-back understood subjects that name a record rather than a document. Platform-wide, never scoped to the caller's company: it reads and rewrites the signature pointer on every tenant's document rows. Invoked on demand, not on a cron. Its purpose is a backfill — the surfaces that read the hub would otherwise report every pre-existing SAFE as unsent — and it stays available afterwards because the same repair is needed whenever a write-back was lost (the document service unreachable at signing time, say). Reports by default; set apply to write. The safe mode is the zero value deliberately — see the field's own comment. Idempotent in effect, not in cost: the write is an upsert of (signature_envelope_id, signed_at) on the hub row, so repeating it converges rather than accumulating, but every call sweeps the whole platform. One case is NOT idempotent, and it is why this runs on demand rather than on a cron. The sweep resolves every envelope before it writes any row, and resolving costs one RPC per envelope over as many as 5000 of them, so the gap between reading an envelope and writing its row can span the whole run. A signature that completes inside that gap is overwritten by the winner the sweep decided on earlier. The write is unconditional anyway because the rows this backfill exists for carry no envelope at all, and a compare-and-set against an expected id cannot match an empty row. Run it when signing is quiet, and re-run it afterwards if it is not.

Agent View of the PolicyLayer registry record for `signature_reconcile_document_state`. HTML page: https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/signature-reconcile-document-state

## Facts

- Tool: `signature_reconcile_document_state`
- Server: Lovie Company Formation MCP (`lovie`) — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx.md
- Install: `npx -y lovie`
- Homepage: https://github.com/lovieco/lovie-company-formation-mcp-npx
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 2
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `apply` | boolean | no |  |
| `resumeToken` | string | no |  |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "signature_reconcile_document_state",
    "arguments": {}
  }
}
```

## Why signature_reconcile_document_state is rated High

signature_reconcile_document_state triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents invoke signature_reconcile_document_state to trigger actions in Lovie Company Formation MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Lovie Company Formation MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "signature_reconcile_document_state": {
      "limits": [
        {
          "counter": "signature_reconcile_document_state_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Lovie Company Formation MCP (339)

- `accounting_cancel_schedule` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/accounting-cancel-schedule.md
- `accounting_confirm_statement_match` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/accounting-confirm-statement-match.md
- `accounting_delete_journal_entry` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/accounting-delete-journal-entry.md
- `cap_table_clear_cap_table_stakeholders` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-clear-cap-table-stakeholders.md
- `cap_table_close_cap_table_round` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-close-cap-table-round.md
- `cap_table_delete_cap_table_agreement` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-delete-cap-table-agreement.md
- `cap_table_delete_cap_table_round` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-delete-cap-table-round.md
- `cap_table_delete_cap_table_security` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-delete-cap-table-security.md
- `cap_table_delete_cap_table_stakeholder` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-delete-cap-table-stakeholder.md
- `cap_table_set_cap_table_pipeline_status` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-set-cap-table-pipeline-status.md
- `documents_delete_saved_signature` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/documents-delete-saved-signature.md
- `formation_delete_pending_domain` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/formation-delete-pending-domain.md
- `formation_remove_shareholder` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/formation-remove-shareholder.md
- `signature_void_envelope` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/signature-void-envelope.md
- `trademark_delete_application` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/trademark-delete-application.md
- `vendor_bill_cancel_vendor_bill` — Destructive — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/vendor-bill-cancel-vendor-bill.md
- `accounting_propose_schedules` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/accounting-propose-schedules.md
- `ads_insight_summarize_campaign_window` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/ads-insight-summarize-campaign-window.md
- `banking_refresh_owner_verification` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/banking-refresh-owner-verification.md
- `banking_start_banking_application` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/banking-start-banking-application.md
- `cap_table_record_cap_table_investment` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-record-cap-table-investment.md
- `cap_table_simulate_cap_table_exit` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/cap-table-simulate-cap-table-exit.md
- `draft_payment` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/draft-payment.md
- `equity_onboarding_start` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/equity-onboarding-start.md
- `formation_run_election83b_reminders` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/formation-run-election83b-reminders.md
- `formation_start_formation` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/formation-start-formation.md
- `kyc_start_kyc_inquiry` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/kyc-start-kyc-inquiry.md
- `signature_run_reminders` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/signature-run-reminders.md
- `trademark_run_clearance` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/trademark-run-clearance.md
- `trademark_start_application` — Execute — https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx/trademark-start-application.md
- …and 309 more: https://policylayer.com/tools/lovieco-lovie-company-formation-mcp-npx.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=lovieco-lovie-company-formation-mcp-npx · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/lovieco-lovie-company-formation-mcp-npx
