Skip to main content
Glama

Search procurement opportunities

search_opportunities
Read-only

Search every open CanadaBuys and Alberta Purchasing Connection notice for any business. Results are not limited to steel, lumber, aluminum, or construction. Pass description or profile to rank by a TypeSafe Jev supply-fit classification (yes, partial, or no) after a commodity-code prefilter. Keyword-only searches stay lexical. When configured, search terms or business capabilities may be sent to Cohere to select commodity filters. See /privacy. When a business description is present and TypeSafe is configured, notice text and that description are sent to TypeSafe for supply-fit classification. See /privacy.

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

Input Schema

NameRequiredDescriptionDefault
daysNoOnly notices closing within this many days (1 to 365). Omit for every open notice.
limitNoMaximum combined results (default 20, max 50)
sourceNoall, federal, or albertaall
profileNoInline business profile used for this call only. Overrides any saved profile. On the shared public endpoint without a subscriber key, this is the way to describe your business.
categoryNoOptional category or sector words. Federal search treats this as free text across the full notice, including UNSPSC and GSIN descriptions. Alberta maps services, goods, and construction to APC codes and still searches other words.
keywordsNoSearch words or phrase
locationNoWhere the business works, such as Red Deer, Alberta.
provinceNoOptional province or delivery region filter
descriptionNoWhat the business does, in plain language. When set, fit classification runs before keyword ranking.
company_nameNoOptional company name.

Output Schema

NameRequiredDescriptionDefault
kindNo
countNo
warningsNo
opportunitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / days
      Added value: +{
      +  "description": "Only notices closing within this many days (1 to 365). Omit for every open notice.",
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the read-only, open-world, non-destructive profile, yet the description adds substantial context they cannot: the two-stage pipeline (commodity-code prefilter, then TypeSafe supply-fit classification), the fallback to purely lexical ranking, and explicit disclosure that search terms, capabilities, and notice text may be sent to Cohere and TypeSafe with a privacy link. That data-egress disclosure is exactly the kind of behavior an agent needs before passing a business description. It stops short of describing result volume, ranking tie-breaking, or failure behavior when the external services are unavailable.

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?

Purpose and scope are correctly front-loaded in the first two sentences. The tail is padded: two separate sentences both end with 'See /privacy' and restate the same third-party data flow, which could be merged into one sentence without losing information.

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 10-parameter tool with a nested profile object and an output schema, the description covers the important non-schema facts: sources searched, ranking pipeline ordering, lexical fallback, and external data transmission. Remaining gaps are minor since limit, days, source, and field-level semantics are fully documented in the schema and return shape is covered by the output schema.

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 the schema already documents that setting description triggers fit classification before keyword ranking, so the baseline is 3. The description adds only modest extra meaning, mainly clarifying that classification applies to 'description or profile' collectively and that searches without them remain lexical; it does not explain how category, keywords, location, and province interact with the prefilter.

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?

Names a specific verb and resource ('Search every open CanadaBuys and Alberta Purchasing Connection notice') and states the breadth explicitly ('for any business', 'not limited to steel, lumber, aluminum, or construction'). It implicitly contrasts with a domain-restricted sibling but never names one, so an agent must still infer which sibling handles narrower matching.

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?

Gives conditional usage rules inside the tool ('Pass description or profile to rank by...', 'Keyword-only searches stay lexical'), which tells an agent how to get different behaviors. It does not say when to prefer this over find_matching_opportunities or classify_tender, nor any exclusions or prerequisites, so routing between siblings is left 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.