Skip to main content
Glama

compute_content_gaps

Work out which topics rivals cover that this site's own ranking pages do not, and store the answer. Free of money but metered against the plan's monthly content-gap allowance (free 25, pro 150, agency 500), one unit per page+keyword analysed. Deliberately on-demand — nothing computes gaps on a schedule, so call this when the user actually wants the answer. It picks the neediest pages itself: ones ranking 4-30 where we hold rival pages we have read, preferring pages that rank on page one but earn almost no clicks. Use dry_run first to show the user what would be analysed and how many units it costs. If the allowance runs out part-way the finished gaps are kept and cap_reached is true — report that honestly rather than presenting a partial list as complete. Read results later for free via get_competitive_landscape (content_gaps).

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum page+keyword pairs to analyse (default 10, max 50). Each one consumes a unit.
dry_runNoList what would be analysed and the unit cost without spending any
site_idYesThe site ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, idempotent=false) by disclosing the metered cost model, per-plan allowances, the unit-per-page+keyword accounting, the partial-result behavior when the cap is hit (finished gaps kept, cap_reached true), and the internal page-selection heuristic. This is unusually rich operational context for a mutation-style tool.

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?

Long but dense and front-loaded: purpose first, then cost model, then on-demand constraint, then selection heuristic, then dry_run/result guidance. Every sentence carries distinct information, though it could be trimmed slightly.

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?

No output schema exists, yet the description covers where results land (get_competitive_landscape -> content_gaps), the partial-cap caveat, and the cost, which is everything an agent needs to invoke and report correctly.

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; the description adds meaning by tying each analysis to a unit cost and clarifying that dry_run spends nothing while limit caps the pairs analysed. It reinforces rather than merely repeats the schema.

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?

States a specific verb and resource ('work out which topics rivals cover that this site's own ranking pages do not') and names where the output goes, distinguishing it from read/analysis siblings. An agent can tell what it does without opening the schema.

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

Usage Guidelines5/5

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

Explicit when-to-use: 'Deliberately on-demand — nothing computes gaps on a schedule, so call this when the user actually wants the answer.' It also directs the agent to run dry_run first and to fetch results later for free via get_competitive_landscape, naming the alternative consumer.

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.

Resources