Skip to main content
Glama
@adsim/semrush-mcp-server

@adsim/semrush-mcp-server

by GeorgesAdSim

SEMrush Domain Analytics

semrush_domain
Read-onlyIdempotent

Analyze a domain's SEO performance by retrieving organic and paid keywords, traffic estimates, competitor data, and ranking history across regional databases.

Instructions

Analyze a domain's SEO performance. Available actions:

  • organic: Get organic keywords, positions, traffic estimates

  • adwords: Get paid search (Google Ads) keywords

  • overview: Get overview across ALL SEMrush databases

  • overview_single: Get detailed overview for ONE database

  • history: Get historical ranking data over time

  • competitors: Get organic search competitors

  • paid_competitors: Get paid search (Google Ads) competitors

  • url_organic: Get organic keywords for a specific URL (not just domain)

  • url_adwords: Get paid keywords for a specific URL

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>",
      "domain": "<domain>"
    },
    "name": "semrush_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order (e.g., 'tr_desc', 'po_asc', 'nq_desc')tr_desc
limitNoNumber of results to return
actionYesAnalysis type to perform
domainYesDomain to analyze (e.g., 'example.com')
offsetNoResults offset for pagination
databaseNoSEMrush database code. Valides: us, uk, ca, au, de, fr, es, it, br, ar, be, ch, dk, fi, hk...fr

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds the action semantics but discloses nothing about credit consumption, rate limits, pagination behavior, or failure modes. A notable omission is the schema's default database of 'fr' (French index), which the description never flags even though it materially changes results.

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?

One framing sentence followed by a flat, scannable bullet list; every line carries a distinct action definition and nothing is repeated from the schema. It is front-loaded with the purpose and the decision-relevant content.

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

Completeness4/5

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

For a six-parameter, action-dispatch tool with no output schema, the description is nearly sufficient — the action space is fully mapped. The remaining gaps are operational (default database locale, pagination expectations via limit/offset, and how URL-scoped actions accept their target) rather than conceptual.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the bullet list adds real meaning to the action enum by explaining what each value returns. It also hints that url_organic/url_adwords operate on a specific URL rather than a domain, though this creates an unresolved tension with the domain parameter's TLD-only regex pattern — the description never explains how a URL is actually passed.

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

Purpose4/5

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

The description names a specific verb and resource ("Analyze a domain's SEO performance") and then enumerates all nine actions with a one-line definition each, so an agent knows exactly what data classes this tool surfaces. It stops short of differentiating itself from overlapping siblings such as semrush_traffic (this tool's 'organic' action also returns "traffic estimates") or semrush_keyword.

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

Usage Guidelines3/5

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

The action bullets function as intra-tool routing guidance, and the 'overview' vs 'overview_single' contrast is a genuinely useful disambiguation. However, there is no tool-level guidance about when to reach for semrush_domain instead of semrush_traffic or semrush_keyword, and no mention of prerequisites, credit cost, or exclusions.

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