Skip to main content
Glama

get_currency_rate

Read-only

Retrieve Fortnox’s current exchange rate for a specified currency, expressed as SEK per unit, to convert amounts correctly.

Instructions

Fortnox's current exchange rate for a currency (SEK per Unit units).

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": {
      "currency": "<currency>"
    },
    "name": "get_currency_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered, but openWorldHint=true means external/live data and the description does support that by specifying the 'current' rate from Fortnox with the quotation convention (SEK per unit). It does not disclose behavior for unknown or unsupported currency codes, whether the rate is cached/snapshotted, or what the response looks like. Useful added context, but incomplete for an open-world lookup.

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?

A single front-loaded sentence with no filler; the direction-of-quote detail is placed where it is most useful. The tilde-quoted 'Unit' phrasing is slightly cryptic and could be stated plainly as 'per 1 unit of the given currency'.

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

Completeness3/5

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

For a one-parameter lookup with no output schema, the description covers the essential semantics (source, currency basis, SEK-denominated result). It still leaves out the return type/precision and error behavior for unsupported currencies, which are the remaining things an agent needs to use the result safely.

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 0%, so the description must carry the parameter meaning, and it partly does: the 'currency' argument is the foreign currency you want priced in SEK, and the parenthetical clarifies rate direction. However, it never states the expected format (e.g., ISO 4217 three-letter code) or case sensitivity, so an agent could still pass an invalid value.

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 names a specific resource (Fortnox exchange rate) and ties it to a single input (a currency), which is unmistakable against siblings like get_invoice or get_stock. The only weakness is the implied verb and the mildly opaque phrase 'SEK per `Unit` units', but an agent can still tell exactly what data comes back.

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: an agent infers it should call this when it needs a conversion rate. There is no explicit when-to-use/when-not framing, no note on whether this is the right source versus cached rates, and no prerequisites such as required auth or valid currency codes. The absence of competing rate tools in the sibling list makes the omission low-risk.

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