Skip to main content
Glama

Full Forensic FX Report

full_forensic_fx_report
Read-only

Produces a full FX audit report for one transaction (score, spread, estimated loss, breakdown and routing recommendation). Inputs: amount, currency_from, currency_to, bank_rate, optional company_name. Available without an API key within the shared allowance of 3 audits per IP per calendar month; valid Bearer API keys retain existing access.

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": {
      "amount": "<amount>",
      "currency_from": "<currency_from>",
      "currency_to": "<currency_to>",
      "bank_rate": "<bank_rate>"
    },
    "name": "full_forensic_fx_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoAlias for transaction_date.
timeNoAlias for transaction_time, UTC.
amountYes
bank_rateYes
currency_toYes
company_nameNoOptional company name for the report
currency_fromYes
transaction_dateNoTransaction date YYYY-MM-DD, or ISO timestamp with timezone.
transaction_timeNoOptional transaction time HH:mm[:ss], UTC.

Output Schema

NameRequiredDescriptionDefault
tierNo
amountYes
issuerNo
ratingNo
fx_scoreYes
breakdownYes
disclaimerNo
spread_bpsYes
spread_pctYes
report_typeNo
company_nameNo
generated_atNo
currency_pairYes
scoring_tableNo
bank_rate_usedNo
integrity_hashYes
reference_rateYes
amount_currencyNo
bank_rate_inputNo
transaction_dateNo
transaction_timeNo
cotation_inverseeNo
mcp_server_versionNo
fintrac_registrationNo
inverted_quote_detectedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "amount": {
      +      "type": "number"
      +    },
      +    "amount_currency": {
      +      "type": "string"
      +    },
      +    "bank_rate_input": {
      +      "type": "number"
      +    },
      +    "bank_rate_used": {
      +      "type": "number"
      +    },
      +    "breakdown": {
      +      "properties": {
      +        "estimated_loss": {
      +          "type": "number"
      +        },
      +        "estimated_loss_currency": {
      +          "type": "string"
      +        },
      +        "estimated_loss_in_base": {
      +          "type": "number"
      +        },
      +        "value_at_bank_rate": {
      +          "type": "number"
      +        },
      +        "value_at_mid_market": {
      +          "type": "number"
      +        },
      +        "value_currency": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "estimated_loss",
      +        "estimated_loss_currency"
      +      ],
      +      "type": "object"
      +    },
      +    "company_name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "cotation_inversee": {
      +      "type": "boolean"
      +    },
      +    "currency_pair": {
      +      "type": "string"
      +    },
      +    "disclaimer": {
      +      "type": "string"
      +    },
      +    "fintrac_registration": {
      +      "type": "string"
      +    },
      +    "fx_score": {
      +      "maximum": 10,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "generated_at": {
      +      "type": "string"
      +    },
      +    "integrity_hash": {
      +      "type": "string"
      +    },
      +    "inverted_quote_detected": {
      +      "type": "boolean"
      +    },
      +    "issuer": {
      +      "type": "string"
      +    },
      +    "mcp_server_version": {
      +      "type": "string"
      +    },
      +    "rating": {
      +      "type": "string"
      +    },
      +    "reference_rate": {
      +      "properties": {
      +        "mid_market_rate": {
      +          "type": "number"
      +        },
      +        "rate_provider": {
      +          "type": "string"
      +        },
      +        "rate_timestamp_utc": {
      +          "type": "string"
      +        },
      +        "reference_method": {
      +          "enum": [
      +            "minute_candle",
      +            "hourly_average",
      +            "last_available_candle"
      +          ],
      +          "type": "string"
      +        },
      +        "reference_window_end_utc": {
      +          "type": "string"
      +        },
      +        "reference_window_start_utc": {
      +          "type": "string"
      +        },
      +        "weekend_fallback": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "mid_market_rate",
      +        "rate_provider",
      +        "rate_timestamp_utc",
      +        "reference_method",
      +        "weekend_fallback"
      +      ],
      +      "type": "object"
      +    },
      +    "report_type": {
      +      "type": "string"
      +    },
      +    "scoring_table": {
      +      "type": "string"
      +    },
      +    "spread_bps": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "spread_pct": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "tier": {
      +      "type": "string"
      +    },
      +    "transaction_date": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "transaction_time": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "fx_score",
      +    "currency_pair",
      +    "amount",
      +    "reference_rate",
      +    "spread_pct",
      +    "spread_bps",
      +    "breakdown",
      +    "integrity_hash"
      +  ],
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Alias for transaction_date.",
      +  "type": "string"
      +}
    • addedInput schema / properties / time
      Added value: +{
      +  "description": "Alias for transaction_time, UTC.",
      +  "type": "string"
      +}
    • addedInput schema / properties / transaction_date
      Added value: +{
      +  "description": "Transaction date YYYY-MM-DD, or ISO timestamp with timezone.",
      +  "type": "string"
      +}
    • addedInput schema / properties / transaction_time
      Added value: +{
      +  "description": "Optional transaction time HH:mm[:ss], UTC.",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds genuinely non-annotation context: the 3-audits-per-IP-per-calendar-month anonymous quota and the Bearer-key auth path. It leaves the idempotentHint=false implication (whether repeat calls consume quota or produce identical results) unexplained, which is a minor gap.

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 dense sentences: the first front-loads the output value, the second covers inputs and access in one pass. There is no filler, though cramming quota and auth into the same sentence as the input list slightly blurs the structure.

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?

An output schema exists, yet the description still names the key returned fields, which is helpful redundancy rather than omission. Coverage of the 9 parameters is adequate given that the four date/time alias fields are self-documented in the schema, though the alias-vs-primary precedence (date vs transaction_date) is left for the schema to resolve.

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?

The description lists amount, currency_from, currency_to, bank_rate and optional company_name, but these names are already visible and required in the schema, so little meaning is added (e.g., bank_rate's expected format or currency code convention is never clarified). With schema description coverage at 56%, the four date/time alias parameters receive no treatment in the description beyond what the schema states.

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 and resource ('Produces a full FX audit report for one transaction') and enumerates the report contents (score, spread, estimated loss, breakdown, routing recommendation). It does not, however, differentiate itself from the closely named sibling audit_fx_transaction, so an agent must infer the split from names alone.

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 description provides access conditions (no API key within a 3-per-IP-per-month allowance; Bearer keys retain access) but gives no guidance on when to pick this over audit_fx_transaction, audit_fx_batch, or compare_fx_sources. Usage context is implied by 'one transaction' versus a batch sibling, but nothing explicit is said.

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