SEO Performance MCP
The SEO Performance MCP is a read-only, data-driven content audit server that unifies SEO and analytics signals from multiple sources (Google Search Console, Matomo/GA4, Microsoft Clarity, AI citation tracking) and runs a deterministic rule engine to produce actionable verdicts for every content URL.
What you can do:
Discover content inventory — enumerate posts from XML sitemaps, Ghost CMS, or custom JSON lists, with metadata (title, publish date, age, tags); filter by age or publish date.
Pull unified per-URL snapshots — fetch 30/60/90-day rollups combining GSC (clicks, impressions, CTR, position, top queries), Matomo/GA4 (visits, dwell time, bounce rate, pageviews), Microsoft Clarity (scroll depth, rage clicks), and AI citation counts — all in one call.
Analyze traffic decay/growth trends — bucket weekly GSC data to get a
decay,plateau, orgrowthtrend label with a decay percentage.Get per-post content verdicts — run the rule engine on a single URL to receive a verdict (
refresh,expand,merge,kill,double_down, orhold) with reason codes, supporting evidence, and a 0–1 confidence score. Rules and thresholds are customizable.Generate markdown refresh briefs — produce ready-to-hand-off briefs for editors or AI agents, including verdict, raw numbers, top queries, and suggested actions.
Run full cohort audits — score and rank your entire post library by verdict priority and confidence to answer "which three posts should I refresh this week?"
Track AI citation losses — identify which LLMs previously cited a URL but no longer do, including last-seen date and the replacing URL.
Find quick-win title rewrite opportunities — surface (page, query) pairs at positions 5–15 with impressions above a threshold but CTR below the position-expected curve.
It integrates seamlessly with AI clients (Claude, Cursor), can run as a GitHub Action, or be used via a one-shot CLI. All operations are read-only — no content is mutated.
Supports post discovery via XML sitemap for Astro sites.
Supports post discovery via XML sitemap for Framer sites.
Optional integration for richer metadata via Ghost Admin API.
Allows running tools as a GitHub Action on a cron schedule, outputting results to issues or PRs.
Provides clicks, impressions, CTR, position, and top queries data for each URL.
Supports post discovery via XML sitemap for Hugo sites.
Provides visits, dwell time, and bounce rate analytics data.
Supports post discovery via XML sitemap for Next.js sites.
Supports post discovery via XML sitemap for Notion-as-a-site.
Supports post discovery via XML sitemap for Squarespace sites.
Supports post discovery via XML sitemap for Substack mirror sites.
Supports post discovery via XML sitemap for Webflow sites.
Supports post discovery via XML sitemap for Wix sites.
Supports post discovery via XML sitemap for WordPress sites.
seo-performance-mcp
Know which blog posts to refresh, expand, merge, or kill - without guessing.
A MCP server that turns your scattered SEO and analytics data into one clear verdict per URL. Plug it into Claude, Cursor, or any MCP-aware client and ask: "Which three posts should I update this week?" - and get an answer backed by hard numbers.
What it does
seo-performance-mcp unifies post-publish signals from every channel you already pay for:
Google Search Console - clicks, impressions, CTR, position, top queries
Matomo or GA4 - visits, dwell time, bounce rate
Microsoft Clarity - scroll depth, rage clicks, dead clicks
AI citation tracking - which LLMs cite your URL today vs. last month
Sitemap / CMS - publish dates, tags, word counts (any platform via XML sitemap; optional Ghost integration for richer metadata)
It then runs a deterministic rule engine over those signals and emits a verdict per URL:
refresh/expand/merge/kill/double_down/hold
with reason codes, evidence, and a 0-1 confidence score. Reporting only - the server never mutates your posts.
Related MCP server: GSC SEO MCP
Why it matters
Most content teams have analytics in five tabs and a gut feeling. That's how good posts rot quietly, mediocre posts get over-promoted, and the obvious "rewrite this one" is invisible until traffic has already cratered.
This MCP closes the loop:
One question, one URL in, one verdict out.
Same logic across the whole cohort, so the ranking is comparable.
All decisions traceable to numeric thresholds you can pin in
src/verdict/rules.ts.AI clients (Claude, Cursor, MCP hosts) can drive the entire content audit in plain English.
Who it's for
Content marketers running a blog of 50+ posts and tired of guessing what to refresh.
SEO consultants doing audits who want a portable, deterministic scoring layer instead of bespoke spreadsheets.
AI-first content teams wiring up rewrite agents - this MCP is the upstream signal layer.
Indie publishers on Ghost, WordPress, Hugo, Astro, Next, Webflow, or any CMS that exposes a sitemap.
What you get
After one cohort run you have:
A ranked table of every post with a verdict and confidence score.
A markdown brief per "refresh" URL: numbers + top queries + suggested actions an editor (or a writing agent) can act on immediately.
A list of "quick wins": queries sitting at positions 5-15 with below-expected CTR - the fastest title-rewrite wins on the property.
A historical AI-citation diff: which LLMs cited you and stopped.
Install
npx -y @automatelab/seo-performance-mcpIn a Claude, Claude Code, or Cursor MCP config:
{
"mcpServers": {
"seo-performance": {
"command": "npx",
"args": ["-y", "@automatelab/seo-performance-mcp"],
"env": {
"POSTS_SITEMAP_URL": "https://example.com/sitemap.xml",
"GSC_SERVICE_ACCOUNT_JSON": "<base64-encoded service-account JSON>",
"GSC_SITE_URL": "sc-domain:example.com",
"MATOMO_URL": "https://example.com/analytics",
"MATOMO_TOKEN": "...",
"MATOMO_SITE_ID": "1",
"GA4_PROPERTY_ID": "123456789",
"GA4_SERVICE_ACCOUNT_JSON": "<base64-encoded service-account JSON>",
"CLARITY_PROJECT_ID": "...",
"CLARITY_API_TOKEN": "...",
"CITATION_INTELLIGENCE_URL": "https://citation.example.com"
}
}
}
}Every env var is optional. Adapters that lack their env config skip their slice of the snapshot; the server still boots. The verdict engine works on whatever slices are present.
Platform integration
Point it at any site, no CMS plugin required. The post-discovery layer resolves in priority order:
POSTS_LIST- JSON array of{url, title?, published_at?, tags?, word_count?}. Use this when you already have a content index and want exact control.Ghost Admin API - if both
GHOST_ADMIN_API_URLandGHOST_ADMIN_API_KEYare set, Ghost is used as a richer metadata source. Optional.HTML extraction - per-URL
og:title,article:published_time, and JSON-LDdatePublishedare read live from the URL.XML sitemap - set
POSTS_SITEMAP_URLto your sitemap (or sitemap index) and the server enumerates posts from<loc>+<lastmod>.
Most users only need POSTS_SITEMAP_URL. WordPress, Hugo, Astro, Next.js, Webflow, Framer, Wix, Squarespace, Notion-as-a-site, Substack-mirror sites all expose a sitemap by default.
To add a brand-new platform: nothing to build - just point POSTS_SITEMAP_URL at it.
Tools exposed
Tool | What it returns |
| Posts with |
| Per-URL unified rollup for a 30/60/90-day window: GSC + Matomo + GA4 + Clarity + citations + meta. |
| Weekly GSC clicks/impressions/position buckets + a |
| Verdict ( |
| Markdown brief for a human or downstream LLM editor: numbers, top queries, suggested actions. |
| Cohort verdict table sorted by priority + confidence. "Which three posts should I refresh this week?" |
| LLM citations that dropped off for a given URL. Needs |
|
|
Use as a GitHub Action
Run any of the tools on a cron from CI and post the output to a GitHub Issue, Discussion, or PR. The action is published on the GitHub Marketplace.
- uses: AutomateLab-tech/seo-performance-mcp@v1
with:
tool: cohort_report
format: markdown
input: '{"window": 90, "min_age_days": 90, "limit": 20}'
gsc-service-account-json: ${{ secrets.GSC_SERVICE_ACCOUNT_JSON }}
gsc-site-url: ${{ secrets.GSC_SITE_URL }}
posts-sitemap-url: ${{ secrets.POSTS_SITEMAP_URL }}Outputs:
Output | Description |
| Tool output as a multi-line string (markdown or JSON, per |
| Path of the file the tool output was written to. Hand to |
| For |
A complete weekly-audit workflow that opens a GitHub Issue with the cohort report is in examples/weekly-cohort-report.yml.
Use as a one-shot CLI
The package also ships a seo-perf-cli bin so you can run a single tool without an MCP client:
npx -p @automatelab/seo-performance-mcp seo-perf-cli cohort_report \
--input '{"window": 90, "limit": 20}' \
--format markdownSame env vars as the MCP server. --format markdown is supported for cohort_report and posts_refresh_brief; other tools fall back to fenced JSON.
Companion skills + Cursor rule
Three thin routing files ship in the repo so the LLM in your client knows when to reach for these tools:
skills/seo-performance/SKILL.md- tool-routing skill. Drop into~/.claude/skills/seo-performance/(or.claude/skills/per project) to auto-load in Claude Code. Routes a single question to the right tool.skills/weekly-audit/SKILL.md- one-shot weekly audit playbook. Composesgsc_quick_wins+cohort_report+posts_cite_lossinto a deduped, cross-signal ranked digest with proposed edits per URL. Drop in alongside the routing skill.cursor/rules/seo-performance.mdc- copy to.cursor/rules/seo-performance.mdcin any Cursor workspace.
All optional. The MCP server works without them; they just shorten the "which tool do I call" round-trip.
MCP prompts
The server exposes three prompts that bundle the playbook. Any MCP client (Claude Desktop, Claude Code, Cursor, Continue) can list and invoke them:
Prompt | What it runs |
|
|
|
|
|
|
Verdict engine
Deterministic, rule-based, traceable. Reason codes:
ctr_below_position_expectedposition_driftdecay_30d_over_30pct/decay_60d_over_50pctstagnant_no_clicksthin_content_low_dwellrising_impressions_low_ctr/rising_clicks_continue_investmentcitation_loss/citation_growthduplicate_or_cannibalizinghigh_bounce_low_scrollfresh_post_too_young
The mapping (reasons → verdict) and every threshold lives in src/verdict/rules.ts. Edit it, pin it in tests, ship your own rule book.
Development
npm install
npm run dev # tsx src/index.ts
npm run build # tsc
npm test # vitestLicense
MIT
Available Tools
9 toolsbing_quick_winsBing quick wins (positions 5-15)ARead-onlyIdempotent
Scan Bing Webmaster Tools for queries sitting in positions 5-15 with non-trivial impressions. Bing's index backs Copilot, ChatGPT search, and Perplexity grounding, so a Bing rank gap is an LLM-citation gap.
Query-level only: Bing has no single page+query API, so - unlike gsc_quick_wins, which returns (page, query) pairs - these carry no url. Sorted by impressions desc.
Requires BING_WEBMASTER_API_KEY (Bing Webmaster Tools -> Settings -> API Access). Best-effort: returns config_missing if unset.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of queries to return. Defaults to 50; cap is 200. | |
| window | No | Lookback window in days, applied to Bing's weekly buckets. One of 30, 60, or 90. Default 90. | |
| max_position | No | Maximum average Bing position to include. Defaults to 15 (bottom of page 2). | |
| min_position | No | Minimum average Bing position to include. Defaults to 5 (top of page 1). | |
| min_impressions | No | Minimum total impressions to include. Filters out long-tail noise. Default 30 (lower than GSC; Bing volume is smaller). |
Output Schema
| Name | Required | Description |
|---|---|---|
| wins | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare the safe read-only, idempotent, non-destructive profile, but the description adds real context beyond them: the required BING_WEBMASTER_API_KEY, where to obtain it, the best-effort config_missing failure mode, the sort order, and the structural limitation that results carry no url. That is meaningful disclosure for a data-fetch tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences/paragraphs, front-loaded with what it does, then the sibling contrast, then the operational requirement. No filler, and each sentence carries distinct information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Output schema exists, so return values need not be explained, and the description still covers the key caveat (no url field) and ordering. Combined with a fully documented input schema and auth/failure notes, an agent has everything needed to invoke and interpret it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3; the description adds the rationale behind the position window (5-15 = quick wins) and notes non-trivial impressions, giving semantic framing beyond the raw defaults. It does not document limit/window syntax itself, so not a 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource (scan Bing Webmaster Tools for queries in positions 5-15 with non-trivial impressions) and explicitly differentiates from the sibling gsc_quick_wins by noting the query-level vs (page, query) distinction. An agent can tell exactly what this returns without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Names the alternative (gsc_quick_wins) and the structural reason to choose it or not (query-level only, no url). It also supplies the motivational context for using it at all (Bing index backs Copilot/ChatGPT/Perplexity grounding). No explicit 'when-not-to-use' beyond that contrast, so it falls just short of 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
cohort_reportCohort report across postsBRead-only
Run the verdict engine across a cohort (filtered by tag and/or min-age) and return a ranked table sorted by verdict priority then confidence.
Practical use: 'which three posts should I refresh this week?' - the top three rows with verdict=refresh and highest confidence are the answer.
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Explicit list of post URLs to include. Overrides sitemap discovery. | |
| limit | No | ||
| window | No | ||
| sitemap_url | No | Sitemap URL to enumerate the cohort. Falls back to POSTS_SITEMAP_URL env var. | |
| min_age_days | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| rows | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior context about result ordering (verdict priority, then confidence) and the sitemap env-var fallback, but says nothing about cost/latency of scanning a cohort or how many rows are returned relative to the limit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the core operation and followed by a concrete example; no filler. The example sentence earns its place by making the ranked output interpretable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be re-explained, and the description covers selection and ordering. But with 40% param coverage and a phantom 'tag' filter, an agent still lacks details on how cohort membership is actually determined (urls vs. sitemap vs. defaults).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 40% across five parameters, so the description should compensate. It mentions min-age and a 'tag' filter — but tag is not a parameter at all, and it says nothing about urls, limit, or window semantics. The single nod it gives is partly misleading rather than clarifying.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
It states a concrete verb+resource: run the verdict engine across a cohort, returning a ranked table sorted by verdict priority then confidence. That distinguishes it from the per-post siblings like posts_verdict. However, it claims filtering 'by tag and/or min-age' when no tag parameter exists in the schema, which muddies what the tool actually does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The practical-use sentence ('which three posts should I refresh this week?') gives a clear, actionable scenario for selecting this tool and even describes how to read the result. No explicit alternatives or exclusions are named (e.g., vs. posts_verdict), so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gsc_quick_winsGSC quick wins (positions 5-15)ARead-onlyIdempotent
Scan GSC for (page, query) pairs sitting in positions 5-15 with non-trivial impressions and a CTR below their position-expected curve. These are the fastest title-rewrite wins.
Returns top results sorted by impressions desc. Pure GSC pull - platform-agnostic.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| window | No | ||
| max_position | No | ||
| min_position | No | ||
| min_impressions | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| wins | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds real behavioral context beyond that: the ranking behavior ('sorted by impressions desc') and the fact it is a platform-agnostic GSC pull. It stops short of mentioning pagination or the effect of the window on the CTR curve.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tight sentences, front-loaded with the core scan logic before the outcome and the return-ordering note. No filler, and each sentence carries information an agent needs.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return-value explanation is unnecessary, and the description covers the filtering heuristic and sort order well. The main residual gap is the undocumented window parameter, which materially affects which pairs qualify as 'quick wins'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% across 5 parameters, so the description has to carry the load. It clarifies min_position/max_position ('positions 5-15') and min_impressions ('non-trivial impressions'), which is useful, but leaves the window enum (30/60/90) and the limit/cap undefined in both schema and prose.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Scan) and resource (GSC page/query pairs) with a precise scope: positions 5-15, non-trivial impressions, CTR below position-expected curve. It also implicitly distinguishes itself from the sibling bing_quick_wins by declaring itself a 'Pure GSC pull - platform-agnostic'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear context for use ('the fastest title-rewrite wins'), which tells the agent what decision the tool supports. However, it does not explicitly state when to prefer this over bing_quick_wins or the refresh_brief siblings, leaving the alternative selection to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
posts_cite_lossAI-citation losses per URLARead-onlyIdempotent
Return the list of LLMs that previously cited this URL but no longer do, with the prior query and last-seen date. Optionally includes the URL that replaced ours.
Requires a configured citation-intelligence MCP endpoint (CITATION_INTELLIGENCE_URL). Otherwise returns an empty list.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical URL of the post. |
Output Schema
| Name | Required | Description |
|---|---|---|
| url | Yes | |
| active | Yes | |
| losses | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive/open-world, so the safety profile is covered. The description adds genuinely non-structured behavioral context: the dependency on a configured citation-intelligence endpoint and the degraded-mode result (empty list) when it is absent, plus the shape of what is returned.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences: the return content is front-loaded, and the operational caveat follows immediately. No filler or repetition of the name or title.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter, read-only tool with an output schema and rich annotations, the description covers purpose, degraded-mode behavior, and return content. The only missing element is routing guidance against sibling tools, which is a minor gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single url parameter, so the schema already carries the meaning. The description adds nothing about the URL's expected format or canonicalization beyond what the schema states. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Return) and a precisely defined resource (LLMs that previously cited this URL but no longer do), plus the payload fields (prior query, last-seen date). This 'citation loss' concept is clearly distinct from sibling tools like posts_decay_curve, posts_snapshot, and posts_verdict.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description discloses a usage prerequisite (a configured CITATION_INTELLIGENCE_URL, otherwise an empty list), which is useful context. However, it never says when to prefer this tool over alternatives such as posts_decay_curve or posts_verdict, and no exclusions are given. Implied usage only.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
posts_decay_curveWeekly GSC decay curveARead-onlyIdempotent
Bucket GSC clicks/impressions/avg-position into ~weekly windows for the last N weeks (default 12) and classify the trend: decay / plateau / growth.
Underpins the verdict engine's decay rules. Read-only GSC query.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical URL of the post. | |
| weeks | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| url | Yes | |
| trend | Yes | |
| buckets | Yes | |
| decay_pct | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered; 'Read-only GSC query' largely restates them. The description does add real value by explaining this feeds the verdict engine's decay rules, but it says nothing about rate limits, latency, or data freshness.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences, front-loaded with the operation, followed by context and the read-only note. No filler and nothing buried.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be explained, and the description still conveys the key output shape (the three trend classes). Combined with annotations covering safety, the definition is nearly complete; only alternative-tool routing guidance is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 50% – url is documented, but weeks has no schema description. The description partially compensates by giving the default ('default 12'), though it omits the schema's 4-52 bounds. Baseline 3 is appropriate given only half the parameters are documented structurally.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: bucketing GSC clicks/impressions/avg-position into weekly windows and classifying the trend as decay/plateau/growth. The metric set and output classification make the purpose unambiguous. It does not explicitly contrast itself with the sibling posts_verdict, but the resource is distinct enough to disambiguate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description places the tool in context ('underpins the verdict engine's decay rules'), which implies when it matters, but gives no explicit when-to-use versus alternatives such as posts_verdict or posts_snapshot. Usage is inferable rather than stated, which is the definition of a 3.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
posts_listList posts from any platformARead-onlyIdempotent
Discover posts via an XML sitemap (POSTS_SITEMAP_URL or the sitemap_url arg), a JSON override list (POSTS_LIST), or - if configured - the Ghost Admin API. Pass an explicit urls[] to skip discovery entirely.
Returns metadata: url, title, published_at, age_days, tags. Filter by minimum age or published-after date.
When to use: discover which URLs are eligible for snapshot / verdict / cohort analysis. Works with any CMS that exposes a sitemap.
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Explicit list of post URLs to return directly, bypassing sitemap discovery. | |
| limit | No | ||
| since | No | ISO date - only return posts published after this date. | |
| sitemap_url | No | URL of an XML sitemap to enumerate posts. Overrides POSTS_SITEMAP_URL env var. Required if neither POSTS_SITEMAP_URL nor POSTS_LIST is set. | |
| min_age_days | No | Skip posts younger than this many days. |
Output Schema
| Name | Required | Description |
|---|---|---|
| posts | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: the env-var vs arg precedence (sitemap_url overrides POSTS_SITEMAP_URL), the configured Ghost API fallback, and the returned metadata fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tight paragraphs: discovery modes first, then return/filter shape, then the when-to-use routing. Every sentence carries information an agent needs, with no restatement of the name or title.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, the description needn't enumerate return values, yet it does so briefly without harm. Safety and discovery configuration are well covered; the only gap is the limit parameter's role in result truncation and any pagination behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is already 80%, so the baseline is 3, but the description adds precedence rules not present in the schema chain ('sitemap_url arg overrides POSTS_SITEMAP_URL env var', 'required if neither env var is set') and clarifies urls[] as a full bypass. The limit parameter is still unexplained, but the added meaning is genuine.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb and resource (discover/list posts) and enumerates the three discovery mechanisms plus the explicit urls[] bypass, which no sibling offers. It also distinguishes itself from the snapshot/verdict/cohort tools by framing itself as the eligibility-discovery step that feeds them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives a clear 'When to use' line tying the tool to snapshot/verdict/cohort analysis and explains the alternative path (pass urls[] to skip discovery). It stops short of stating when NOT to use it or how it differs operationally from posts_snapshot, but the routing context is unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
posts_refresh_briefRefresh brief (markdown) per postARead-only
Produce a markdown brief for a human (or downstream LLM) editor: verdict + reasons + raw numbers + top queries + suggested actions.
Use this as the hand-off artefact when verdict is refresh / expand / merge / double_down.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical URL of the post. | |
| window | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| markdown | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds the output artefact type (markdown) and its audience, which is useful, but it does not explain why idempotentHint is false (e.g., numbers shift with the window) or any rate/permission behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the artefact's content before the usage rule. No filler, though the second line could be merged more tightly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need no explanation, yet the description helpfully previews the brief's sections and anchors the verdict vocabulary it hands off from. Reasonably complete for a 2-param read-only tool; only the undocumented 'window' parameter leaves a hole.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 50%: 'url' is documented in the schema while 'window' has no description anywhere, including its enum of 30/60/90. The description mentions no parameters at all, so it does not compensate for the gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Produce a markdown brief') and enumerates the sections it contains (verdict, reasons, raw numbers, top queries, suggested actions). It implicitly distinguishes itself from the sibling posts_verdict as the downstream artefact rather than the verdict itself, but never names a sibling explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Use this as the hand-off artefact when verdict is refresh / expand / merge / double_down' gives a clear trigger condition tied to the sibling tool's output vocabulary. It does not state when NOT to use it or what to use instead, but the context is unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
posts_snapshotUnified per-URL snapshotARead-only
Pull a 30/60/90-day snapshot across every configured signal source for one post: GSC clicks/impressions/CTR/position + top queries, Matomo visits + dwell, GA4 pageviews, Clarity scroll/rage clicks, AI-citation counts.
Each source is best-effort: if its env vars are missing the field is omitted. Returns whatever is available.
Read-only. No third-party writes. Optionally persists to the local DuckDB cache when persist=true.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical URL of the post to snapshot. | |
| window | No | ||
| persist | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| ga4 | No | |
| gsc | Yes | |
| bing | No | |
| meta | Yes | |
| matomo | No | |
| clarity | No | |
| citations | No | |
| window_days | Yes | |
| cannibalization | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: each source is best-effort and silently omits fields when env vars are missing, and it clarifies the local DuckDB cache write under persist=true. Minor tension with idempotentHint=false and the cache write, but not a contradiction of the read-only claim.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short, well-separated blocks that are front-loaded with the core purpose and then the caveats. No redundant sentences; each line (signal list, best-effort behavior, read-only + persist) carries distinct information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists so return values need not be explained, and annotations cover the safety profile. The description fills the remaining gaps — which sources are queried, best-effort omission behavior, and the optional cache write — leaving nothing an agent needs to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 33%, so the description must compensate. It documents the window values (30/60/90-day) and the persist semantics (local DuckDB cache), effectively covering the two undocumented parameters. The url parameter is left to its schema description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (pull) and resource (30/60/90-day snapshot for one post), and enumerates exactly which signals are aggregated (GSC, Matomo, GA4, Clarity, AI citations). This makes it disambiguable from aggregation siblings like posts_verdict and posts_refresh_brief, though it never names them explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the content (raw per-URL data gathering vs the sibling report/verdict tools), but there is no explicit when-to-use or when-to-prefer-an-alternative guidance. An agent must infer routing from the tool name and the sibling set.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
posts_verdictVerdict per post (refresh / expand / merge / kill / double_down / hold)ARead-only
Run the rule-based verdict engine on a single post: combine snapshot + decay curve and emit a verdict with reason codes and a 0-1 confidence score.
Reason codes are deterministic. The mapping reasons -> verdict lives in src/verdict/rules.ts and can be inspected.
Reporting only - does NOT mutate anything. To act on the verdict, hand the brief to a writer or to an AI rewrite tool.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical URL of the post. | |
| window | No | ||
| persist | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| url | Yes | |
| reasons | Yes | |
| verdict | Yes | |
| evidence | Yes | |
| confidence | Yes | |
| reason_strings | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, so safety is covered; the description usefully adds that reason codes are deterministic, that the verdict carries a 0-1 confidence, and that it performs no mutation. It does not clarify the tension between the 'does NOT mutate' claim and the schema's 'persist' flag, nor the non-idempotent hint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the operation, then behavior, then the routing alternative in three tight sentences. The pointer to src/verdict/rules.ts is a minor implementation detail that slightly dilutes an otherwise efficient block.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be described, and the description is adequate on purpose and safety. But two of three parameters (window, persist) remain unexplained, and the persist flag sits awkwardly against the 'reporting only' framing, leaving an agent with real gaps before invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 33% — url is documented, but 'window' (30/60/90) and 'persist' are bare. The description never explains what window means (trailing days?) or what persist=true does, which is especially important given the explicit 'does NOT mutate anything' claim.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Run the rule-based verdict engine on a single post') and names the exact inputs it combines (snapshot + decay curve) and outputs (verdict, reason codes, 0-1 confidence). The 'single post' scope also differentiates it from list-oriented siblings such as posts_list.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear context (per-post verdict after snapshot and decay data exist) and an explicit when-not: it is reporting only, and acting on the verdict is routed to a writer or AI rewrite tool. It does not, however, say when to prefer this over sibling read tools like posts_snapshot or posts_decay_curve.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
17 tool updates
v0.1.2- Added
bing_quick_wins - Added
cohort_report - Removed
cohort.report - Added
gsc_quick_wins - Removed
gsc.quick_wins - Added
posts_cite_loss - Added
posts_decay_curve - Added
posts_list - Added
posts_refresh_brief - Added
posts_snapshot - Added
posts_verdict - Removed
posts.cite_loss - Removed
posts.decay_curve - Removed
posts.list - Removed
posts.refresh_brief - Removed
posts.snapshot - Removed
posts.verdict
8 tool updates
v0.1.1- First observed
cohort.report - First observed
gsc.quick_wins - First observed
posts.cite_loss - First observed
posts.decay_curve - First observed
posts.list - First observed
posts.refresh_brief - First observed
posts.snapshot - First observed
posts.verdict
TDQS
Scored across 9 tools
Each tool targets a distinct stage of the pipeline (discover, snapshot, analyze, verdict, brief, cohort, citation-loss, two platform-specific quick-win scans). posts_snapshot and posts_decay_curve both draw on GSC data but are clearly differentiated by purpose (raw multi-source snapshot vs. weekly trend classification), so only minor overlap remains.
Most tools follow a consistent domain_action pattern (posts_list, posts_snapshot, posts_verdict, gsc_quick_wins, bing_quick_wins). cohort_report and the quick_wins names break the verb-style slightly, but all remain readable and predictable.
Nine tools map cleanly onto a coherent SEO-analysis workflow, each earning its place without redundancy. This is squarely in the well-scoped 3-15 range.
The surface covers discovery, multi-source snapshots, decay analysis, verdict, human briefs, cohort ranking, citation loss, and GSC/Bing quick wins - a full read-side lifecycle. Gaps like historical time-series comparison or competitor benchmarking are minor and workable around.
Maintenance
Related MCP Connectors
- RampifyOAuthdev.rampify
SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.
Remote MCP server that gives Claude, ChatGPT, Cursor or any MCP client Google search volume, CPC, competition and similar keywords for 50+ countries. Works with no signup at 20 lookups a day; sign in with OAuth or an API key for higher limits, or $4.99 a month for unlimited.
SEO MCP: Search Console, GA4, SERP and domain data, rank tracking, AI citations and site fixes.
AI search readiness MCP: score a site for ChatGPT/Claude/Perplexity crawlers. 3 free/day.
Related MCP Servers
- AlicenseAqualityBmaintenanceAutomateLab AI SEO Magic Button runs a whole-site AEO/GEO audit and generates a prioritized plan an agent can execute. It combines AI-SEO and Citation Intelligence and ships as a skill, plugin, and MCP server. Product and documentation: https://automatelab.tech/products/skills-and-plugins/ai-seo-magic-button/18 npm2MIT
- AlicenseBqualityDmaintenanceProfessional Google Search Console MCP server providing 40+ SEO tools for performance analysis, content decay, CTR opportunities, and more, enabling real search data in clients like Cursor and Claude.4010 npm6MIT
- AlicenseNot gradedqualityDmaintenanceOpen-source MCP server that audits websites for AI search readiness, providing deterministic scoring (0-100) and prioritized fix lists for metrics like JSON-LD, llms.txt, heading hierarchy, and AI crawler access.1MIT
- AlicenseNot gradedqualityAmaintenanceAn open-source, local-first MCP server for automated Schema.org JSON-LD generation, GA4 metric validation, /llm.txt auditing, and content stickiness analytics.MIT