Skip to main content
Glama

Competitor keyword gap

search_get_keyword_gap
Read-only

Keywords tracked competitors have pages for, compared with your exact Search Console position: missing (no page, not ranking), weaker (outside top 10) or winning. Competitor rankings are estimates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_get_keyword_gap"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
daysNo
limitNo
actionNo
statusNo
date_toNo
page_idNo
sort_byNo
user_idNo
platformNo
site_urlNo
client_idNo
date_fromNo
ad_accountNo
ig_user_idNo
user_emailNo
window_daysNo
range_presetNo
activity_onlyNo
campaign_nameNo
property_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / platform
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Platform"
      +}
    • addedInput schema / properties / window_days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Window Days"
      +}
  2. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's remaining job is context. It does add real value by flagging that competitor rankings are estimates and by defining what 'weaker' means (outside top 10) versus 'missing' (no page, not ranking). It adds nothing about scope limits, data freshness, result volume, or what 'tracked competitors' requires to be populated.

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?

Two sentences, front-loaded with the core comparison and followed by the caveat, with zero filler. The first clause ('Keywords tracked competitors have pages for') is slightly tangled grammatically but still parses.

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

Completeness2/5

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. However, a 21-parameter tool with no required fields and 0% schema coverage depends entirely on the description to tell an agent which inputs matter, and the description supplies none of that. The estimate caveat is good but does not offset the parameter gap.

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

Parameters2/5

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

Schema description coverage is 0% across 21 parameters with none required, so the description carries the full explanatory burden and largely fails it. The only implicit mapping is bucket terminology to a 'status' or 'action' field, and even that is never made explicit. Date ranges, limit, url/site_url/property_name disambiguation, user/client targeting, and sort_by are all left undocumented in both places.

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 analysis: keywords tracked competitors rank for versus 'your exact Search Console position', and defines the three outcome buckets (missing, weaker, winning). An agent knows this is a keyword-gap comparison rather than a plain keyword list. It stops short of distinguishing itself from gap-adjacent siblings such as seo_intel_get_link_gap or search_get_competitors, which it leaves to naming alone.

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

Usage Guidelines2/5

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

There is no statement of when to call this rather than another competitor or keyword tool, and no prerequisites such as needing competitors configured first. The bucket vocabulary (missing/weaker/winning) strongly implies a filter parameter exists but the description never says to pass it or how, so the agent gets no routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.