Skip to main content
Glama

Swedish Job Market

resolve_terms

Read-onlyIdempotent

Map free-text terms to what skill_trends will use: a canonical skill, skill category, county, occupation, SNI industry, seniority level, or the employer names a term matches. Unmatched terms come back with candidates (close spellings, names containing the term). Use it when unsure how a term will be read.

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": {
      "terms": "<terms>",
      "kind": "<kind>"
    },
    "name": "resolve_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
termsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), and the description adds meaningful behavior beyond them: unmatched terms return candidates such as close spellings and names containing the term. It does not disclose output shape for matched terms or whether resolution is exact-match vs fuzzy ranking, but the fallback behavior is the key operational detail.

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?

Three sentences, front-loaded with the core mapping action, then the kinds, then the unmatched fallback, then the usage cue. No filler or restated name; slightly dense list of kinds is the only structural cost.

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 an output schema present, return values needn't be explained, and the description covers purpose, target kinds, and the unmatched-candidate fallback. The remaining gaps — batch limits on `terms` and the county/region wording mismatch — are minor for a two-parameter resolver.

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 description coverage is 0%, so the description must carry parameter meaning; it enumerates the mapping targets in prose, which largely mirrors the `kind` enum values (with 'county' standing in for the enum's 'region'). It says nothing about the `terms` array beyond 'free-text terms' — no mention of the 1–20 item bounds, batch behavior, or whether results align positionally with input terms.

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 ('Map') and resource (free-text terms) plus the full set of target kinds, and explicitly ties the output to what skill_trends will consume. An agent can distinguish this from skill_trends (analysis) and list_dimensions (enumeration) without opening a schema.

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?

'Use it when unsure how a term will be read' gives a clear triggering condition and implicitly positions it as a pre-step before skill_trends. It does not state when NOT to use it (e.g., when the term is already known to be canonical) or that list_dimensions is the alternative for browsing kinds.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.