Skip to main content
Glama

Get AI opportunities

get_ai_opportunities
Read-only

Identifies AI visibility opportunities for an app by comparing ChatGPT and Gemini mentions, revealing prompts within reach, pages to target, and competitors named instead.

Instructions

Where the app can gain ground, vs the previous window. within_reach: prompts one engine names it on and another not (missing), or ranks it third or lower (rank), with who is named instead and pages to get on. won: prompts won since. pages_to_get_on: pages cited in answers leaving it out. keywords_chatgpt_searched: ChatGPT's searches as store keywords (times_searched); to track one, track_keywords takes its application_id (as app_id), store, country, lang. named_instead: tracked competitors. Prompt texts in prompts. Read-only.

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": {
      "ai_app_id": "<ai_app_id>"
    },
    "name": "get_ai_opportunities"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast day, YYYY-MM-DD (default today)
daysNoDays in the window (default 7)
limitNoRows per list (default 10)
engineNoDefault both
countryNoOne market, ISO code (default all)
ai_app_idYesid from list_ai_visibility_apps

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover readOnlyHint and destructiveHint, and 'Read-only.' merely repeats them. The real value is that the description explains the semantic meaning of each returned list, which matters because there is no output schema — e.g. within_reach splits 'missing' vs 'rank' cases, 'won' is scoped 'since', and keywords are ChatGPT searches with a times_searched count. It does not clarify how the comparison window is computed or whether results are paginated.

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 content is dense and every clause carries information, but it is written as telegraphic fragments with inconsistent backticking and no front-loaded summary sentence; a reader has to decode lines like 'within_reach: prompts one engine names it on and another not (missing)' to reconstruct the purpose. Structuring the output keys as a short labeled list would cost nothing and read far better.

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?

For a six-parameter analytics tool with no output schema, the description covers the highest-risk unknown — what each returned list means — which makes it callable with correct expectations. The remaining gap is the comparison-window definition ('vs the previous window') and result-size behavior, both of which an agent would want to know before rendering 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?

Schema description coverage is 100% and every parameter (end, days, limit, engine, country, ai_app_id) already documents its default and constraints, so the baseline is 3. The description adds only indirect meaning — 'prompts one engine names it on and another not' hints at what the engine filter does — and the parameter names it does cite (application_id, store, country, lang) belong to track_keywords, not this tool.

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 opening clause 'Where the app can gain ground, vs the previous window' plus the tool name conveys that this returns AI-visibility opportunity gaps, and the enumerated output sections (within_reach, won, pages_to_get_on) make the resource concrete. It never states a clean verb+resource sentence, and it doesn't explicitly distinguish itself from siblings like get_ai_visibility or get_ai_citations, so an agent must infer the boundary from the field list.

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?

There is one genuinely useful handoff: 'to track one, track_keywords takes its application_id (as app_id), store, country, lang', which tells the agent what to do with keywords_chatgpt_searched output. However, there is no guidance on when to pick this tool over get_ai_visibility, get_ai_citations, or get_ai_answer, and no prerequisites or exclusions are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.