Skip to main content
Glama

Keyword opportunities

get_keyword_opportunities
Read-onlyIdempotent

Searches an app's closest rivals (the 15 apps sharing most of its top-20 searches) hold a top-10 spot on while the app is missing (kind missing) or on page two (kind close, position 11-20), from the latest daily keyword crawl (top 20 per search, iPhone). Rivals' brand searches are left out. popularity 1-100 (Apple), difficulty 0-100 (how established and crowded the top 10 is), score ranks them. Countries: us, gb, tr, br, de, fr, jp, kr, ca, au. Free accounts see the first 10.

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": {
      "appId": "<appId>"
    },
    "name": "get_keyword_opportunities"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes
countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses the data provenance (latest daily keyword crawl, top 20 per search, iPhone), the rival definition (15 apps sharing most of the app's top-20 searches), an exclusion rule (rivals' brand searches are dropped), and metric semantics for popularity, difficulty and score. It also states the free-tier truncation to 10 results, which is exactly the kind of behavioral caveat an agent needs.

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?

It is dense with no filler — every clause carries information about scope, data source, metrics or limits. The tradeoff is structure: the opening sentence is a run-on with a broken clause, and metric definitions, country list and account limits are strung together without clear separation.

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

Completeness3/5

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

For a two-parameter read tool with no output schema, it covers the essentials: what counts as an opportunity, where the data comes from, metric definitions, supported countries and result limits. The gap is the dangling 'kind' concept, which suggests a filter the agent cannot actually pass, and no indication of whether appId accepts only numeric App Store IDs versus other identifiers.

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 0%, so the description must carry parameter meaning. It does this well for country by enumerating the ten supported values, which the schema only constrains by a two-letter pattern. It says nothing about appId beyond implication, and it introduces 'kind' values that are not in the schema at all, muddying rather than clarifying the parameter surface.

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 gives a concrete verb and resource (searches keyword opportunities for an app) and defines the opportunity precisely: keywords where 15 close rivals hold a top-10 spot while the app is missing or on page two. The first sentence is grammatically broken ("Searches an app's closest rivals ... hold a top-10 spot on while the app is missing"), which costs a bit of clarity, and it never explicitly contrasts itself with siblings like get_keyword_history or get_tracked_keywords.

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 implied by the concept of keyword gaps, and the description usefully notes that free accounts only see the first 10 results, which affects interpretation of results. However, there is no explicit when-to-use/when-not guidance and no routing to alternatives such as get_keyword_history or get_tracked_keywords. It also references 'kind missing' and 'kind close' as if they were selectable options, but no such parameter exists in the schema, leaving the agent unsure how to choose between them.

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