Skip to main content
Glama

Search jobs

search_jobs
Read-onlyIdempotent

Use this when the user is looking for a job, or for hiring signals, among postings from the last 30 days.

Filters: naics (up to 10 codes), state, keyword (title only), posted_within_days (posted within the last 1 to 30 days, default 30), limit (1 to 50, default 20). Rows carry title, agency (the employer), state, city, posted_at and url. If has_more is true, call again with cursor=next_cursor and the same filters. Example: keyword="electrician", state="TX". Pass several NAICS codes in one call.

Print each result's url as a markdown link.

Do not use for contracts (search_contracts) or grants (search_grants).

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results to return, 1 to 50.
naicsNoUp to 10 six-digit NAICS codes, comma-separated, e.g. '236220' or '541511,541512'. A record matches on its own codes (matched_naics says which). Unknown codes are ignored.
stateNoTwo-letter US state code, e.g. 'VA'. Many federal notices have no state, so this filter skips them.
cursorNonext_cursor from the previous response. Pass it with the same filters to get the next page.
keywordNo2 to 100 characters matched against the title only.
posted_within_daysNoOnly jobs posted within the last N days, 1 to 30 (default 30).

Output Schema

NameRequiredDescriptionDefault
noteNo
as_ofNoWhen the API generated the results (ISO time).
resultsYes
warningNoSet when paging stopped early; the results so far are still valid.
has_moreYestrue: call again with cursor=next_cursor and the same filters.
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / naics / description
      Previous value: -"Up to 10 six-digit NAICS codes, comma-separated, e.g. '236220' or '541511,541512'. Unknown codes are ignored."New value: +"Up to 10 six-digit NAICS codes, comma-separated, e.g. '236220' or '541511,541512'. A record matches on its own codes (matched_naics says which). Unknown codes are ignored."
    • changedInput schema / properties / posted_within_days / description
      Previous value: -"Only jobs posted in the last N days, 1 to 30."New value: +"Only jobs posted within the last N days, 1 to 30 (default 30)."
    • addedOutput schema / $defs
      Added value: +{
      +  "Naics": {
      +    "properties": {
      +      "code": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Code"
      +      },
      +      "title": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Title"
      +      }
      +    },
      +    "title": "Naics",
      +    "type": "object"
      +  },
      +  "OpportunityRow": {
      +    "description": "One search result. Jobs fill title, agency (the employer), state, city, posted_at and url only.",
      +    "properties": {
      +      "agency": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Agency"
      +      },
      +      "agency_id": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The agency's MatchAwards id.",
      +        "title": "Agency Id"
      +      },
      +      "ai_matched_naics": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Only when you filtered by naics: requested codes this contract notice matched only because MatchAwards' AI suggested them, not its own codes. Call such a match AI-suggested.",
      +        "title": "Ai Matched Naics"
      +      },
      +      "city": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "City"
      +      },
      +      "id": {
      +        "description": "Pass to get_opportunity for the description and contacts.",
      +        "title": "Id",
      +        "type": "string"
      +      },
      +      "matched_naics": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Only when you filtered by naics: the requested codes this record carries: its own code (in naics) or, for a grant or job, another code of its program or occupation.",
      +        "title": "Matched Naics"
      +      },
      +      "naics": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/Naics"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "On state notices (type state) the naics code itself is AI-assigned."
      +      },
      +      "no_fixed_deadline": {
      +        "anyOf": [
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "true: the deadline is a placeholder date.",
      +        "title": "No Fixed Deadline"
      +      },
      +      "office": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Office"
      +      },
      +      "posted_at": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Date, YYYY-MM-DD.",
      +        "title": "Posted At"
      +      },
      +      "response_deadline": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Date, YYYY-MM-DD; null if none.",
      +        "title": "Response Deadline"
      +      },
      +      "sam_url": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The SAM.gov notice (federal only). Show it as a markdown link.",
      +        "title": "Sam Url"
      +      },
      +      "set_aside": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Set Aside"
      +      },
      +      "solicitation_number": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Solicitation Number"
      +      },
      +      "state": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "State"
      +      },
      +      "title": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Title"
      +      },
      +      "type": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "federal, state, grant or job.",
      +        "title": "Type"
      +      },
      +      "url": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The posting on matchawards.com. Show it as a markdown link.",
      +        "title": "Url"
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "title": "OpportunityRow",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / properties
      Added value: +{
      +  "as_of": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "When the API generated the results (ISO time).",
      +    "title": "As Of"
      +  },
      +  "has_more": {
      +    "description": "true: call again with cursor=next_cursor and the same filters.",
      +    "title": "Has More",
      +    "type": "boolean"
      +  },
      +  "next_cursor": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "title": "Next Cursor"
      +  },
      +  "note": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "title": "Note"
      +  },
      +  "results": {
      +    "items": {
      +      "$ref": "#/$defs/OpportunityRow"
      +    },
      +    "title": "Results",
      +    "type": "array"
      +  },
      +  "warning": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Set when paging stopped early; the results so far are still valid.",
      +    "title": "Warning"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "results",
      +  "has_more"
      +]
    • changedOutput schema / title
      Previous value: -"search_jobsDictOutput"New value: +"SearchResult"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the burden is lighter. The description still adds value beyond them: the pagination contract via has_more/next_cursor, the filter semantics (state filter drops records with no state), and the presentation instruction to emit urls as markdown links. It does not disclose rate limits or result-ordering behavior.

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?

Front-loaded with the trigger condition, then a compact filter list, then return fields, then pagination, then exclusions. Every sentence carries a distinct instruction and none are redundant with each other.

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 an output schema present, the description need not enumerate return shapes, yet it still names the key row fields for planning. Pagination, filter interactions, and routing to sibling tools are all covered, leaving nothing an agent needs to call this correctly.

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 operational guidance the schema lacks: the example values, the instruction to pass several NAICS codes in one call, and the note that matched_naics identifies which code hit. It also clarifies that 'agency' means the employer, which is not derivable from the schema alone.

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?

Opens with a specific trigger ('the user is looking for a job, or for hiring signals') plus a concrete resource and scope ('postings from the last 30 days'). It also names the sibling tools it is not (search_contracts, search_grants), so an agent can disambiguate without opening schemas.

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?

Explicit when-to-use, explicit when-not-to-use with the alternative tools named, and a worked example (keyword="electrician", state="TX"). The pagination rule ('call again with cursor=next_cursor and the same filters') is a clear operational condition.

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.