{"ok":true,"site":{"host":"chaibi-mustapha.github.io","url":"https://chaibi-mustapha.github.io/traceai-webmcp/","type":"live","desc":"TRACEAI: Intelligent child-friendly handwriting learning app powered by an autonomous AI agent through the WebMCP standard (document.modelContext).","tools":[{"name":"get_child_progress","kind":"answer","impl":"imperative","description":"Returns overall child learning progress: cumulative points, letter/number/shape mastery scores, and streak history.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"},{"name":"get_current_exercise","kind":"answer","impl":"imperative","description":"Returns the exercise currently displayed on screen: character (letter/number/shape), mode, and difficulty level.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"},{"name":"analyze_trace","kind":"act","impl":"imperative","description":"Analyzes the stroke path drawn by the child and returns a multi-dimensional score across 5 dimensions: direction, position, precision, continuity, and line respect.","inputSchema":{"type":"object","properties":{"points":{"type":"array","description":"Ordered list of stroke points {x, y, t} captured during tracing","items":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"t":{"type":"number"}}}}},"required":["points"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"},{"name":"get_weak_letters","kind":"answer","impl":"imperative","description":"Returns the list of letters/numbers where the child's average score is below the mastery threshold (70%), along with the dominant weakness type.","inputSchema":{"type":"object","properties":{"threshold":{"type":"number","description":"Mastery threshold below which a character is considered struggling (default: 0.70)"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"},{"name":"generate_exercise","kind":"act","impl":"imperative","description":"Generates and renders a targeted exercise for a specific character, with an optional focus (direction, position, precision) to display reinforced visual guidance.","inputSchema":{"type":"object","properties":{"character":{"type":"string","description":"The character to practice, e.g. 'D', 'A', '2'"},"focus":{"type":"string","enum":["direction","position","precision","continuity","lineRespect"],"description":"Target dimension for reinforced visual cues (e.g. animated guiding arrows)"},"difficulty":{"type":"string","enum":["easy","medium","hard"],"description":"Optional guidance difficulty level"}},"required":["character"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"},{"name":"set_difficulty","kind":"act","impl":"imperative","description":"Changes the exercise mode or difficulty level (trace, copy, memory, easy, medium, hard).","inputSchema":{"type":"object","properties":{"level":{"type":"string","enum":["easy","medium","hard","trace","copy","memory"],"description":"Learning mode or guidance level"}},"required":["level"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"},{"name":"start_lesson","kind":"act","impl":"imperative","description":"Starts a new structured learning lesson sequence customized to detected weaknesses.","inputSchema":{"type":"object","properties":{"characters":{"type":"array","items":{"type":"string"},"description":"Ordered list of characters for the lesson (e.g. ['D', 'P', 'B'])"}},"required":["characters"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"},{"name":"complete_exercise","kind":"act","impl":"imperative","description":"Marks the active exercise as completed, persists the score in performance history, and advances to the next step.","inputSchema":{"type":"object","properties":{"score":{"type":"number","description":"Final performance score achieved (0.0 to 1.0)"}},"required":["score"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/traceai-webmcp/"}],"category":"Health & Education","apiSurface":"spec","toolCount":8}}