Skip to main content
Glama

Set display currency

set_currency
Destructive

Change display currency and convert existing trade-plan monetary amounts at the current FX rate. Fails before mutation if no rate is available; tax thresholds keep their own 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": {
      "code": "<code>"
    },
    "name": "set_currency"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Beyond the annotations, the description usefully discloses that existing trade-plan amounts are re-converted at the live FX rate, that the operation aborts atomically when no rate exists, and that tax thresholds keep their own units — real value on top of destructiveHint=true. However, it says nothing about approval requirements, reversibility, or how to recover if the FX conversion produces unexpected amounts, which matters for a destructive mutation.

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?

Two tight sentences with no filler, and the primary effect is front-loaded ahead of the edge-case rules. Slightly dense but every clause carries 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?

For a destructive, non-idempotent mutation with 4 parameters and no output schema, the description covers the value semantics and failure mode well but omits concurrency/idempotency semantics and dashboard targeting, so an agent could call it with an insufficient mental model of safe retry behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25% (only dashboardId is documented), so the description carries a heavier burden. It adds nothing about 'code' format/validity (currency identifier), and never mentions 'idempotencyKey' or 'expectedRevision' (a concurrency guard), leaving two parameters with no meaning anywhere in the definition.

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?

Names a specific verb and resource ('Change display currency') and immediately discloses the consequential side effect (converting trade-plan monetary amounts at the current FX rate). It does not explicitly distinguish itself from the similar 'set_setting' sibling, but the purpose itself is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no alternative named; an agent cannot tell from the description alone whether to reach for set_currency or a general set_setting call. The failure condition ('fails before mutation if no rate is available') is a behavioral rule, not routing guidance.

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.