Skip to main content
Glama

seo_audit

Audits HTML for SEO and digital marketing readiness, evaluating 50+ factors across 10 categories. Provides score, grade, detailed issues with fixes, and top recommendations.

Instructions

Phase 6.5 — SEO & Digital Marketing Audit.

Analyzes generated HTML for SEO optimization and digital marketing readiness. Checks 50+ factors across 10 categories: meta tags, heading structure, images, performance, accessibility, content quality, technical SEO, mobile optimization, social media readiness, and link structure.

Returns: SEO score (0-100), letter grade (A-F), detailed issue list with severity + fix instructions + code snippets, and top 5 priority recommendations.

Issues feed back into the pipeline — if the score is too low, re-run code generation with the suggested fixes.

Call this AFTER generate_full_page, BEFORE review_output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jsNoExternal JS code to include in the audit. Pass if JS is in a separate file from the HTML.
cssNoExternal CSS code to include in the audit. Pass if CSS is in a separate file from the HTML.
codeYesThe generated HTML code to audit. Pass the complete page HTML from generate_full_page.
industryNoIndustry context for SEO recommendations (e.g., "fintech", "ecommerce", "healthcare")
pageNameNoPage name for the audit report
pageTypeNoPage type for context-aware checks: "landing", "product", "blog", "about", "contact"
targetKeywordsNoTarget SEO keywords to check for in headings and content (e.g., ["budgeting app", "personal finance"])
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It clearly explains the tool is a read-only analysis (audit) that returns results and suggests fixes for a feedback loop. It does not mention any destructive actions or authentication needs, which is acceptable for an audit tool. However, it could explicitly state that it does not modify any resources.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured, starting with the phase number and title. It uses bullet-like formatting for the categories and return values, making it easy to scan. Every sentence adds value, and there is no redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the parameter count (7 with 100% schema coverage) and no output schema, the description provides sufficient detail about return values (score, grade, issue list with severity and fix instructions, top 5 recommendations). It also explains the pipeline integration and feedback loop. The tool is fully specified for its purpose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the description adds significant value beyond the schema. For example, it explains that 'code' should be 'the complete page HTML from generate_full_page', and that 'js' and 'css' are for separate files. It provides context for parameters like 'industry' and 'pageType' for SEO recommendations, and explains the purpose of 'targetKeywords' for checking in headings and content.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: analyzing generated HTML for SEO optimization and digital marketing readiness. It specifies it checks 50+ factors across 10 categories and returns a score, grade, issues, and recommendations. It also explicitly positions the tool in a pipeline: 'Call this AFTER generate_full_page, BEFORE review_output.' This distinguishes it from sibling tools like generate_background or plan_architecture.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use guidance: after generate_full_page and before review_output. It also explains the feedback loop: if the score is too low, re-run code generation with fixes. It mentions using industry and pageType parameters for context-aware checks, and suggests targetKeywords for checking. No alternatives are needed as siblings are unrelated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/foduucom/UI-Architect-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server