Skip to main content
Glama

get_keyword_gap

Get the keyword gap for a cataloged domain: phrases a tracked competitor holds a position for in our stored captures where this domain holds none ("absent"), or holds one at least 20 places further back ("behind"). Claimed domains only, computed from captures already on disk. Nothing is fetched and nothing is spent. The stored lists are a SAMPLE of each domain's footprint (the top rows a capture kept), so absence here is absence from our sample, never from public search; the response carries that sentence and it must be repeated wherever the result is shown. Positions are ranking footprint, never traffic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesCompany domain, e.g. acme.com

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and excels. It discloses that 'Nothing is fetched and nothing is spent,' that stored lists are a 'SAMPLE' with implications for absence interpretation, and that positions reflect 'ranking footprint, never traffic.' It also mandates repeating a disclaimer sentence wherever results are shown—an important behavioral requirement.

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?

The description is fairly long but each sentence contributes critical caveats or definitions. The structure front-loads the core definition, then layers constraints and disclaimers. It could be slightly tightened (e.g., 'nothing fetched/spent' could be one clause), but overall it is dense and purposeful.

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

Completeness5/5

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

Given the tool's simplicity (one parameter, no output schema), the description is exceptionally complete. It explains the computation logic, data source, limitations, and required response handling, covering all areas an agent needs to use the tool correctly and interpret its results.

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?

The sole parameter 'domain' is fully described in the schema with an example. The description adds context that the domain must be 'cataloged' and 'claimed,' but does not elaborate on format or validation beyond that. Since schema coverage is 100%, the description's addition is marginal but non-zero, meriting the baseline 3.

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

Purpose5/5

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

The description opens with a specific verb and resource ('Get the keyword gap for a cataloged domain') and defines the gap precisely with two concrete cases ('absent' and 'behind' by 20 places). This distinguishes it clearly from sibling tools like get_competitive_snapshot or get_engine_visibility, which address different analytical angles.

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

Usage Guidelines4/5

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

The description gives explicit applicability conditions: 'Claimed domains only' and 'computed from captures already on disk.' It also clarifies that no fetching or spending occurs, which signals a low-cost read operation. However, it does not explicitly mention alternatives or contrast against sibling tools, so it stops short of full 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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct resource or action: checking AEO records, reading SERP data, generating records, retrieving facts, citations, competitor snapshots, engine visibility, keyword gaps, etc. Even similar-sounding tools like get_citations and get_cited_domains are clearly delineated by their descriptions. No two tools appear to overlap in purpose.

Naming Consistency5/5

All tool names follow a consistent verb_noun convention using snake_case: check_*, get_*, generate_*, propose_*, run_*, search_*. There is no mixing of casing or verb styles, and each name instantly communicates the action and subject.

Tool Count5/5

With 14 tools, the server is well-scoped for the domain of AI citation optimization. Each tool contributes a unique capability, and the count is neither sparse nor bloated. The number fits comfortably within the ideal 3-15 range for a focused server.

Completeness4/5

The tool surface covers the core lifecycle: checking existing records, generating new records, auditing and fixing sites, retrieving data, analyzing gaps, and proposing briefs. Minor gaps exist such as no direct tool for claiming a domain or managing tracked keywords/competitors, but those may be external to the MCP server. Overall, the set supports the intended workflows well.

Resources