Skip to main content
Docs menu
All MCP tools

MCP tools · CRM

crm_dry_run_gate

Tries a stage's entry check (gate rule) without saving it or moving any record. Send `gate` to try a proposed rule (same shape as crm_get_stage_gate / the setup plan; it is validated as Setup would and tried as if on), or leave it out to try the stage's saved rule. Returns, for up to 20 named records (`contact_ids`), whether each would pass and which conditions are missing; and, unless heading_in is false, how many of the newest 100 records in the stage just before would be stopped, with a sample, plus a W7 warning when a proposed rule is new or tighter than the saved one and would stop some of them. Admins only. Read-only: use it to check a rule before writing it.

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.
stagerequiredstringKey of the stage whose entry check to try.
gateobjectA proposed rule: { match, conditions, ... }. Omit to try the saved rule.
contact_idsarray of stringRecord ids to check, 20 at most.
heading_inbooleanAlso check the records in the stage just before (default true).