Skip to main content
Glama

set_search

DestructiveIdempotent

Defines or updates jobwatch search criteria (titles, locations, pay, keywords, resume) to create a watchlist or correct digest results; omitted fields stay unchanged.

Instructions

Set what the person is looking for: job titles, places, pay, keywords and their resume. Give only what they told you, and only what changes; what you omit stays. Use it during setup, and when they say the digest shows the wrong jobs; add_board adds the employers to watch. Plain words are fine. Creates the watchlist when there is none yet. Returns the search as it now stands (with nothing given, as it is).

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": "set_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
titlesNoJob titles to look for, as employers write them, e.g. ["registered nurse", "RN"]; a job's title must hold every word of one, in any order ("backend engineer" finds "Software Engineer, Backend"); a title in double quotes only as written. Replaces the list; [] means any title; omit to leave it.
keywordsNoSkills, licenses or topics that rank a job higher, e.g. ["ICU", "BLS", "charting"]. Replaces the list; [] clears it; omit to leave it.
locationsNoWhere the person will work: "remote" and/or towns or states as postings write them, e.g. ["remote", "Portland"]. Replaces the list; [] means anywhere; omit to leave it.
min_salaryNoThe least pay a year (an hourly rate times 2080), in the currency of remote_country's country (USD for the US or any, CAD for Canada, EUR for Germany...); a posting in another currency is converted at an approximate rate. Jobs that list no pay still pass. 0 means any pay; omit to leave it.
resume_textNoThe person's resume as plain text, when they paste or attach it and want it kept: their own words, nothing rewritten or added. Saved on their computer beside the watchlist; omit to leave it.
exclude_titlesNoWords that rule a title out, e.g. ["travel", "manager"]. Replaces the list; [] clears it; omit to leave it.
remote_countryNoWhere a remote job must be open: "US" (the default), "any", or the country the person lives in, by name or code ("Canada", "UK", "IN", "EU"). Omit to leave it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.2

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already flag write (readOnlyHint=false), destructive and idempotent behavior. The description adds real context the annotations cannot: is partial-update semantics (omitted fields stay), that it creates the watchlist when none exists, and what the return value is. It does not expand on what replacement of list fields destroys beyond what the schema says.

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?

The core action and trigger are front-loaded and the sentences are short. There is mild redundancy between 'only what changes' and 'what you omit stays', and the return-value note trails at the end.

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

Completeness4/5

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

For a 7-parameter, zero-required mutation tool with no output schema, the description covers triggers, partial-update behavior, creation semantics and the return shape. The remaining gaps (error cases, whether omitted resume text is ever cleared) are minor.

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% and each parameter already documents matching rules, currency conversion, and omit-vs-clear behavior. The description only name-checks the parameter groups (titles, places, pay, keywords, resume), adding no syntax or format meaning beyond the schema, so the baseline of 3 applies.

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 - setting the job search including titles, places, pay, keywords and resume - and explicitly separates it from the sibling that covers employers (add_board). An agent can distinguish it from related tools without opening the 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?

Names concrete triggers: during setup, or when the person says the digest shows the wrong jobs, plus an explicit pointer to add_board for the employer list. It also warns to pass only stated values and only fields that change.

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