Skip to main content
Glama

createAltCurrency

Add an alternative currency to a location, which customers can then be invoiced in. Returns the created alternative currency. Pass provider to keep the exchange rate updated automatically from a central bank (nbu National Bank of Ukraine, bcra Central Bank of Argentina, nbg National Bank of Georgia, bcch Central Bank of Chile, ecb European Central Bank), or exchangeRate to fix it, never both. A location has at most one alternative currency per currency code. Needs the settings permission in the location. Call getLocations to list locations, or getLocation to fetch one by locationId. Never invent UUIDs; only use values from prior tool responses.

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": {
      "altCurrency": "<altCurrency>"
    },
    "name": "createAltCurrency"
  }
}

Input Schema

NameRequiredDescriptionDefault
altCurrencyYesAlt currency to create.

Output Schema

NameRequiredDescriptionDefault
altCurrencyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description adds real value beyond that: the settings-permission requirement, the one-alt-currency-per-currency-code uniqueness constraint, the provider/exchangeRate mutual exclusivity, and what each provider code means. It does not discuss failure modes for permission denial or duplicate-currency rejection, which keeps it at 3 rather than higher.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with purpose, then the provider/exchangeRate rule, then the uniqueness constraint and permission, then the prerequisite navigation hint. Every sentence carries distinct, non-redundant information.

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?

Covers purpose, prerequisites, permission requirement, exclusivity constraint, uniqueness constraint, ID sourcing, and return value for a single nested-object create tool. An output schema exists, so the brief 'returns the created alternative currency' is sufficient without enumerating fields.

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 100%, so the baseline is 3; the description earns an extra point by expanding the provider enum into human-readable meanings (nbu = National Bank of Ukraine, ecb = European Central Bank, etc.) and by restating the provider-vs-exchangeRate exclusivity rule that an agent could otherwise miss. It does not explain the currencyCode/locationRef relationship beyond the schema's own descriptions.

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+resource (add an alternative currency to a location) plus the business outcome (customers can then be invoiced in it) and the return value. The word 'add'/'create' plus the required altCurrency payload clearly separates it from the sibling updateAltCurrency and getAltCurrency.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit operational rules: pass provider OR exchangeRate, 'never both', plus prerequisites ('Needs the settings permission in the location') and a prerequisite chain ('Call getLocations to list locations, or getLocation to fetch one by locationId'). It also warns against inventing UUIDs, which is exactly the failure mode an agent would hit on locationRef.

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.

Resources