Skip to main content
Glama
arbetsformedlingen-mcp-server

arbetsformedlingen-mcp-server

Synonym dictionary for labour market terms

af_synonym_dictionary
Read-onlyIdempotent

Fetch synonyms for labour market terms from the JobAd Enrichments dictionary to map spellings, plural forms, and synonyms to a common search concept.

Instructions

Fetch synonyms for labour market terms from the JobAd Enrichments synonym dictionary.

Useful for understanding how different spellings, plural/singular forms and synonyms are mapped to a common search concept in the job listing database.

Args:

  • q (string, optional): Filter by term or synonym. Leave empty for all.

  • concept_type (string, optional): Filter by type, e.g. "OCCUPATION", "COMPETENCE"

  • limit (number, optional): Number of results (default: 20)

Returns: List of terms with their synonyms.

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

Input Schema

NameRequiredDescriptionDefault
qNoSearch for a specific term or synonym
limitNo
concept_typeNoType, e.g. 'OCCUPATION', 'COMPETENCE'OCCUPATION

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds one genuinely behavioral fact not in the annotations: leaving q empty returns all terms, and it sketches the return shape as 'list of terms with their synonyms'. It says nothing about pagination or the actual size of an unfiltered result set, which matters given the empty-q behavior.

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, then provides clearly labeled Args and Returns sections, and every sentence is understandable. There is mild waste from restating the limit default and concept_type examples that already appear in the schema.

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 three optional parameters, no output schema, and simple read-only annotations, the definition supplies most of what a caller needs: the return shape, the empty-q behavior, and filter meanings. The remaining gaps are minor: no guidance on unbounded result sets and no gloss on the TRAIT and GEO concept types.

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 67%, so the schema documents most parameters, and the description largely repeats it: the limit default of 20 and the concept_type examples 'OCCUPATION'/'COMPETENCE' are both already in the schema. It does add one non-obvious semantic, 'Leave empty for all', for q. The enum for concept_type lists four values (COMPETENCE, OCCUPATION, TRAIT, GEO) while the description only mentions two, leaving the other two unglossed.

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 gives a specific verb and resource: fetch synonyms for labour market terms from the JobAd Enrichments synonym dictionary. It also explains the underlying concept (mapping spellings and plural/singular forms to a common search concept), which is well beyond restating the title. It does not explicitly contrast itself with siblings such as af_search_taxonomy or af_get_taxonomy_concept, but the resource is distinctive enough that an agent can separate them.

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?

It states the tool is 'useful for understanding how different spellings, plural/singular forms and synonyms are mapped to a common search concept', which implies the query-expansion use case. However, there is no explicit when-not guidance and no named alternative for the adjacent task of resolving a taxonomy concept directly. The agent must infer the boundary from the sibling names.

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