Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Search jobs from the full market (JobAd Links)

af_search_job_links
Read-onlyIdempotent

Search the entire Swedish labour market for job listings from public and private sources by text, occupation, and location; returns links to original postings.

Instructions

Search job listings from the entire Swedish labour market via the JobAd Links API. Includes listings from private job sites in addition to the Public Employment Service.

Args:

  • q (string, optional): Free-text search

  • occupation_name (string, optional): Occupation name

  • occupation_group (string, optional): Occupation group ID

  • occupation_field (string, optional): Occupation field ID

  • municipality (string, optional): Municipality code

  • region (string, optional): Region/county code

  • country (string, optional): Country code (default: Sweden)

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

  • offset (number, optional): Pagination offset

Returns: List of job listings with source and link to the original posting.

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_job_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
limitNo
offsetNo
regionNo
countryNo
municipalityNo
occupation_nameNo
occupation_fieldNo
occupation_groupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered and the bar is lower. The description adds useful context (upstream API, private-site coverage, that results carry source and a link to the original posting), but does not mention rate limits, whether filters combine as AND or OR, or what happens when offset exceeds available results.

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?

The purpose is front-loaded in the first two sentences, and the Args/Returns blocks are compact, single-line-per-parameter entries. The parameter list is not redundant padding because the underlying schema has zero description coverage, so every line adds information.

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 nine-parameter, no-required-parameter search tool with no output schema, the definition covers purpose, every parameter with defaults, and the shape of the return (list of listings with source and original link). The remaining gap is operational: how multiple filters interact and how to source the taxonomy codes that several filters expect.

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 description coverage is 0%, so the description must carry the load, and it documents all nine parameters including defaults and the limit maximum of 100. It falls short on provenance: occupation_group, occupation_field, municipality and region are only described as 'ID'/'code' with no hint that valid values come from the taxonomy tools (af_search_taxonomy, af_get_taxonomy_concept), which an agent needs to supply them correctly.

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 states a specific verb and resource ('Search job listings') and scopes it precisely: the entire Swedish labour market via JobAd Links, including private job sites beyond the Public Employment Service. This implicitly separates it from the narrower PES-style sibling (af_search_jobs), but never names that sibling, so the differentiation is inferred rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Coverage breadth ('entire Swedish labour market', 'in addition to the Public Employment Service') implies when to prefer this over a PES-only search, but there is no explicit when-to-use/when-not sentence and no mention of pagination or result-cap behavior that would guide a caller choosing between tools or paging through results.

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