Skip to content

Generate per-tool reference pages, the README table, and llms.txt from the zod schemas #202

Closed

Description

@TMHSDigital

Why it matters

41 tools is a lot to learn from one README table and a client-side tool finder. Per-tool pages generated from the actual zod schemas would give:

  • Accuracy: docs can't drift from code, unlike the hand-maintained README and site lists.
  • Discoverability: search engines and LLM answer engines index pages like "screencast-mcp redact_region", which a single-page app can't rank for.
  • A better on-ramp: every parameter, its default, an example call and a sample result in one place.

Rationale

  • The schemas already exist per tool. scripts/build-docs-pages.mjs and site.json show a static-generation pipeline is already in place.
  • An llms.txt / llms-full.txt at the site root lets agents read the whole tool reference in one fetch.

Suggested approach

  • Add a build step that imports each tool's register, captures inputSchema and the description through a stub server, and emits docs/tools/<name>.html. Each page has a parameter table generated from zod-to-JSON-Schema, an example call, the related workflows, and "since vX" taken from the CHANGELOG.
  • Generate mcp-tools.json and the README table from the same source, which also closes the manifest-drift class of bugs.
  • Emit docs/llms.txt, add the new pages to sitemap.xml, and add a robots.txt.
  • Link each tool card in the home-page finder to its page.

Done when

  • Every registered tool has a generated page.
  • CI fails if a generated artifact is stale.
  • llms.txt is served.

Activity

  1. added
    documentation
    priority: low
    marketing
    effort: medium
    impact: medium
    dx
    on Oct 25, 2026
  2. TMHSDigital commented on Oct 25, 2026

    @TMHSDigital
    OwnerAuthor

    Drift data point: 20 of the 41 descriptions in mcp-tools.json no longer match the live tools/list descriptions, and scripts/mcpb-manifest.mjs ships those stale texts to Claude Desktop through the bundle's tools field. Generating mcp-tools.json from the registered tools would fix both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationdxeffort: mediumimpact: mediummarketingpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions