Skip to main content
Glama

Federal Contracts by Company

GetGovernmentContracts
Read-only

Retrieve federal government contract awards over $1M for a public company by ticker, including agency, value, and dates. Assess the company's reliance on government spending.

Instructions

Get federal government contract awards (from USAspending.gov) won by a specific public company. Shows the award (action) date, recipient named by the government, awarding agency, total value (obligated dollars plus unexercised ceiling — not revenue received), outlays when reported, period-of-performance end date, and description. Coverage: only prime contract awards of $1M or more that resolve to a listed company are included, so sums understate total federal revenue. Useful for gauging a company's reliance on federal spending; use GetTopGovernmentContractors to rank companies market-wide.

Input Schema

NameRequiredDescriptionDefault
agencyNoOptional case-insensitive substring filter on the awarding agency (e.g., 'Defense')
offsetNoNumber of matching awards to skip before returning rows (default: 0)
sortByNoSort order: 'amount' (largest total value first, default) or 'date' (most recent award first)amount
tickerYesStock ticker symbol (e.g., LMT, RTX, BA)
endDateNoEnd date in YYYY-MM-DD format (defaults to today)
startDateNoStart date in YYYY-MM-DD format, filtering on the award action date (defaults to 1 year ago)
maxResultsNoMaximum number of awards to return (default: 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuinely valuable context beyond that: the $1M prime-award threshold, the listed-company resolution requirement, and the caveat that totals understate federal revenue and that 'total value' includes unexercised ceiling rather than revenue received. However it says nothing about pagination or response shape. With annotations carrying safety, a 3 fits the lower bar for a non-mutating read tool.

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 then caveats, zero filler words, though the middle sentence is a dense list of return fields. Every sentence carries information; slight density cost keeps it off a 5.

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 carries the return-value burden and does so fully: it enumerates each returned field and qualifies the two that are most often misread (total value vs. revenue, outlays when reported). Combined with the explicit coverage limitations, an agent has everything needed to call and interpret it.

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 coverage is 100%, with defaults, formats, and enum-like values ('amount'/'date') all documented inline. The description adds semantic meaning to the returned value field but little per-parameter detail beyond confirming date filtering uses the award action date. Baseline 3 is appropriate.

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 and resource (get federal contract awards from USAspending.gov) scoped to a specific public company, and explicitly names the sibling GetTopGovernmentContractors it is not. An agent can pick between the two without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the use case ('gauging a company's reliance on federal spending') and an explicit alternative with condition ('use GetTopGovernmentContractors to rank companies market-wide'). It also flags the coverage limits that make it inappropriate as a total-revenue measure.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.