Skip to main content
Glama

Build a search request

build_search_request
Read-onlyIdempotent

Check a set of search filters against the contract and return the exact request for them: method, URL, headers and JSON body for POST /api/jobs/search, a ready-to-run curl command and the equivalent jobo CLI command. It does not send the request: no network call, no key, no cost. Sending the request it returns is billed per job returned, and page_size is the most one call can bill. Parameters are the contract's filter names, not the body's field names: pass work_model, not work_models. An unknown name, a wrong type or a value outside a fixed vocabulary is reported with the nearest valid one, and no request is built. Values of open vocabularies cannot be checked offline; the result names the lookup tool to confirm each with.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_search_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFree-text query matched against job title and, unless disabled, description. Wrap a phrase in double quotes for an exact title match; prefix a term with "-" to exclude it. Body field: `queries`.
pageNo1-based page number. Default 1.
sortNorelevance (default), discovered_asc or discovered_desc. The discovered orders key on the first-indexed time and keep pages stable. One of: relevance, discovered_asc, discovered_desc. Body field: `sort`.
skillsNoRequire one or more skills, e.g. Python, Kubernetes. Look values up with `find_filter_values` (facet skills). An array; one string is one value. Body field: `skills.include`.
sourcesNoRestrict to specific ATS sources, e.g. greenhouse, lever_co, ashby. Look values up with `find_filter_values` (facet sources). An array; one string is one value. Body field: `sources`.
languageNoDescription language, as ISO 639-1 codes ("en", "de"). Names and locales are mapped server-side. An array; one string is one value. Body field: `languages`.
locationNoFree-form location, e.g. "Berlin, Germany" or "Remote". Look values up with `find_locations`. A string, or an array for several places. Body field: `locations`.
companiesNoOnly jobs at these companies. Each value is a Jobo company id (GUID), a website domain ("stripe.com") or a whole company name ("Stripe"); ids are exact, names also match every other company of that name. Look values up with `find_companies`. An array; one string is one value. Body field: `companies.include`.
page_sizeNoJobs per page, 1–100 (API default 25). The most the request can bill: every job returned is billed.
industriesNoRestrict to companies in specific industries. Look values up with `find_filter_values` (facet industries). An array; one string is one value. Body field: `industries.include`.
work_modelNoRemote, hybrid or onsite. One of: remote, hybrid, onsite. An array; one string is one value. Body field: `work_models`.
posted_afterNoOnly jobs posted by the employer on or after this timestamp. ISO 8601. Body field: `posted_after`.
posted_beforeNoOnly jobs posted by the employer on or before this timestamp. ISO 8601. Body field: `posted_before`.
exclude_skillsNoLeave out jobs asking for any of these skills. Look values up with `find_filter_values` (facet skills). An array; one string is one value. Body field: `skills.exclude`.
include_facetsNoFacet counts to return alongside the jobs. Omitted: the API's default set (work_model, experience_level, employment_type, sources). An empty array: none. It is a list of facet names, not a boolean. Values: work_model, experience_level, employment_type, sources, industries, skills, countries, company_categories, job_categories, job_subcategories, occupations.
include_fieldsNoHeavy job fields to return. Omitted: all of them. An empty array: the core fields only, which keeps responses small. The price is the same either way. Values: description, summary, qualifications, responsibilities, benefits.
job_categoriesNoOccupation category names, e.g. "Healthcare" (GET /api/occupations lists them). Case-insensitive. Look values up with `find_filter_values` (facet job_categories). An array; one string is one value. Body field: `job_categories.include`.
max_salary_usdNoOnly jobs whose advertised compensation is at or below this ceiling. Body field: `salary_usd.max`.
min_salary_usdNoOnly jobs whose advertised compensation meets this floor. Body field: `salary_usd.min`.
occupation_idsNoOccupation ids, e.g. "esco:8d3e8aaa-791b-4c75-a465-f3f827028f50" or "jobo:backend-developer". Ids, not names: names can change. Look values up with `find_filter_values` (facet occupations). An array; one string is one value. Body field: `occupation_ids.include`.
employment_typeNoFull-time, part-time, contract, internship, freelance or temporary. One of: full-time, part-time, contract, internship, freelance, temporary. An array; one string is one value. Body field: `employment_types`.
discovered_afterNoOnly jobs Jobo first indexed on or after this timestamp. This is the field polling triggers advance; prefer it over posted_after for incremental sync. ISO 8601. Body field: `discovered_after`.
experience_levelNoIntern through executive. One of: intern, entry, mid, senior, lead, executive. An array; one string is one value. Body field: `experience_levels`.
discovered_beforeNoOnly jobs Jobo first indexed on or before this timestamp. ISO 8601. Body field: `discovered_before`.
exclude_companiesNoLeave out jobs at these companies (ids, domains or whole names, as for companies). Look values up with `find_companies`. An array; one string is one value. Body field: `companies.exclude`.
job_subcategoriesNoOccupation subcategory names, e.g. "Nursing". Case-insensitive. Look values up with `find_filter_values` (facet job_subcategories). An array; one string is one value. Body field: `job_subcategories.include`.
company_categoriesNoHiring company's business model, e.g. b2b, saas, marketplace. Known values: b2b, b2c, b2b2c, b2g, saas, marketplace, e-commerce, service-provider, hardware, agency, nonprofit, government, education. Look values up with `find_filter_values` (facet company_categories). An array; one string is one value. Body field: `company_categories.include`.
description_formatNomarkdown (default, as stored), html, or the enhanced description (beta) as enhanced or enhanced_html. One of: markdown, html, enhanced, enhanced_html. Body field: `description_format`.
exclude_industriesNoLeave out companies in any of these industries. Look values up with `find_filter_values` (facet industries). An array; one string is one value. Body field: `industries.exclude`.
search_descriptionNoMatch the query against full descriptions as well as titles. Defaults to true. Body field: `search_description`.
exclude_job_categoriesNoLeave out jobs in these occupation categories. Look values up with `find_filter_values` (facet job_categories). An array; one string is one value. Body field: `job_categories.exclude`.
exclude_occupation_idsNoLeave out jobs with these occupation ids. Look values up with `find_filter_values` (facet occupations). An array; one string is one value. Body field: `occupation_ids.exclude`.
exclude_job_subcategoriesNoLeave out jobs in these occupation subcategories. Look values up with `find_filter_values` (facet job_subcategories). An array; one string is one value. Body field: `job_subcategories.exclude`.
exclude_company_categoriesNoLeave out companies with any of these business models, e.g. agency. Known values: b2b, b2c, b2b2c, b2g, saas, marketplace, e-commerce, service-provider, hardware, agency, nonprofit, government, education. Look values up with `find_filter_values` (facet company_categories). An array; one string is one value. Body field: `company_categories.exclude`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations it adds materially new behavior: no network call, no key, no cost, plus the billing consequence of sending what it returns and the fact that page_size is the single-call billing ceiling. It also discloses failure semantics — an unknown name, wrong type or out-of-vocabulary value yields the nearest valid option and no request is built. Nothing here conflicts with the declared annotations.

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?

