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

@adsim/semrush-mcp-server

by GeorgesAdSim

SEMrush Gap Analysis

semrush_gap
Read-onlyIdempotent

Identify keyword, backlink, and content opportunities competitors have that your domain lacks by comparing two to five domains.

Instructions

Competitive gap analysis combining multiple SEMrush endpoints. Available actions:

  • keyword_gap: Find keywords where competitors rank top 20 but you don't. Returns opportunities sorted by volume with opportunity_score.

  • backlink_gap: Find referring domains linking to competitors but not to you. Returns missing domains sorted by authority with priority level.

  • content_gap: Compare top organic URLs across competitors to find topics you're missing. Returns topic clusters with opportunity counts.

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>",
      "domains": "<domains>"
    },
    "name": "semrush_gap"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax keywords/domains to analyze per domain
actionYesGap analysis type
domainsYesDomains to compare. First domain is the TARGET, rest are competitors.
databaseNoSEMrush database codefr

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds useful return-shape context that no output schema provides (volume-sorted opportunities with opportunity_score, authority-sorted domains with priority level, topic clusters with counts), which materially helps an agent interpret results. It stops short of disclosing API/credit cost or rate behavior.

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

Conciseness4/5

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

Front-loaded one-line framing followed by a compact per-action bullet list, with no marketing padding. The bullets are parallel and each carries distinct information. Only the 'Available actions:' lead-in is mildly redundant wording.

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 tool with no output schema, the description does the heavy lifting by explaining what each action returns, and the schema fully covers the four parameters. Remaining gaps are minor: no statement about credit consumption or per-call limits, and no note on behavior when fewer than two domains are supplied.

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

Parameters3/5

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

Schema description coverage is 100%, including the critical note that the first domain is the target and the rest are competitors, plus enum values for action. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 resource (competitive gap analysis) and decomposes it into three named actions with distinct outputs (keyword opportunities, missing referring domains, missing topic clusters). An agent can tell exactly what it gets per action. It does not explicitly distinguish itself from overlapping siblings such as semrush_backlinks or semrush_keyword, which is the only missing element.

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?

Each action's return content is described, implying which one to pick for a keyword, link, or content question, but there is no explicit when-to-use/when-not-to-use statement and no mention of the alternative SEMrush tools for narrower lookups. Nothing is said about cost or credit consumption despite a semrush_credits sibling existing, which agents selecting SEMrush tools often need.

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