Skip to main content
Glama

Find niche opportunities

find_opportunities
Read-only

Rank categories by opportunity score; filter by store, keyword, depth, max median reviews, min median price.

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

Input Schema

NameRequiredDescriptionDefault
sortNoscore
limitNo
queryNokeyword to restrict categories
storeNobooks = print books, kindle = Kindle eBooks
leaf_onlyNo
min_depthNo
min_median_priceNo
max_median_reviewsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds essentially nothing beyond that: no explanation of what the 'opportunity score' is composed of, whether results are paginated or capped, or what an empty result set means.

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?

A single compact sentence with the ranking behavior front-loaded and no filler. It is arguably too terse for the amount of undocumented behavior, but the writing itself is efficient.

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

Completeness2/5

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

For an 8-parameter tool with only 25% schema coverage and no output schema, the description leaves too much unexplained: sort ordering options, limit bounds, leaf_only semantics, and the meaning of the headline opportunity score. An agent would have to guess at the core ranking metric.

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 25% across 8 parameters, but the description does map five of them (store, query->keyword, min_depth->depth, max_median_reviews, min_median_price), which clarifies the 'median' framing. It is silent on sort, limit, and leaf_only, and the mappings largely restate parameter names.

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 ('Rank categories by opportunity score') and enumerates the filter dimensions, so the agent knows it returns an ordered category list. It never names or rules out the closely-named siblings (find_niches, find_segments, recommend_categories), so differentiation is left to inference.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given, and no alternative is named despite several plausible overlaps (find_niches, find_segments, recommend_categories). The filter list only implies that this is a filtering/ranking endpoint.

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.