Pure Lemma MCP tools: engine + JSON args in, catalog or tool result text out.
Read tools mirror the engine catalog: run, list, show, source,
check, guide. Admin/write tools stay in the CLI MCP server only.
run/2 always includes explanations and returns formatted ASCII trees
(plus a Missing data block when inputs are unbound). Args match SDK run:
spec, optional repository, rules, data (object), effective.
Do not pass explain.
Summary
Types
@type args() :: map()
@type engine() :: Lemma.engine()