Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Get taxonomy concept with relations

af_get_taxonomy_concept
Read-onlyIdempotent

Fetch a taxonomy concept by ID to see its SSYK code, parent, child, and related concepts for navigating the Swedish occupation hierarchy.

Instructions

Fetch detailed information about a taxonomy concept including its hierarchical relations.

Shows parent (broader), child (narrower) and related concepts. Useful for navigating the occupation hierarchy (occupation-field → occupation-group → occupation-name).

Args:

  • concept_id (string): The concept ID from af_search_taxonomy

Returns: Detailed info about the concept including SSYK code and relations to other concepts.

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": {
      "concept_id": "<concept_id>"
    },
    "name": "af_get_taxonomy_concept"
  }
}

Input Schema

NameRequiredDescriptionDefault
concept_idYesThe concept ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.6/5.0
Behavior3/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 the safety profile is covered. The description adds useful behavioral context about what the call surfaces (broader/narrower/related relations and SSYK code), but says nothing about missing-concept errors, depth of traversal, or response shape beyond a one-line summary.

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; a reader gets the gist immediately. The parenthetical hierarchy chain and the "Shows parent (broader), child (narrower)" line are slightly redundant with each other but still earn their place as clarification.

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 no output schema, the description correctly takes on the burden of describing returns by naming SSYK code and relation types, and it closes the loop on obtaining the required ID. It could be fuller about how deep the relation graph goes or how unknown IDs are handled, but it is adequate for a one-parameter read tool.

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 coverage is 100% and there is a single parameter, so the schema already defines concept_id and its constraints. The description adds the meaningful provenance detail that the ID originates from af_search_taxonomy, but nothing more; with full schema coverage, the baseline 3 applies.

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?

States a specific verb and resource ("Fetch detailed information about a taxonomy concept") and scopes it to hierarchical relations, parent/child/related concepts. It distinguishes itself indirectly by naming af_search_taxonomy as the source of the concept ID, though it never explicitly contrasts its role with other lookup siblings.

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 clear context for use: navigating the occupation hierarchy (occupation-field → occupation-group → occupation-name) and the prerequisite that concept_id comes from af_search_taxonomy. It offers no explicit exclusions or when-not guidance, which keeps it below a 5.

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