Skip to main content
Glama

Hedgr FX Risk & Treasury

get_funding_forecast

Read-only

TMS liquidity/funding view: per-currency running cash balance seeded from the user's REAL bank balances - INCLUDING base currency (which the FX-exposure tools deliberately exclude). Answers whether the user will hold the units to settle upcoming payables/receivables, the first date each currency runs short and by how much, the trade the gap implies (BUY on a projected shortfall by its date, SELL on a surplus), and whether base-currency cash can fund the foreign purchases (can_self_fund + base_funding_shortfall). Uses real bank balances + real invoices plus the projected settlement component with its band and accuracy. Trade direction is a mechanical consequence of the gap sign, not a recommendation. sufficient_history is false when the settlement history is too short for a reliable band.

Input Schema

NameRequiredDescriptionDefault
currencyNoOptional 3-letter currency code to filter to one currency.
horizon_weeksNoProjection horizon in weeks (1-52, default 8). Pass the period the user names: 13 for three months, 26 for six, 52 for twelve.

Output Schema

NameRequiredDescriptionDefault
dataYesTool-specific payload. Null when connection_status.state is 'setup_required'.
connection_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / horizon_weeks / description
      Previous value: -"Projection horizon in weeks (1-26, default 8)."New value: +"Projection horizon in weeks (1-52, default 8). Pass the period the user names: 13 for three months, 26 for six, 52 for twelve."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safe-read profile, but the description goes well beyond: it names the data sources (real bank balances + real invoices + projected settlement component with its band and accuracy), discloses the sufficient_history=false degradation when history is too short, and clarifies that trade direction is a mechanical consequence of the gap sign rather than a recommendation.

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?

The core purpose is front-loaded in the first clause and nearly every clause carries substantive information. It is dense and somewhat run-on, and it restates output content that the output schema already provides, which costs a point on structure.

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?

For a forecast tool with an output schema and full annotation coverage, the description supplies everything an agent needs: scope, data provenance, edge-case behavior (sufficient_history), and an explicit disclaimer on trade direction. Nothing material is missing.

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 100% and the schema already documents both parameters, including the 1-52 range and the 13/26/52 mapping. The description adds only contextual meaning (per-currency filtering, base-currency inclusion) rather than parameter-level detail, so the baseline 3 is appropriate.

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?

States a specific verb+resource (funding/liquidity forecast of per-currency running cash balance) and explicitly demarcates itself from the FX-exposure siblings by noting it INCLUDES base currency, which those deliberately exclude. An agent can distinguish it from get_fx_exposure and the cashflow tools without opening a 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 description frames the questions it answers (will the user hold units to settle payables/receivables, first date a currency runs short, can base cash fund foreign purchases), which gives strong usage context, and explicitly routes base-currency cases away from the FX tools. However, it never states when NOT to use it versus close siblings like get_cashflow_forecast or get_cash_position, so the routing is only partial.

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