Dice Mcp Tools
Simplified DICE tools for external MCP clients.
In-process com.embabel.dice.agent.Memory and com.embabel.dice.agent.DiscoveryTools bake ContextId in at construction, so an agent cannot name another tenant. MCP clients are stateless and may serve many sessions, so every tool takes an explicit contextId. That is a caller-supplied scope, not a credential: it keeps one call from crossing contexts, and authorization is the host MCP server's job. dice_recall and dice_list start from com.embabel.dice.proposition.PropositionQuery.forContextId; dice_get collapses a missing id and a foreign id into one answer so the tool cannot confirm that an id it does not own exists.
Rod's #5: expose tools with simplified parameters. This class is that surface: dice_recall, dice_list, dice_store, dice_get. Extraction and discovery stay on the existing in-process asTools() path.
Export through embabel-agent's com.embabel.agent.mcpserver.McpToolExport, or add dice-mcp-autoconfigure with embabel.dice.mcp.enabled=true.
Parameters
proposition store (required)
minimum effective confidence for recall/list
default result cap for recall/list