Skip to main content
Glama

Federal Contracts & Grants

search_contracts

Search active US federal contract opportunities from SAM.gov. Useful for finding RFPs, solicitations, and government procurement opportunities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results (max 25)
naicsNo6-digit NAICS code for the industry
agencyNoFilter by agency name
keywordNoSearch keyword or phrase
set_asideNoSet-aside type: SBA, 8A, SDVOSBC, WOSB, HZC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully identifies the source (SAM.gov) and scope (active opportunities), but does not elaborate on read-only behavior, authentication needs, result limits, or what is returned beyond the basic search purpose.

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?

Two sentences, front-loaded with the core action and source, then a short usage note. No filler or repetition.

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

Completeness3/5

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

For a five-parameter search tool with no output schema or annotations, the description covers the domain and source but omits return format, pagination behavior, and authentication context. It is minimally sufficient for invocation but leaves meaningful gaps.

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 the schema already explains each parameter. The description adds no parameter-specific syntax, format, or filtering semantics beyond what is already documented in the input schema.

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?

States a specific verb (Search) and resource (active US federal contract opportunities) plus the data source (SAM.gov). It is clear enough to distinguish from sibling tools like search_awards and search_grants by resource type, but it does not explicitly contrast itself with them.

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 implied usage context by saying it is useful for finding RFPs, solicitations, and government procurement opportunities. However, it does not state when to choose this tool over siblings such as search_awards, search_grants, or search_spending, nor does it mention exclusions.

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