seo_audit
Audit a finished blog post against on-page SEO rules before publishing: check H1, keyword density, headings, meta lengths, slug, alt text, and links, then return a score plus fixes.
Instructions
Step 10. Score the finished body against on-page SEO rules before publishing.
Checks H1 uniqueness and keyword placement, keyword density, H2 structure, word count, meta title and description lengths, slug shape, image alt text, and external source links. Returns a score plus must_fix / should_fix / nice_to_have lists.
Pass headline when the body has no H1 because the blog platform renders the
title itself - the H1 checks then run against that headline instead of
failing a correctly-built post.
Fix everything in must_fix and call again. On-page structure only - it says nothing about search volume, competition or backlinks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| headline | No | ||
| html_body | Yes | ||
| meta_title | No | ||
| primary_keyword | Yes | ||
| meta_description | No | ||
| secondary_keywords | No |