Skip to main content
Glama

get_citation_gap

Read-onlyIdempotent

Pages by Citation Gap category: A ranks and is cited, B ranks but is not cited, C is cited without ranking, D neither; pending pages with the reason. Categories only where both sides are statistically decided. Search to AI Citation: your tracked pages' observed search rank against how often AI answers cite them, weekly, from the account's own keys. Read-only; never starts a run. Needs an API key of a plan that includes it.

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": {
      "project": "<project>"
    },
    "name": "get_citation_gap"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesThe visibility project id, shown in the account's Search & AI pane.
categoryNoA, B, C, D or pending.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the description adds real value beyond them: 'never starts a run' clarifies that reads have no side effects on analysis, 'Needs an API key of a plan that includes it' flags a licensing prerequisite, and 'Categories only where both sides are statistically decided' discloses a non-obvious data-filtering rule that affects which results appear.

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

Conciseness3/5

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

The category definitions are front-loaded and useful, but the second sentence ('Search to AI Citation: your tracked pages' observed search rank against how often AI answers cite them, weekly, from the account's own keys') is a run-on that mixes source, metric, cadence and provenance into one clause, making it harder to parse. Prerequisites trail at the end rather than being grouped.

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?

The tool has an output schema, so return values need not be described, and the description covers both parameters' meaning (categories) and the operational context an agent needs: read-only, no run started, plan/API-key requirement, and the statistical gating of categories. Nothing material appears missing for a two-parameter read tool.

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 description coverage is 100%, so the baseline is 3, and the description earns more: the schema only labels the category enum as 'A, B, C, D or pending', while the description defines what each letter means and explains that 'pending' carries a reason. The project parameter and its meaning are left entirely to the schema, so it does not fully cover both parameters.

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 (pages bucketed by Citation Gap category) and defines each bucket concretely (A ranks and is cited, B ranks but is not cited, C cited without ranking, D neither, plus pending with reason). The leading verb phrase 'Pages by Citation Gap category' is slightly awkward, but the resource and its semantics are unmistakable.

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?

Usage is only implied: the 'Search to AI Citation' sentence hints that this relates to tracked pages' search rank vs. AI citation frequency, from which an agent can infer it is for citation-gap analysis. There is no explicit when-to-use or when-not-to-use statement, and no sibling such as get_page_opportunities is named as an alternative, so routing must be inferred.

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.