Skip to main content
Docs menu
All MCP tools

MCP tools · CRM

crm_check_setup

Runs the setup doctor: finds cross-object setup mistakes. Errors: a stage rule needs a document that no form collects before that stage, a form that collects a required document is never sent, a rule checks a form that is never sent, a stage nobody can reach, links to missing or archived items, a rule on a field reps can't edit and no form fills, a verified document nobody can verify, a 'needed when a field' rule with a missing field or an option the field doesn't have. Warnings: an always-needed document asked for late, a needed rule whose field is asked for only after the stage that checks the document, a required document on no checklist, a checklist form requiring a never-needed document, a next-form chain that loops or ends on a draft form, a document required on one form and optional on another. Info: unused document types, checklist forms that feed no rule, a stage rule an earlier stage already enforces. 'Any one of' rules count as met when one option can be; a broken option is a warning. Returns each issue with rule id, severity, a plain-words message, a suggested fix and, where the fix is obvious, a patch (a list of { section, key, set } edits) to apply to the setup plan. Read-only.

Scope needed
crm:read
Acts as
You, the signed-in member, with your role's permissions.
Changes data
No, read only
Held for approval
No
Available to
Every organization

Inputs

NameTypeDescription
org_idstringOrganization id. Optional when the user belongs to one organization.