Agentra LabsAgentra Labs DocsPublic Documentation

Get Started

MCP Tools

AgenticReality exposes 15 compact MCP tools in default (compact) surface mode. Each tool is a domain facade accepting an operation field plus operation-specific parameters.

AgenticReality exposes 15 compact MCP tools in default (compact) surface mode. Each tool is a domain facade accepting an operation field plus operation-specific parameters.

Tool List

ToolDomainKey Operations
reality_workspaceWorkspace managementinit, sense, save, load, info, status
reality_soulDeployment soul + incarnationinit, summary, show, incarnation, substrate, fingerprint
reality_memoryIncarnation memoryincarnations, wisdom, karma, recall, forget
reality_resourceResource bodybody, pressure, capacity, cost, capabilities
reality_layerReality layersget, add, set_freshness, list, detect_simulation
reality_anchorGround truth anchorscreate, verify, list, delete, refresh
reality_hallucinationHallucination detectioncheck, scan, report, score
reality_topologyService mesh topologymap, neighbors, dependencies, observers
reality_temporalTemporal groundingnow, causality, timeline, anchor_time
reality_stakesStakes perceptionassess, risk_field, blast_radius, get
reality_coherenceCoherence maintenancecheck, report, resolve, status
reality_contextUnified contextsummary, shift_check, diff, fingerprint
reality_groundClaim groundingverify, status, evidence, suggest
reality_deploymentDeployment lifecyclebirth, rebirth, death, transition
reality_workspace_file.areal file managementlist, inspect, compare, export

Tool Schemas

reality_workspace

{
  "operation": "sense",
  "domains": ["deployment", "resources", "topology"]
}
OperationParametersDescription
initInitialize workspace
sensedomains? (array)Sense all or selected domains
savePersist to .areal
loadpathLoad from .areal
infoWorkspace metadata
statusCurrent sensing status

reality_anchor

{
  "operation": "create",
  "source": "health-check",
  "claim": "database is healthy",
  "evidence": "response time 12ms, status 200"
}
OperationParametersDescription
createsource, claim, evidenceCreate a ground-truth anchor
verifyclaimVerify claim against anchors
listList all anchors
deleteanchor_idDelete an anchor
refreshanchor_idRefresh anchor from source

reality_ground

{
  "operation": "verify",
  "claim": "the database handles 10,000 RPS"
}

Returns:

{
  "status": "UNGROUNDED",
  "confidence": 0.0,
  "matching_anchors": [],
  "risk": "HIGH",
  "message": "No anchors match this claim. Hallucination risk is high."
}

reality_stakes

{ "operation": "assess" }

Returns:

{
  "level": "HIGH",
  "consequence": "financial transactions, 50000 active users",
  "risk_field": ["external-payments", "auth-service", "user-data"],
  "blast_radius": 50000,
  "recommendation": "Apply extra caution. Prefer reversible actions."
}

reality_coherence

{ "operation": "check" }

Returns:

{
  "coherent": true,
  "violations": 0,
  "contradictions": 0,
  "domains_checked": 7,
  "score": 0.98
}

reality_hallucination

{
  "operation": "check",
  "claim": "memory usage is under 50%"
}

Returns:

{
  "claim": "memory usage is under 50%",
  "risk": "LOW",
  "confidence": 0.91,
  "grounding_evidence": ["resource anchor: mem=43%, timestamp: 30s ago"]
}

Error Handling

All tools return a standard error shape on failure:

{
  "error": "storage_not_found",
  "message": "No .areal file found. Run reality_workspace with operation init first.",
  "suggestion": "reality_workspace { \"operation\": \"init\" }"
}

Tools never throw JSON-RPC errors for execution failures. Only protocol-level failures (unknown tool, malformed JSON) produce JSON-RPC error responses.

Full Surface Mode

Set AREAL_MCP_TOOL_SURFACE=full to expose all 78 granular operations as individual tools. This is intended for development and debugging only.