Agent Task Recipes
Copy-paste workflows for high-confidence MCP usage.
These recipes are outcome-first and evidence-bound. Every recipe is valid against the same /mcp endpoint.
Current Structural State
Get one evidence-bound structural snapshot suitable for dashboards and incident checks.
Tool: rootfetch.outcome.current_state
RPC request
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.current_state",
"arguments": {}
}
}cURL
curl -sS https://rootfetch.com/mcp \
-X POST \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"rootfetch.outcome.current_state","arguments":{}}}'Expected top-level keys
outcomeschema_versionrun_idregimeconcentrationcoveragevolatilitytop_anomaliesevidence
Verification checklist
- evidence.run_id exists
- evidence.manifest_sha256 exists
- regime.state and regime.dvi_score exist
Latest Run Delta
Compare latest run vs previous run and detect structural movement with disclosure safety.
Tool: rootfetch.outcome.run_delta
RPC request
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.run_delta",
"arguments": {}
}
}cURL
curl -sS https://rootfetch.com/mcp \
-X POST \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"rootfetch.outcome.run_delta","arguments":{}}}'Expected top-level keys
outcomeschema_versionleft_run_idright_run_idtransitionconcentration_deltacoverage_deltatemporalcompareevidence
Verification checklist
- transition.model_changed is present
- transition.model_transition_disclosure is honored when model_changed=true
- compare.compare_url exists
TLD Spotlight
Get a strict evidence-bound view for one namespace.
Tool: rootfetch.outcome.tld_spotlight
RPC request
{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.tld_spotlight",
"arguments": {
"tld": "app"
}
}
}cURL
curl -sS https://rootfetch.com/mcp \
-X POST \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"rootfetch.outcome.tld_spotlight","arguments":{"tld":"app"}}}'Expected top-level keys
outcomeschema_versionrun_idtldmetricssignalslinksevidence
Verification checklist
- requested tld echoes in response.tld
- links.run_url exists
- evidence.manifest_sha256 exists
Alert Candidates
Pull top anomaly/mover candidates with trigger context for alert workflows.
Tool: rootfetch.outcome.alert_candidates
RPC request
{
"jsonrpc": "2.0",
"id": 5,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.alert_candidates",
"arguments": {
"limit": 10
}
}
}cURL
curl -sS https://rootfetch.com/mcp \
-X POST \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"rootfetch.outcome.alert_candidates","arguments":{"limit":10}}}'Expected top-level keys
outcomeschema_versionrun_idlimittotal_candidatestriggerscandidatesevidence
Verification checklist
- candidates is an array
- triggers include dvi_score and regime
- evidence.run_id matches run_id
Regime Flip Bulletin Prep
Assemble a publish-ready payload when regime or DVI band moves materially.
Tool: rootfetch.outcome.run_delta
RPC request
{
"jsonrpc": "2.0",
"id": 6,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.run_delta",
"arguments": {}
}
}cURL
curl -sS https://rootfetch.com/mcp \
-X POST \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":6,"method":"tools/call","params":{"name":"rootfetch.outcome.run_delta","arguments":{}}}'Expected top-level keys
outcomeleft_run_idright_run_idtransitioncompareevidence
Verification checklist
- transition.regime_changed or |transition.dvi_delta| exceeds bulletin threshold
- if transition.model_changed=true, include model transition disclosure
- evidence.left.manifest_sha256 and evidence.right.manifest_sha256 exist
Publish template fields
run_pairdvi_left_right_deltaregime_left_rightmodel_transition_disclosuretop_candidates_summarycompare_urlevidence_hashes
Workflow steps
Detect structural transition
Tool: rootfetch.outcome.run_delta
{
"jsonrpc": "2.0",
"id": 7,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.run_delta",
"arguments": {}
}
}Load current state context
Tool: rootfetch.outcome.current_state
{
"jsonrpc": "2.0",
"id": 8,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.current_state",
"arguments": {}
}
}Attach top candidate changes
Tool: rootfetch.outcome.alert_candidates
{
"jsonrpc": "2.0",
"id": 9,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.alert_candidates",
"arguments": {
"limit": 15
}
}
}Monthly Brief Payload
Build a compact monthly structural brief payload from strict outcome tools.
Tool: rootfetch.outcome.current_state
RPC request
{
"jsonrpc": "2.0",
"id": 10,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.current_state",
"arguments": {}
}
}cURL
curl -sS https://rootfetch.com/mcp \
-X POST \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":10,"method":"tools/call","params":{"name":"rootfetch.outcome.current_state","arguments":{}}}'Expected top-level keys
outcomerun_idregimeconcentrationcoveragevolatilityevidence
Verification checklist
- coverage.counted_ever_count and coverage.approved_tlds_count are present
- concentration.top10_share_pct and hhi are present
- evidence.manifest_sha256 exists
Publish template fields
run_iddvi_score_bandregime_state_confidencetop10_share_hhicoverage_counts7d_volatilitymodel_versionevidence_hash
Workflow steps
Current month-end state
Tool: rootfetch.outcome.current_state
{
"jsonrpc": "2.0",
"id": 11,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.current_state",
"arguments": {}
}
}Month-over-month delta (set run pair explicitly when needed)
Tool: rootfetch.outcome.run_delta
{
"jsonrpc": "2.0",
"id": 12,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.run_delta",
"arguments": {}
}
}Top changes summary for brief appendix
Tool: rootfetch.outcome.alert_candidates
{
"jsonrpc": "2.0",
"id": 13,
"method": "tools/call",
"params": {
"name": "rootfetch.outcome.alert_candidates",
"arguments": {
"limit": 25
}
}
}