inputSchema
{
"type": "object",
"required": [
"content"
],
"properties": {
"url": {
"type": "string",
"description": "Optional URL for context"
},
"content": {
"type": "string",
"description": "Plain text or HTML content to analyze"
},
"targetKeyword": {
"type": "string",
"description": "Target keyword for density and placement checks"
}
}
}
outputSchema
{
"type": "object",
"required": [
"score",
"issues",
"keywordDensity",
"wordCount",
"headingStructure",
"metaAnalysis",
"readabilityScore"
],
"properties": {
"score": {
"type": "number",
"description": "SEO score 0-100"
},
"issues": {
"type": "array",
"items": {
"type": "object",
"required": [
"severity",
"rule",
"message",
"suggestion"
],
"properties": {
"rule": {
"type": "string"
},
"message": {
"type": "string"
},
"severity": {
"enum": [
"error",
"warning",
"info"
],
"type": "string"
},
"suggestion": {
"type": "string"
}
}
}
},
"wordCount": {
"type": "number",
"description": "Total word count"
},
"metaAnalysis": {
"type": "object",
"required": [
"titleLength",
"hasMetaDescription",
"descriptionLength"
],
"properties": {
"titleLength": {
"type": "number"
},
"descriptionLength": {
"type": "number"
},
"hasMetaDescription": {
"type": "boolean"
}
}
},
"keywordDensity": {
"type": "number",
"description": "Keyword density percentage"
},
"headingStructure": {
"type": "object",
"required": [
"h1Count",
"h2Count",
"h3Count",
"hasProperHierarchy"
],
"properties": {
"h1Count": {
"type": "number"
},
"h2Count": {
"type": "number"
},
"h3Count": {
"type": "number"
},
"hasProperHierarchy": {
"type": "boolean"
}
}
},
"readabilityScore": {
"type": "number",
"description": "Flesch-Kincaid reading ease 0-100"
}
}
}