Skip to main content
Glama

updateAltCurrency

Destructive

Change how an alternative currency gets its exchange rate: pass provider to update it automatically from a central bank, or exchangeRate to fix it, never both. Returns the updated alternative currency. Needs the settings permission in the location. Get altCurrencyId from getAltCurrencies. 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": {
      "altCurrencyId": "<altCurrencyId>",
      "altCurrency": "<altCurrency>"
    },
    "name": "updateAltCurrency"
  }
}

Input Schema

NameRequiredDescriptionDefault
altCurrencyYesAlt currency fields to update
altCurrencyIdYesThe id of the alt currency.

Output Schema

NameRequiredDescriptionDefault
altCurrencyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description's job is to add context, which it does: it discloses the required permission scope, states the return value, and adds a strong anti-hallucination guardrail on UUIDs. It stops short of explaining the downstream consequence of switching a currency's rate source (e.g. effect on existing amounts), which is the main remaining behavioral gap 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?

Four short sentences with the mode-selection rule front-loaded, then return value, permission, and ID sourcing. The mutual-exclusivity rule appears once in the prose and again in both schema field descriptions, which is mild but tolerable reinforcement rather than bloat.

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

Completeness4/5

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

For a two-parameter nested mutation, the definition covers the essentials: mode selection, permission requirement, ID provenance, and return value (the output schema handles structure). Only the side effects of changing a rate source on existing data are left unaddressed.

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% and the schema already states 'Pass either provider or exchangeRate, never both', so the description largely restates existing field documentation. It does add a little meaning by characterizing provider mode as automatic central-bank updates versus exchangeRate mode as a fixed value, but that framing is thin given how much the schema already carries.

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?

The description opens with a precise verb-plus-resource statement ('Change how an alternative currency gets its exchange rate') and immediately enumerates the two mutually exclusive modes. It is clearly distinguishable from getAltCurrencies, createAltCurrency, and deleteAltCurrency, which address other lifecycle stages.

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

Usage Guidelines4/5

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

It states the key operating rule (pass provider OR exchangeRate, never both), the prerequisite ('Needs the settings permission in the location'), and where the required ID comes from ('Get altCurrencyId from getAltCurrencies'). It does not cover when an agent should prefer this tool over creating a new currency, but the sibling naming makes that inference trivial.

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