Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Find occupations from education (JobEd Connect)

af_education_to_occupations
Read-onlyIdempotent

Find occupations linked to a Susa-Navet education ID by matching learning objectives with employer-requested competencies; returns scored occupation matches for career planning.

Instructions

Find which occupations a given education leads to via the JobEd Connect API.

The matching is based on learning objectives in education descriptions and the competencies that employers request in job listings.

Args:

  • education_id (string): The internal Susa-Navet education ID (e.g. "i.sv.ft001"). Use af_search_taxonomy or search /v1/educations to discover valid IDs.

  • limit (number, optional): Max number of occupation matches to return (default: 10, max: 50)

Returns: List of matched occupations with scores (where available).

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": {
      "education_id": "<education_id>"
    },
    "name": "af_education_to_occupations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
education_idYesSusa-Navet education ID (e.g. "i.sv.ft001"). Use /v1/educations search to find valid IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so safety is covered. The description adds meaningful context beyond that: the scoring provenance behind matches, that scores are only available "where available" (nullable-ish results), and the result cap of 50. No rate-limit or error behavior is disclosed.

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?

Front-loaded purpose sentence followed by a useful matching-mechanism note, then clearly delimited Args/Returns sections. Minor redundancy: the education_id example format is repeated in both the description and the schema, and the API name in the opening line adds little.

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?

With only two parameters, no output schema, and full annotation coverage, the description supplies what's needed: input discovery, result cap, and a sketch of the return shape (occupations with optional scores). Missing only ordering/ranking semantics of the returned scores, which would matter for consumers.

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 50%: education_id is documented in the schema, but limit carries only type/default/min/max with no prose. The description compensates by explaining limit's meaning (max number of occupation matches, default 10, max 50) and by giving an ID format example plus a discovery path, adding real semantic value over the raw schema.

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 ("Find which occupations a given education leads to") and pins the direction of the mapping, which implicitly separates it from the reverse-direction sibling af_occupation_to_educations. The added sentence on how matching works (learning objectives vs. employer-requested competencies) further sharpens what the tool actually computes.

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?

Gives concrete prerequisite guidance for the required input: use af_search_taxonomy or /v1/educations to discover valid education IDs, naming a sibling tool explicitly. It does not state exclusions or when to prefer alternatives (e.g. the reverse lookup), so it stops short of a full when/when-not treatment.

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