Skip to main content
Glama
CurrencyFreaks

currencyfreaks-mcp

Official

Convert to the local currency of an IP address

ip_to_currency

Resolve a visitor’s local currency from their IP address and convert an amount into it using current exchange rates, returning the target currency in the 'to' field.

Instructions

Resolves the local currency from an IP address's geolocation and converts an amount into it using the latest rate. Useful for localizing prices for a visitor. The target currency is returned in the 'to' field. Growth plan and above.

Input Schema

NameRequiredDescriptionDefault
ipNoIPv4 or IPv6 address to geolocate. Omit to use the caller's own IP address.
fromYesCurrency code to convert from, e.g. 'USD'.
amountNoAmount to convert. Must be greater than 0. Default is 1.0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It usefully discloses the plan gating ("Growth plan and above") and that the rate used is the latest, not historical. However, it omits failure behavior for private/ungeolocatable IPs and what happens when no rate exists for the derived currency.

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 short sentences, front-loaded with the core action and ending with the access constraint. No sentence repeats the title or the schema, and the 'to' field note earns its place as return-value information.

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?

There is no output schema, so the description is the only source of return-value information, and it names just the 'to' field. The converted amount field, the rate used, and error shapes remain undisclosed for a tool whose output the agent will need to interpret.

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 100%, so all three parameters (ip, from, amount) are already documented including the omit-to-use-caller's-IP behavior and the amount default. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 and resource: resolve the local currency from an IP's geolocation and convert an amount into it at the latest rate. This clearly distinguishes it from the generic sibling convert_currency (which takes an explicit target) and from get_latest_rates, since the target currency is derived from an IP.

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?

"Useful for localizing prices for a visitor" implies the use case but never says when to prefer this over convert_currency (target currency already known) or what to do if geolocation is not desired. The agent must infer the alternative from the sibling name alone.

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