Skip to main content
Glama
stdt-temporal-discrimination

stdt-temporal-discrimination

by Alpha-Park

Somatosensory Temporal Discrimination Threshold (STDT) Skill

License: MIT Python 3.10+ Zero Dependencies OpenClaw Ready MCP Protocol

A sovereign personal agent capability for computational somatosensory psychophysics, evaluating tactile temporal discrimination thresholds (STDT in ms), age-adjusted ratios, and cortical sensory gating.

Architecture

flowchart TD
    StaircaseData["Tactile Paired Pulses: Ascending & Descending Inter-Stimulus Intervals (ISI in ms)"] --> ThresholdEngine["Composite STDT = (Mean_Asc + Mean_Desc) / 2"]
    ThresholdEngine --> AgeModel["Age-Adjusted Normative Model: 42.0 + (Age - 20) * 0.55 ms"]
    AgeModel --> RatioCalc["Threshold Ratio to Norm = STDT / Predicted Norm"]
    RatioCalc --> CSGI["Cortical Somatosensory Gating Index (CSGI: 0 - 100)"]
    CSGI --> Prescriptions["OpenClaw / Hermes Sensorimotor Recovery & Manual Rest Directives"]

Related MCP server: stdt-temporal-discrimination

Quickstart

from client import SomatosensoryTemporalDiscriminationClient

client = SomatosensoryTemporalDiscriminationClient()

# Evaluate STDT staircase test (ms)
asc = [45.0, 50.0, 48.0]
desc = [52.0, 48.0, 50.0]

res = client.evaluate_stdt_staircase(asc, desc, reference_age_years=32.0)

print("Composite STDT:", res["composite_stdt_ms"], "ms")
print("Predicted Norm:", res["predicted_age_norm_ms"], "ms")
print("Gating Index:", res["somatosensory_gating_index"], "/ 100")
print("Clinical Tier:", res["clinical_tier"])

MCP Server Integration

Add to your claude_desktop_config.json or OpenClaw tool registry:

{
  "mcpServers": {
    "stdt-temporal-discrimination": {
      "command": "python",
      "args": ["/path/to/genpark-personal-agent-somatosensory-temporal-discrimination-skill/mcp_server.py"]
    }
  }
}

License

MIT License.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables analysis of 2D center-of-pressure statokinesigram trajectories, computing 95% confidence ellipse area, sway velocity, postural stability index, fall-risk tier, and Romberg Quotient for sensory re-weighting comparisons.
      7
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables evaluation of tactile temporal discrimination thresholds from paired-pulse staircase data, including age-adjusted normative comparisons, cortical somatosensory gating indices, clinical tiers, and sensorimotor recovery directives.
      7
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables assessment of tactile spatial acuity from discriminated distances and response ratios, including static and dynamic threshold classification, acuity scoring, and ergonomic sensory-training guidance.
      7
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables deterministic evaluation of static and moving tactile spatial acuity thresholds, mechanoreceptive density estimates, and peripheral neuropathy-related sensory guidance. It converts discrimination-distance and response-ratio trial inputs into acuity scores and actionable recommendations.
      MIT