Skip to main content
Glama

Usajobs Historic Search

usajobs_historic_search
Read-onlyIdempotent

Search CLOSED and past federal job announcements from USAJOBS (OPM), filtered by occupational series (e.g. "0905" Attorney), the date range an announcement OPENED or CLOSED, hiring department code (e.g. "DJ" Justice, "VA") or hiring agency code, or announcement number. The publisher documents the dataset as all current and past USAJOBS postings; probed 2026-12-01: rows dated to the day, nothing opened in 2005 or 2010, rows from 2013. Needs no key. Returns up to 500 announcements per page (agency, title, grade, salary band, open/close dates, series, locations, status) plus remaining_matches, the count from this page onward. An empty window returns found=false with zero rows and the filters echoed (not an error). Paging is by continuation token: pass the returned next_continuation_token back with the SAME filters to get the next page. For open postings use usajobs_search.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "series": "0905",
      "open_date_to": "2025-05-09",
      "open_date_from": "2025-05-05"
    },
    "name": "usajobs_historic_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
agencyNoHiring agency code (e.g. "VALA", "AF"); several allowed, comma-separated
seriesNoOccupational series code, 4 digits (e.g. "0905", "2210")
departmentNoHiring department code (e.g. "DJ", "VA", "DD"); several allowed, comma-separated
open_date_toNoAnnouncement opened on or before this date, YYYY-MM-DD
close_date_toNoAnnouncement closed on or before this date, YYYY-MM-DD
open_date_fromNoAnnouncement opened on or after this date, YYYY-MM-DD
close_date_fromNoAnnouncement closed on or after this date, YYYY-MM-DD
continuation_tokenNonext_continuation_token from the previous page; repeat the same filters
announcement_numberNoExact announcement number (e.g. "USCA-25-09")

Output Schema

NameRequiredDescriptionDefault
noteNoPaging or empty-window note
countYesAnnouncements on this page
foundYesFalse when nothing matches (zero rows, not an error)
sourceYesPublisher and dataset
filtersYesThe filters as applied
page_sizeNoUpstream page size when more than one page exists
announcementsYes
remaining_matchesNoMatches from this page onward
next_continuation_tokenNoPass back with the same filters for the next page; null on the last page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations it discloses no key requirement, a 500-row page cap, the empty-window behavior (found=false, zero rows, filters echoed, not an error), and a documented data-coverage probe with dates. It does not describe rate limits or ordering guarantees, so it stops short of the top.

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-loads what the tool searches and who it is for, then layers paging, edge cases, and the sibling pointer. Dense but every clause carries information; the probe-date detail is the only mildly peripheral item.

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 9-parameter, optional-only search tool with an output schema, the description covers scope, filters, paging, empty results, and the sibling alternative. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds meaning the schema lacks: that dates apply to when an announcement OPENED or CLOSED, worked examples of series/department/agency codes, and the constraint that the continuation token must be paired with identical filters.

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 (search CLOSED and past federal job announcements from USAJOBS) plus the filter dimensions, and explicitly differentiates itself from the sibling: "For open postings use usajobs_search."

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 explicit when-to-use (closed/past announcements), when-not (open postings, routed to usajobs_search), and the continuation-token rule that the SAME filters must be repeated across pages.

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.