Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Find educations from occupation (JobEd Connect)

af_occupation_to_educations
Read-onlyIdempotent

Maps a Swedish occupation taxonomy concept ID to scored education matches via the JobEd Connect API, helping users identify relevant study options.

Instructions

Find which educations best match an occupation via the JobEd Connect API.

Args:

  • occupation_id (string): Taxonomy concept ID for the occupation (e.g. "i46j_HmG_v64"). Use af_search_taxonomy with type "occupation-name" to find valid concept IDs.

  • limit (number, optional): Max number of education matches (default: 10, max: 50)

Returns: List of matched educations with scores and education codes (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": {
      "occupation_id": "<occupation_id>"
    },
    "name": "af_occupation_to_educations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
occupation_idYesTaxonomy concept ID for the occupation (e.g. "i46j_HmG_v64"). Use af_search_taxonomy to find it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's value-add is the return shape: a scored list of education matches with education codes 'where available', which warns the agent that codes can be absent. It does not cover failure modes (e.g. invalid concept ID) or ordering of results, keeping it below 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.

Conciseness4/5

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

Front-loaded purpose sentence followed by clearly labeled Args and Returns sections; no wasted prose. It does restate some schema content (types, example ID), which is minor redundancy rather than padding.

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 two-parameter, read-only, non-destructive lookup with no output schema, the definition covers the needed inputs, how to source the required ID, limits, and the shape of the return. Only error/empty-result behavior is left unspecified.

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 only 50% (limit has no schema description), and the description compensates with a default of 10, a max of 50, and an example concept ID format. It also names the tool to use for obtaining occupation_id, adding meaning beyond the schema's terse note.

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 educations best match an occupation') plus the backing API (JobEd Connect). The directionality (occupation -> educations) makes it distinguishable from the reverse-direction sibling af_education_to_occupations without needing to open either schema.

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?

The prerequisite for the required parameter is spelled out clearly ('Use af_search_taxonomy with type "occupation-name" to find valid concept IDs'), which is real usage guidance. However, there is no guidance on when to prefer this tool over its reverse-direction sibling or when a caller would want a larger/smaller limit, so it is adequate rather than complete.

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