Skip to main content
Glama
sek-fx-mcp

sek-fx-mcp

by bromaniac

SEK exchange rate

fetch_fx
Read-only

Fetch Riksbanken's daily mid-rate to find the value of 1 unit of a currency in Swedish kronor (SEK) using its 3-letter ISO 4217 code.

Instructions

Fetch the latest exchange rate from some currency to SEK using the API from Riksbanken.

Returns Riksbanken's daily mid-rate (PMI) as the price in SEK of 1 unit of the currency. The rate is published on banking days, so the date may be earlier than today.

Args: currency: 3-letter ISO 4217 currency code (e.g. USD, EUR)

Input Schema

NameRequiredDescriptionDefault
currencyYes

Output Schema

NameRequiredDescriptionDefault
dateYesDate the rate was published by Riksbanken
currencyYesISO 4217 code of the quoted currency
sek_per_unitYesPrice in SEK of 1 unit of the currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely useful behavior beyond that — the mid-rate (PMI) basis, the SEK-per-1-unit orientation, and the staleness caveat that the returned date may lag today. It stops short of noting error behavior for unsupported currencies.

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 with the purpose, then return semantics, then the argument spec — a sensible ordering with no filler. The "using the API from Riksbanken" clause is mildly redundant with the following sentence naming Riksbanken again.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool, the definition covers purpose, rate semantics, publication cadence, date staleness, and argument format; an output schema exists, so return structure needs no further explanation. Nothing an agent needs to invoke it is missing.

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 0%, so the description carries the burden and largely does: it specifies the 3-letter ISO 4217 format and gives concrete examples (USD, EUR), which is what an agent needs to call it correctly. Minor gaps remain, such as what happens with unsupported or lowercase codes.

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?

"Fetch the latest exchange rate from some currency to SEK" gives a specific verb (fetch), resource (exchange rate) and direction (X to SEK), plus the data source (Riksbanken). An agent knows exactly what this returns without opening the 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?

Usage is implied rather than stated: the description notes the rate is published on banking days and may be dated earlier than today, which tells the agent this is a latest-only, non-historical read. There is no explicit when-to-use/when-not framing, though no sibling alternatives exist to route away from.

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

Deploy Server

Other Tools