Skip to main content
Glama

get_company_opportunities

Read-onlyIdempotent

[GET /v1/companies/:id/opportunities — $0.10] Active/recent tenders matching a company's historical CPV/buyer profile, with a deterministic similarity score (explained in score_explanation).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesnumeric id from search results
pageNo
sizeNo
client_keyNoPrepaid credit balance key: when set, paid calls first try to debit this account instead of requiring a per-call proof.
payment_tokenNoPayment proof: dev mode → single-use token from POST /v1/dev-faucet; x402 mode → base64 payment payload (the PAYMENT-SIGNATURE / X-PAYMENT header value)

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (read-only, idempotent, non-destructive), so the bar is lower. The description adds valuable behavioral context beyond annotations: the HTTP method, a deterministic similarity score, the fact that a score_explanation is present, the cost, and the temporal scope ('active/recent'). This goes beyond what annotations or schema alone provide.

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?

A single sentence that front-loads the endpoint, cost, and primary data scope, then adds the differentiating scoring mechanism. Every clause contributes new information with no filler or repetition of schema content.

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?

Given no output schema, the description explains the core purpose and mentions the score_explanation field, which helps an agent know what to expect in the response. Pagination is handled by schema defaults, and payment/auth by parameter descriptions. The only minor gap is whether score_explanation is per-item or top-level, but this is not critical for invoking the tool 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 60% (id, client_key, payment_token are described; page and size are not). The description indirectly explains id by referencing a company's profile and clarifies the conceptual output, but it adds little direct parameter-level meaning. Page/size remain only semantically inferable from defaults, and the payment parameters are fully described in the schema. The description partially compensates, but not fully.

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 names the specific resource ('opportunities' for a company) and a concrete action (retrieving active/recent tenders), plus a distinctive matching mechanism ('historical CPV/buyer profile' with a 'deterministic similarity score'). This clearly separates it from siblings like search_tenders, get_company_awards, and get_buyer_history without needing to open the schema.

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?

The description implies when to use the tool: when you need tenders matching a particular company's profile. However, it does not explicitly state when not to use it, nor does it name any alternative tools or conditions for choosing them. The usage context is clear from the phrasing but not fully spelled out.

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.1/5.0
Disambiguation5/5

Each tool maps to a distinct resource or action: billing balance, credit purchase, company profile/awards/opportunities, tender search/detail, renewals, buyer history, and research brief. The only possible overlap is research versus raw query tools, but the descriptions clearly separate a high-level brief from raw rows.

Naming Consistency3/5

Most tools follow a readable get_<resource> pattern, but billing_get_balance, billing_purchase_credits, search_tenders, and research deviate with namespace prefixes, a different verb, and a bare noun. The naming is not chaotic, but the conventions are mixed.

Tool Count5/5

With 11 tools, the server is well-scoped for a procurement-intelligence API: search, detail views, company and buyer analytics, renewal signals, research, pricing, and billing support. Each tool has a clear place and there are no obvious redundant tools.

Completeness5/5

The tool set covers the full core workflow: search for tenders, get full tender detail, explore company and buyer profiles, retrieve opportunities and renewals, generate research briefs, and manage billing. Ids returned by searh feed into detail tools, and no exposed data type appears to be a dead end.

Resources