Skip to main content
Glama

get_currencies

Retrieve currency codes, symbols, and units to ensure accurate salary updates in job applications and compensation tracking.

Instructions

Get the list of supported currencies with their codes, symbols, and units. Use this to look up the correct currency code before updating salary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the get_currencies tool.
    server.tool(
      'get_currencies',
      'Get the list of supported currencies with their codes, symbols, and units. Use this to look up the correct currency code before updating salary.',
      {},
      async () => {
        const currencies = await client.getCurrencies();
        return { content: [{ type: 'text' as const, text: JSON.stringify(currencies, null, 2) }] };
      }
    );
  • The underlying implementation that fetches currency data from the API.
    async getCurrencies(): Promise<Currency[]> {
      return this.get<Currency[]>('/currencies');
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/6figr-com/job-gpt-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server