Every sentence carries load: the return contract first, then the non-sending guarantee, then billing scope, then the parameter-naming rule, then error behavior, then the offline-vocabulary limitation. It is dense but front-loaded and contains no restatement of the name or title.

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 34-parameter, zero-required tool with no output schema, the description supplies everything an agent needs: what comes back, that nothing is sent, the cost model, the parameter-name mapping, and how validation failures surface. The remaining parameter detail is fully covered by a 100%-coverage schema.

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 the baseline is 3, but the description adds a genuinely useful invariant the schema cannot express: parameters are the contract's filter names, not the body's field names (pass work_model, not work_models). That naming trap is the most likely invocation error across 34 parameters and it is called out before any parameter detail.

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 verb and resource ('check a set of search filters against the contract and return the exact request'), then enumerates the returned artifacts: method, URL, headers, JSON body, a curl command and the jobo CLI equivalent. It also excludes the sibling-lookup job explicitly ('it does not send the request'), so an agent can separate this from the find_* and list_filters tools.

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?

It gives clear routing rules: unknown names are rejected with the nearest valid value, and open-vocabulary values cannot be checked offline so the result names the lookup tool to confirm them — reinforced by per-parameter pointers to find_filter_values, find_locations and find_companies. It does not directly contrast with describe_search_filters or list_filters, so the when-to-use-vs-siblings guidance is strong but not exhaustive.

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