Skip to main content
Glama

Find Similar Opportunities

find_similar
Read-onlyIdempotent

Find opportunities similar to a given one using semantic similarity. Returns each result with similarityScore (0-1) and a concise matchExplanation of shared signals such as category/class, geography, organization, and award amount band. Useful when user likes one result and wants more like it. Uses vector embeddings to find conceptually related opportunities, not just keyword matches. Available to authenticated free and paid accounts, within their search allowance. Free-plan listing-access limits still apply. Counts toward your monthly searches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax similar opportunities to return (default: 5, max: 20)
opportunity_idYesID of the opportunity to find similar matches for (from search results)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish the safety profile (readOnly, idempotent, not destructive), and the description adds substantial context beyond them: returned fields (similarityScore 0-1, matchExplanation), the signals used for matching, auth requirements, and that calls consume the monthly search allowance with free-plan listing limits still applying. This quota/auth disclosure is exactly the kind of behavioral context annotations cannot convey.

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?

Front-loaded with purpose and mechanism, and each sentence is informative. However, the three trailing sentences about account access and quota ('Available to authenticated free and paid accounts... Free-plan listing-access limits still apply. Counts toward your monthly searches.') overlap and could be condensed into one.

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

Completeness5/5

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

With no output schema, the description steps in to describe return values (similarityScore and matchExplanation). Combined with the annotations covering safety, and the auth/quota disclosure, an agent has everything needed to invoke this correctly.

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%, so both parameters (opportunity_id and limit) are already documented in the schema, including defaults and max. The description implies opportunity_id semantically ('similar to a given one') but adds no format or constraint detail beyond the schema. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

States a specific verb (find), resource (opportunities), and the mechanism (semantic similarity/vector embeddings). It explicitly distinguishes itself from keyword-based siblings like search_grantsplus by noting it finds 'conceptually related opportunities, not just keyword matches.' An agent can tell exactly what this does versus the sibling search tools.

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?

Gives a clear trigger condition: 'Useful when user likes one result and wants more like it,' which maps cleanly to the required opportunity_id input. It does not name an explicit alternative tool or state when NOT to use it (e.g., versus get_opportunity), so it stops short of full when/when-not guidance.

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