touchstone-mcp
v0.1.12A lexical ranker for a review queue.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
verify Verify
Lexical overlap score for a (text, source) pair. The probability orders a review queue. It is not a verdict that a sentence is missing from the source. Read ``reading`` before using it. ``top_unsupported`` is the lexical shortlist in every mode, including when the caller supplies a judge or detector score. Returns the calibrated probability, the signal breakdown, the scope classification, ``reading``, and the lexical shortlist.
| Parameter | Type | Description |
|---|---|---|
source * | string | The grounding source the output should be supported by. |
text * | string | The AI-generated output to verify. |
alignscore_supported_prob | Optional AlignScore supported- probability in [0, 1]. Combine with MiniCheck for ``substrate_plus_minicheck_alignscore`` mode. | |
judge_alpha | number | Substrate weight in the substrate+judge blend. Defaults to 0.3 (a substrate-light default; the picked α in the published holdout-blend table is corpus- dependent). Tune on held-out data. |
judge_hallucinated_prob | Optional LLM-judge probability of hallucination in [0, 1]. Auto-selects ``substrate_plus_judge`` mode. Mutually exclusive with the MiniCheck / AlignScore parameters in the same call. | |
minicheck_supported_prob | Optional MiniCheck supported- probability in [0, 1]. When supplied, the verifier auto-selects ``substrate_plus_minicheck`` mode. | |
top_k_unsupported | integer | Maximum number of suspect spans to return. Defaults to 3. |
measure Measure
Run every Touchstone measurement layer whose preconditions are met. This is the lower-level companion to ``verify``. Returns the full ``MeasureResult`` keyed by layer name; source-dependent layers (4, 5, 6, 8, 11) return ``None`` when ``source`` is absent.
| Parameter | Type | Description |
|---|---|---|
text * | string | The AI-generated output to measure. |
comparisons | Optional list of other independently-generated versions of the output for Layer 3 (temporal instability). | |
source | Optional grounding source. Required for Layers 4, 5, 6, 8, and 11. | |
topic | Optional topic string for Layer 1a (heading defaultness). Layer 1a additionally requires a caller- supplied baseline-generator callable, which the MCP tool does not currently expose; passing ``topic``… |
assess_derivation_regime Assess Derivation Regime
Classify the reliability of Layer 11's derivation checker for a given source. Layer 11's primary unsourced-numbers signal saturates as the source's unique-number count grows. This tool returns the regime classification (``"diagnostic"`` for source_num_count < 5, ``"transition"`` for [5, 10), ``"saturated"`` for >= 10) and the user-facing guidance text. On saturated sources, the guidance string points callers at Layer 4 source matching for numbers, rather than at Layer 11. The regime is not a hint to trust the score.
| Parameter | Type | Description |
|---|---|---|
source_num_count * | integer | Count of digit-formatted numbers in the source text. |
list_modes List Modes
Enumerate the four Verifier modes and their required inputs. Returns a dict with the mode list and per-mode metadata so the host can present a mode selector to the user without re-deriving the mode-selection rules.