Skip to main content
Glama

Get This Week's Opportunities

get_opportunities
Read-onlyIdempotent

Get this week's ranked marketing opportunities: what happened in the tracked market, why it matters, a ready-to-run prompt, and any drafts already generated. Built from trending topics and competitive alerts.

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_opportunities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax opportunities to return (default 5, max 20)

Output Schema

NameRequiredDescriptionDefault
computedAtYesWhen the underlying analysis last ran
opportunitiesYesOpportunities ordered by rank

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / opportunities / items / properties / level
      Added value: +{
      +  "description": "How strong the signal is, from very_high down to low (for competitor moves, read metric for the severity)",
      +  "enum": [
      +    "very_high",
      +    "high",
      +    "notable",
      +    "moderate",
      +    "low"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / opportunities / items / properties / metric / description
      Previous value: -"Short badge, e.g. 'Momentum 82' or 'High severity'"New value: +"Short badge, e.g. 'High momentum' or 'High severity'"
    • removedOutput schema / properties / opportunities / items / properties / score
      Removed value: -{
      -  "description": "0-100, what the ranking sorts on",
      -  "type": "number"
      -}
    • changedOutput schema / properties / opportunities / items / required
      Previous value: -[
      -  "id",
      -  "rank",
      -  "kind",
      -  "title",
      -  "why",
      -  "metric",
      -  "score",
      -  "sourceTypes",
      -  "examples",
      -  "prompt",
      -  "drafts",
      -  "detectedAt"
      -]New value: +[
      +  "id",
      +  "rank",
      +  "kind",
      +  "title",
      +  "why",
      +  "metric",
      +  "level",
      +  "sourceTypes",
      +  "examples",
      +  "prompt",
      +  "drafts",
      +  "detectedAt"
      +]
  2. 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, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine context beyond that: the aggregation provenance (built from trending topics and competitive alerts) and the composite nature of each item (event, rationale, prompt, drafts), which tells the agent this is a derived digest rather than a raw data fetch.

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 dense sentences, front-loaded with the object of the call, then the payload breakdown. No filler, no restatement of the title alone.

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?

Output schema exists and the parameter is fully documented, so the remaining burden is small and the description covers content and provenance well. A minor gap remains: it does not define how 'this week' is bounded (calendar week vs. rolling 7 days) or what 'ranked' means (rank order, score).

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?

Only one optional parameter (limit) with 100% schema coverage including default and max, so the schema already carries parameter meaning. The description adds nothing about paging or how the limit interacts with ranking, which hits the baseline of 3 rather than exceeding it.

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 verb and resource (get this week's ranked marketing opportunities) and enumerates the payload: what happened, why it matters, a ready-to-run prompt, and existing drafts. It also names its input sources (trending topics and competitive alerts), which hints at the relationship to siblings like get_trending_topics and get_competitive_insights, but it never explicitly distinguishes itself from them.

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 phrase 'this week's ranked opportunities' – an agent can infer this is the weekly digest entry point. However, there is no explicit when-to-use vs. when-not framing and no named alternative such as 'for raw topic data, use get_trending_topics', leaving routing to inference.

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.