Skip to main content
Glama

Undertow market liquidity and exit-cost tools

Gold sale, FX and cash availability scenario

gold_cash_realisation
Read-onlyIdempotent

Calculate gold sale proceeds and cash gates from caller inputs. Decimal strings: kg, fineness (0,1], USD/troy-oz bid, USD fees, currency/USD FX (USD=1). Use aware ISO clocks. Returns arithmetic and withheld-cash reasons; no fetch, storage, execution or verified balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cutoffYes
clearedYes
fx_asofYes
pledgedYes
fees_usdYes
finenessYes
fx_fee_bpsYes
quote_asofYes
quantity_kgYes
settlement_atYes
bid_usd_per_ozYes
fx_valid_untilYes
quote_currencyYes
fx_quote_per_usdYes
access_restrictedYes
quote_valid_untilYes
max_quote_age_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, but the description adds real value: it discloses the return content ('arithmetic and withheld-cash reasons') and explicitly disclaims side effects and verification ('no fetch, storage, execution or verified balance'). This tells the agent the result is unverified arithmetic, which the annotations alone do not convey.

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?

Front-loaded with the core purpose and tightly packed into three sentences with no filler. The telegraphic 'Decimal strings:' fragment is efficient, though slightly cryptic for a first-time caller.

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 17-parameter tool with no schema descriptions and no output schema, the description covers the numeric units and clock format but omits the semantics of the boolean gating flags and the shape of the 'withheld-cash reasons' output. It is a helpful partial guide but not complete enough to invoke confidently without guessing.

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 coverage is 0% across 17 parameters, so the description must compensate and only partially does. It supplies units and format for the numerics (kg, fineness in (0,1], USD/troy-oz bid, USD fees, currency/USD FX with USD=1) and the 'aware ISO clocks' format for the timestamp fields, but leaves fx_fee_bps, quote_currency, and the gating booleans (cleared, access_restricted, pledged) unexplained despite 'cash gates' being central to the tool.

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?

States a specific verb ('Calculate') and resource ('gold sale proceeds and cash gates') and scopes it as a pure computation ('from caller inputs'). It does not explicitly name or differentiate itself from calculation-adjacent siblings such as exit_cost or crypto_exit_check, but the gold-sale framing is specific enough to route an agent.

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?

The phrase 'from caller inputs' and 'no fetch, storage, execution or verified balance' imply this is a deterministic what-if calculator rather than a data source, which is useful context. However, it never states when to prefer this over alternatives like exit_cost or unwind_watch, nor any exclusions or prerequisites for the scenario.

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.