Skip to main content
Glama

Audit FX Batch

audit_fx_batch
Read-only

Audits up to 100 FX transactions in one call with the same reference-rate source (Twelve Data minute candle, 13:00–21:00 UTC hourly average for date-only inputs, Open Exchange Rates fallback) and the same 0-10 grid as audit_fx_transaction. Returns one structured result per transaction and the total overpayment per currency. Each transaction counts as one audit against 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": {
      "transactions": "<transactions>"
    },
    "name": "audit_fx_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionsYes

Output Schema

NameRequiredDescriptionDefault
countYes
failedYes
totalsYesOverpayment totals per currency (sum of estimated_loss over successful transactions).
resultsYes
succeededYes
mcp_server_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses the actual rate source chain (Twelve Data minute candle, 13:00-21:00 UTC hourly average for date-only inputs, Open Exchange Rates fallback), the result shape (one result per transaction plus total overpayment per currency), and an explicit per-IP monthly quota where each transaction counts as one audit. Auth behavior ('valid Bearer API keys retain existing access') is also stated, which is exactly the kind of context annotations cannot carry.

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 verb and batch size, then progressively adds rate source, return shape, and quota. Dense but every clause carries information; the nested parenthetical about rate sources is long but not redundant.

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

Completeness5/5

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

Despite a single opaque parameter and 0% top-level schema coverage, the description supplies what an agent needs: what goes in, the cap, the pricing methodology, the return shape, and the billing/quota cost. Combined with the existing output schema and annotations, nothing material is missing.

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

Parameters4/5

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

The single top-level 'transactions' array has no description in the schema, so the description carries the burden of explaining that it takes 1-100 FX transactions. It further clarifies the otherwise ambiguous date-only input semantics by explaining that date-only inputs use the 13:00-21:00 UTC hourly average, which the nested transaction_date/transaction_time fields do not state themselves.

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?

Names a specific verb and resource ('Audits up to 100 FX transactions in one call') and distinguishes itself from the single-transaction sibling by explicitly stating it uses 'the same reference-rate source ... and the same 0-10 grid as audit_fx_transaction'. An agent can tell the batch from the singleton without opening either schema.

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?

The 'up to 100 ... in one call' framing plus the comparison to audit_fx_transaction makes the batch-vs-single choice clear, and the description states a concrete quota context (3 audits per IP per calendar month). It stops short of an explicit 'use this instead of N single calls when...' exclusion, which keeps it below a 5.

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