Skip to main content
Glama

This week's highest-intent gaps

get_top_gaps
Read-only

Return the highest commercial-intent validated gaps from the past week, across all categories. Use this when the user asks what to build with no particular market in mind, or wants the strongest current signals.

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": "get_top_gaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax gaps to return (1-25, default 10).
categoryNoOptional exact category filter.

Output Schema

NameRequiredDescriptionDefault
gapsYes
looseNoTrue when no gap matched all your terms and these are loosely related instead. Not validation.
scopeNoget_top_gaps only: 'weekly' = the source complaints are from the last 7 days; 'all-time' = the week was empty, so these are the highest-intent gaps overall.
totalYesExact number of gaps matching the query in the corpus, NOT the length of the list above -- the list is capped by `limit`. Quote this, not gaps.length, when telling the user how much demand there is.
weekOfNoget_top_gaps only, present with scope 'weekly': the UTC date the 7-day window opened (YYYY-MM-DD).
hasMoreYesTrue when more gaps matched than the list carries (the query is limit-clamped). Offer to narrow or paginate rather than implying the list is everything.
dossierUrlYes
upgradeUrlNoPresent only when the caller's plan does not include full dossiers: the page that unlocks them. Surface it when the user wants depth the teaser does not have.
attributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / limit / default
      Added value: +10
    • addedInput schema / properties / limit / maximum
      Added value: +25
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedOutput schema / properties / hasMore
      Added value: +{
      +  "description": "True when more gaps matched than the list carries (the query is limit-clamped). Offer to narrow or paginate rather than implying the list is everything.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / scope
      Added value: +{
      +  "description": "get_top_gaps only: 'weekly' = the source complaints are from the last 7 days; 'all-time' = the week was empty, so these are the highest-intent gaps overall.",
      +  "enum": [
      +    "weekly",
      +    "all-time"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / total / description
      Added value: +"Exact number of gaps matching the query in the corpus, NOT the length of the list above -- the list is capped by `limit`. Quote this, not gaps.length, when telling the user how much demand there is."
    • addedOutput schema / properties / weekOf
      Added value: +{
      +  "description": "get_top_gaps only, present with scope 'weekly': the UTC date the 7-day window opened (YYYY-MM-DD).",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "gaps",
      -  "total",
      -  "dossierUrl",
      -  "attribution"
      -]New value: +[
      +  "gaps",
      +  "total",
      +  "hasMore",
      +  "dossierUrl",
      +  "attribution"
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties / upgradeUrl
      Added value: +{
      +  "description": "Present only when the caller's plan does not include full dossiers: the page that unlocks them. Surface it when the user wants depth the teaser does not have.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / gaps / items / properties / publicUrl
      Added value: +{
      +  "description": "Public page for this gap, readable with no account: the complaint, the scores, and how it compares in its category. Offer this first.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / gaps / items / properties / url / description
      Previous value: -"Link to give the user for this specific gap."New value: +"Link to this gap's full dossier. Requires a free account; anonymous visitors are redirected to signup and land back on THIS gap."
  4. Changed2 schema fields changed
    • addedOutput schema / properties / gaps / items / properties / category / description
      Added value: +"Broad product category, e.g. 'E-commerce' or 'DevTools'. Reusable as the category filter."
    • addedOutput schema / properties / gaps / items / properties / title / description
      Added value: +"The opportunity, phrased as what is missing."
  5. Changed1 schema field changed
    • addedOutput schema / properties / gaps / items / properties / url
      Added value: +{
      +  "description": "Link to give the user for this specific gap.",
      +  "type": "string"
      +}
  6. Changed2 schema fields changed
    • removedOutput schema / properties / gaps / items / properties / trending
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / gaps / items / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "category",
      -  "commercialIntent",
      -  "confidence",
      -  "trending"
      -]New value: +[
      +  "id",
      +  "title",
      +  "category",
      +  "commercialIntent",
      +  "confidence"
      +]
  7. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds useful behavioral context beyond that: the one-week recency window, the commercial-intent ranking criterion, and the cross-category default scope. Return shape is covered by the output schema, so no further disclosure is required.

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

Conciseness5/5

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

Two sentences, zero filler, with what-is-returned front-loaded and the usage trigger second. Nothing is repeated from the title or schema.

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?

With an output schema, full parameter documentation and read-only annotations, the description covers everything needed to select and call the tool. It only leaves minor ambiguity about how the 'past week' window is anchored (timezone, rolling vs calendar week).

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% and both parameters (limit with default/min/max, category) are fully documented there. The description adds only the implicit notion that the default is all categories, which is a marginal gain over the schema.

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 states a specific verb and resource ('Return the highest commercial-intent validated gaps') plus explicit scope ('from the past week, across all categories'), so the agent knows exactly what comes back. It does not name search_gaps as the narrower alternative, leaving sibling differentiation to be inferred from 'across all categories'.

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?

It gives a concrete trigger: 'when the user asks what to build with no particular market in mind, or wants the strongest current signals.' The 'no particular market' clause implicitly contrasts with a category-targeted search, but no alternative tool is named and no explicit when-not condition is stated.

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.