Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Search jobs

af_search_jobs
Read-onlyIdempotent

Search job listings from Sweden’s Public Employment Service using free-text, occupation, location, employer, and experience filters; get summaries or full ads with links.

Instructions

Search for job listings in the Swedish Public Employment Service (Arbetsförmedlingen) via the JobSearch API.

Supports free-text search, occupation filters, geographic filtering, and more.

Args:

  • q (string, optional): Free-text search. Example: "nurse part-time", "python developer"

  • occupation_name (string, optional): Occupation name to filter on. Example: "Software developer"

  • occupation_group (string, optional): Occupation group ID (retrieved via af_search_taxonomy)

  • occupation_field (string, optional): Occupation field ID (retrieved via af_search_taxonomy)

  • municipality (string, optional): Municipality code or name. Example: "0180" (Stockholm)

  • region (string, optional): Region/county code. Example: "01" (Stockholm county)

  • country (string, optional): Country code. Example: "199" (Sweden)

  • employer (string, optional): Organization number or employer name

  • experience (boolean, optional): true = requires experience, false = no experience required

  • limit (number, optional): Number of results, max 100 (default: 10)

  • offset (number, optional): Skip N results for pagination

  • detail (string, optional): "summary" = short summary (default), "full" = full job listing

Returns: List of matching job listings with title, employer, location, occupation and link.

Examples:

  • Search "python" in Stockholm → q="python", municipality="0180"

  • Part-time nurse listings → q="nurse", experience=false

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

Input Schema

NameRequiredDescriptionDefault
qNoFree-text search query
limitNoNumber of results
detailNoDetail levelsummary
offsetNoPagination – skip N results
regionNoRegion/county code, e.g. '01' for Stockholm county
countryNoCountry code, e.g. '199' for Sweden
employerNoEmployer organization number or name
experienceNotrue = requires experience, false = no experience required
municipalityNoMunicipality code, e.g. '0180' for Stockholm
occupation_nameNoOccupation name to filter on
occupation_fieldNoOccupation field ID
occupation_groupNoOccupation group ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the description only needs to add operational context — and it does: max 100 results, default of 10, offset-based pagination, and a summary vs full detail level. It omits auth/rate-limit expectations and whether offset deeper than the result set errors, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose statement is front-loaded and the Returns and Examples sections earn their place, especially since there is no output schema. However, the Args block re-lists all twelve parameters that the schema already documents at 100% coverage, making roughly half the description redundant.

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 12-parameter, zero-required search tool with no output schema, the description covers the missing return shape (title, employer, location, occupation, link) and gives worked examples, which compensates well. Remaining gaps are minor: no note on result ordering, error/pagination-limit behavior, or rate limits.

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 description coverage is 100%, so the baseline is 3 and the schema already documents every parameter. The description adds some genuine meaning beyond it — concrete code examples like '0180' for Stockholm and '199' for Sweden, and the instruction to obtain occupation_group/occupation_field IDs via af_search_taxonomy — but much of the Args block simply restates the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource (search job listings) plus the backing service (Arbetsförmedlingen JobSearch API) and enumerates the filter families supported. It does not explicitly distinguish itself from siblings such as af_search_historical_jobs or af_get_job, so differentiation is left implicit.

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?

Usage context is clear through two concrete scenario examples (free-text + municipality, nurse + experience=false) and the note that occupation_group/occupation_field IDs come from af_search_taxonomy, which routes the agent to a prerequisite sibling. No when-not guidance is given, e.g. nothing says to use af_get_job for a single listing or af_search_historical_jobs for past postings.

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