Graspful

v0.3.0
io.github.willwearing/graspful Checked 3 days ago Published 10 days ago

Build, review and publish adaptive learning courses with spaced repetition from your AI agent.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

graspful_create_academy

Generate an academy plan and manifest scaffold for an academy-first workflow. Every academy is a connected curriculum made of one or more real courses. Use this before authoring course YAML when the topic should be decomposed into learner-facing parts. If you do not pass courseNames, the scaffold creates the four default planning layers: foundations, core structures, operational flows, and applied judgment. The result includes authoring gates for source material, learner promise, landing-page proof, graph checks, and review before publishing.

ParameterTypeDescription
topic *stringAcademy topic name
courseNamesarrayOrdered course names; defaults to four planning layers
versionstringAcademy version

graspful_scaffold_course

Generate a course YAML skeleton with sections, concepts, and prerequisite edges. Returns a minimal valid YAML structure with TODO placeholders. This is step 1 of the Graspful two-YAML workflow: 1. Scaffold: Create the course graph (sections, concepts, prerequisites, difficulty levels) 2. Fill: Add knowledge points and problems to each concept using graspful_fill_concept The scaffold contains NO learning content, just the graph structure. You should: - Edit the returned YAML to add more concepts, adjust prerequisites, set correct difficulty levels (1-10) - Set estimatedMinutes per concept - G…

ParameterTypeDescription
topic *stringCourse topic name
estimatedHoursintegerEstimated course hours. Default: 10
sourceDocumentstringSource document reference

graspful_fill_concept

Add knowledge point (KP) and problem stubs to a specific concept in a course YAML. Returns the full updated YAML. Each KP stub includes: - instruction: TODO placeholder for teaching content (markdown) - workedExample: TODO placeholder for a step-by-step example - problems: Multiple-choice problem stubs with difficulty staircase (2, 3, 4, 5) After filling, you should replace the TODO placeholders with real content: - Write clear, concise instructions teaching the knowledge point - Create a worked example showing the concept applied step by step - Write diverse problems testing the same KP at…

ParameterTypeDescription
conceptId *stringExisting concept ID with no knowledge points
yaml *stringThe full YAML string
kpsintegerNumber of knowledge point stubs. Default: 3
problemsPerKpintegerProblem stubs per knowledge point. Default: 3

graspful_validate

Validate any Graspful YAML (course, brand, or academy manifest) against its Zod schema. Auto-detects the file type from the top-level key. For course YAML, also checks: - All prerequisite references point to existing concept IDs - The prerequisite graph is a DAG (no cycles) Returns { valid, fileType, errors, stats }. If valid is false, errors contains human-readable messages. Stats include concept/KP/problem counts for courses. Run this before graspful_import_course to catch errors early.

ParameterTypeDescription
yaml *stringThe full YAML string

graspful_review_course

Run all 10 automated quality checks on a course YAML. Returns a score with details on each failure. The checks are: 1. yaml_parses: Course structure and problem answers match the shared schema. 2. unique_problem_ids: Every problem has a unique ID across the course. 3. publication_readiness: Every concept has teaching content. Names, questions, answers, and teaching contain no known scaffold markers. 4. question_deduplication: Questions at the same difficulty have distinct normalized text. 5. difficulty_staircase: Each concept has problems at two or more difficulty levels. 6. problem_teaching_…

ParameterTypeDescription
yaml *stringThe full YAML string

graspful_import_academy

Import an academy manifest and its referenced course YAMLs into a Graspful organization. IMPORTANT: Requires authentication. If not authenticated, run `graspful register` in a terminal first or set the `GRASPFUL_API_KEY` environment variable. Without auth, this tool will fail. If publish=true, Graspful imports the academy first and then attempts to publish each imported course. Returns the academy result plus confirmed publishedCourseIds and publishFailures. If any requested publication fails, isError is true and the result preserves the imported academy and successful publications.

ParameterTypeDescription
courseYamls *objectManifest file paths mapped to course YAML strings
manifestYaml *stringAcademy manifest YAML
org *stringOrganization slug
archiveMissingbooleanArchive removed content. Default: false
publishbooleanPublish imported courses after the review gate. Default: false
replacebooleanReplace existing content on import. Default: false

graspful_import_course

Import a course YAML into a Graspful organization. Creates the course as a draft by default. IMPORTANT: Requires authentication. If not authenticated, run `graspful register` in a terminal first or set the `GRASPFUL_API_KEY` environment variable. Without auth, this tool will fail. If publish=true, the server runs the review gate first - the course must pass all 10 quality checks to be published. If review fails, the course is imported as a draft and failures are returned. Returns { courseId, url, published, review?, reviewFailures? }. If requested publication fails, isError is true and the…

ParameterTypeDescription
org *stringOrganization slug
yaml *stringThe full YAML string
archiveMissingbooleanArchive removed content. Default: false
publishbooleanPublish imported courses after the review gate. Default: false
replacebooleanReplace existing content on import. Default: false

graspful_publish_course

Publish a draft course (sets isPublished = true). The server runs the review gate - course must pass all 10 quality checks. IMPORTANT: Requires authentication. If not authenticated, run `graspful register` in a terminal first or set the `GRASPFUL_API_KEY` environment variable. Without auth, this tool will fail. Returns { courseId, published, url, review }. Publication is successful only when published is true. Otherwise isError is true and publicationFailures explains the review failures.

ParameterTypeDescription
courseId *stringCourse ID
org *stringOrganization slug

graspful_describe_course

Compute statistics for a course YAML without importing it. Useful for progress tracking during course authoring. Returns: - courseName, courseId, version, estimatedHours - Total concepts (authored vs stubs), KPs, problems - Prerequisite graph depth - Missing content: concepts without KPs, KPs without problems - Per-section breakdown Use this to check your progress: "How many concepts still need content?"

ParameterTypeDescription
yaml *stringThe full YAML string

graspful_create_brand

Generate a brand YAML scaffold for a white-label learning site. Graspful supports multi-tenant white-labeling - each brand gets its own domain, theme, landing page, and SEO config. Niche presets: education, healthcare, finance, tech, legal. Each sets appropriate colors, taglines, and copy. The returned YAML has the full brand structure: - brand: id, name, domain, tagline, orgSlug - theme: color preset, border radius - landing: hero, features, how-it-works, FAQ - seo: title, description, keywords Edit the YAML to customize, then import with `graspful_import_brand`.

ParameterTypeDescription
niche *stringBrand niche preset
domainstring
namestring
orgSlugstring
topicstring

graspful_import_brand

Import a brand YAML into Graspful. Creates the white-label site configuration. IMPORTANT: Requires authentication. If not authenticated, run `graspful register` in a terminal first or set the `GRASPFUL_API_KEY` environment variable. Without auth, this tool will fail. Returns { brand: { slug, domain }, domain: { verified, error?, dnsInstructions? } }.

ParameterTypeDescription
yaml *stringThe full YAML string

graspful_list_courses

List all courses in a Graspful organization. IMPORTANT: Requires authentication. If not authenticated, run `graspful register` in a terminal first or set the `GRASPFUL_API_KEY` environment variable. Without auth, this tool will fail. Returns an array of courses with their IDs, names, published status, and stats.

ParameterTypeDescription
org *stringOrganization slug