Discovery
Test Rule (dry run)
test_ruleBenchmark and above
Dry-run a rule's condition_expr against a SYNTHETIC trigger payload — reports whether it WOULD have fired, but NEVER dispatches the action (no report generated, no team run, no message sent, no inbox write). Use this immediately after create_rule to sanity-check the condition ...
Example Call
example_call.pypython
# Using the Valuein MCP server from Python (via MCP SDK)# Or call directly from Claude / Cursor after setup result = await client.call_tool( "test_rule", arguments={ "rule_id": "EXAMPLE"})print(result)Direct tool call:test_rule(...)
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
rule_id | string | required | Identifier of the rule to dry-run, from create_rule or list_rules. |
sample_payload_override | object | optional | Merged over the built-in synthetic payload for this rule's trigger_type — lets you test a specific value. |
Output Fields
rule_idwould_firereasonsynthetic_payloadaction_typenoteExample Response
Illustrative
response.jsonjson
{ "rule_id": null, "would_fire": null, "reason": null, "synthetic_payload": null, "action_type": null, "note": null}Shape only — field names match the live schema; values are placeholders, not real filings. See MCP server for the structured response shape.
Notes
Available from the Benchmark plan and above.
Plan Access
Sample (guest)
Not includedBenchmark (token)
AvailablePro
AvailableInstitutional
AvailableRelated Tools
Index names are trademarks of their owners; Valuein is not affiliated with or endorsed by any index provider.