Skip to main content
Glama

get_opportunity_detail

Get the direct SAM.gov URL for a specific contract opportunity by its notice ID. Use this to provide users with a link to verify and view full details on SAM.gov.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notice_idYesThe unique notice ID of the opportunity (from the 'id' field in search results)

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It clearly communicates that the tool returns a direct SAM.gov URL for a specific notice, which is sufficient for this simple read-only operation. It does not overclaim or introduce ambiguity about side effects.

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 definition is two compact sentences with no filler. The core function is stated first, followed by the user-facing purpose, making it easy to scan and immediately actionable.

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?

For a single-parameter tool with no output schema, the description fully covers what is needed: the input, the output (a direct SAM.gov URL), and the intended use. There are no missing details that would prevent an agent from invoking it 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?

The input schema already thoroughly describes the only parameter, notice_id, including its origin from the 'id' field in search results. The description reinforces that the parameter identifies a specific opportunity but does not add meaning beyond the schema.

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 states a specific action ('Get the direct SAM.gov URL') and a clearly scoped resource ('a specific contract opportunity by its notice ID'). It is easy to distinguish from the search-focused sibling tool because it explicitly targets a single notice rather than a list.

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 gives an explicit use case: provide users with a link to verify and view full details on SAM.gov. While it does not name the alternative tools or state when not to use it, the intended context is clear from the wording.

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.3/5.0
Disambiguation4/5

Each tool has a distinct role—service metadata, agent registration, search, and direct-link lookup—but search_opportunities already returns source URLs, so get_opportunity_detail could initially seem redundant until its notice-ID-specific purpose is understood.

Naming Consistency5/5

All four tool names follow a consistent verb_noun snake_case pattern: get_api_info, get_opportunity_detail, register_agent, and search_opportunities. This makes the tool set predictable and easy to navigate.

Tool Count5/5

Four tools is well-scoped for this narrow SAM.gov contract-opportunity wrapper: metadata, agent registration, search, and detail-link retrieval. Each tool earns its place in the workflow without redundancy.

Completeness4/5

The core workflow is covered: register, search, and redirect to SAM.gov details. The only minor gap is that search returns 'recent' notices without obvious filtering or pagination controls, and get_opportunity_detail provides a URL rather than full structured opportunity data.