Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Search the JobTech Taxonomy

af_search_taxonomy
Read-onlyIdempotent

Search Swedish labour market taxonomy concepts by term or type to retrieve precise occupation, skill, language, and driving-licence IDs for job searches.

Instructions

Search all concepts (occupations, competencies, languages, driving licences, etc.) in the official taxonomy for the Swedish labour market.

Essential for finding the exact terms, concept_ids and types used when searching for job listings. For example, if a user asks for "programmer" you can search here and find the correct system term "Software developer".

You can filter on a specific type (e.g. "occupation-name", "skill", "language").

Once you have the ID of a concept, use af_get_taxonomy_concept to see how it relates to other concepts.

Common types:

  • occupation-name (occupation title, e.g. Nurse)

  • skill (competency/skill, e.g. Python)

  • occupation-field (occupation field, e.g. IT)

  • occupation-group (occupation group, broader category)

  • language (language, e.g. Swedish)

  • driving-licence (driving licence category, e.g. B)

Args:

  • q (string): Search query (e.g. "nurse" or "software developer").

  • type (string, optional): Restrict to a specific type (e.g. "occupation-name" or "skill").

  • limit (number, optional): Max number of results to return (default 20, max 100).

Returns: A list of matching concepts with their ID, preferred label and type.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "af_search_taxonomy"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query (e.g. 'nurse' or 'software developer')
typeNoFilter by concept type (e.g. 'occupation-name' or 'skill')
limitNoMax number of results to return (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare this as a read-only, open-world, idempotent, non-destructive search. The description adds useful behavioral context: the taxonomy scope, the common concept types, default and maximum result limits, and the shape of returned concepts. It does not describe auth or rate-limit behavior, but none is needed beyond the existing annotations.

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 description is front-loaded with purpose and usage, then moves into type examples and a compact Args/Returns section. It is slightly long because it repeats some schema details, but the structure is clear and most sentences add practical guidance.

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?

Given a search tool with no output schema, the description explains both the searchable domain and the returned fields: ID, preferred label, and type. It also covers the follow-up workflow, making it complete enough for an agent to call and use the result 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 the baseline is 3. The description earns an extra point by enriching the 'type' parameter with concrete common values such as 'occupation-name', 'skill', 'language', and 'driving-licence', which helps the agent use the filter correctly beyond the generic schema description.

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: search all concepts in the official Swedish labour-market taxonomy. It explicitly distinguishes this from the follow-up sibling af_get_taxonomy_concept, which retrieves relationships for a concept ID.

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?

It clearly says when to use this tool: to find exact terms, concept_ids, and types before searching job listings, with a concrete 'programmer' to 'Software developer' example. It also gives the next step after finding an ID, directing the agent to af_get_taxonomy_concept.

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