Skip to main content
Glama

Query Opportunities

query_opportunities
Read-onlyIdempotent

Unified opportunity search: filter by keyword, minimum score, platform, recommendation tier and domain category, then sort the results. (Pro tool)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort order: 'score' (default, by overall score) or 'recent' (by creation time).score
queryNoKeyword matched against title + description, e.g. "sleep tracker", "AI writing". Empty = no keyword filter.
categoryNoCategory slug from get_overview, e.g. ai-developer-tools. Empty = all categories.
platformNoPlatform filter: reddit / hackernews / producthunt / stackexchange. Empty = all platforms.
min_scoreNoMinimum overall score, 0-100. Default 0.
page_sizeNoNumber of results to return, 1-30. Default 10.
recommendationNoRecommendation tier: Build / Validate / Skip. Empty = all tiers.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4/5.0
Behavior3/5

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

Annotations already provide safety signals (readOnlyHint, openWorldHint, idempotentHint, destructiveHint: false). The description adds that results can be filtered and sorted, but these behaviors are already evident from the schema. No additional context like pagination, rate limits, or aggregation specifics is provided, though the term 'Unified' hints at combined sources without detail. No contradiction with annotations.

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?

The description is a single, well-structured sentence that front-loads the core purpose ('Unified opportunity search') and then lists the key capabilities. The parenthetical '(Pro tool)' adds minor context without bloat. Every word earns its place.

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 tool with 7 optional parameters, rich schema descriptions, and an output schema, the high-level summary is sufficient to guide an agent. The description covers search, filtering, and sorting, while defaults and result structure are available in the schema. A small gap is the lack of explicit mention of pagination behavior, but the `page_size` parameter implies it.

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?

The input schema has 100% description coverage, so parameters are fully documented. The tool description merely repeats the parameter list (keyword, min_score, platform, etc.) without adding new semantic details. Per the rubric, baseline is 3 when schema coverage is high and the description does not compensate further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'search' with the resource 'opportunities' and explicitly lists the filter dimensions (keyword, minimum score, platform, recommendation tier, domain category) and sorting behavior. This clearly distinguishes it from sibling tools like get_opportunity (single item) or get_overview (category summaries). The purpose is completely unambiguous.

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?

The description clearly establishes this as the 'unified opportunity search' tool, implying it is the primary tool for finding opportunities via multiple filters. However, it does not explicitly mention when not to use it or name alternatives like get_opportunity for direct lookup. The context is clear but exclusions are absent.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a distinct purpose: get_overview provides a landscape map, get_theme dives into a specific theme, list_trending_themes shows hot themes, get_opportunity gives full detail on an opportunity, and query_opportunities enables filtered search. No overlap.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (get_overview, get_theme, list_trending_themes, get_opportunity, query_opportunities), making them predictable and easy to understand.

Tool Count5/5

With 5 tools, the server is well-scoped for its domain of market signal analysis. Each tool serves a clear function without redundancy or unnecessary complexity.

Completeness5/5

The tool set covers the full workflow: overview, theme exploration, trending themes, detailed opportunity views, and searchable filtering. All key operations for the domain are present with no obvious gaps.

Resources