Skip to main content
Glama

Hedgr FX Risk & Hedging

get_funding_forecast

Read-only

Use this when the user asks whether their company will hold enough of each currency, home currency included, to settle upcoming supplier bills and customer receipts, and when a currency first runs short. 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). Do not use for placing the implied trade or a payment: Hedgr is read-only. 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 and is not a recommendation. sufficient_history is false when the settlement history is too short for a reliable band.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_funding_forecast"
  }
}

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.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, yet the description adds substantial context beyond them: data provenance (real bank balances + real invoices), the projected settlement component with its band and accuracy, the meaning of the sufficient_history flag, and the caveat that trade direction is a mechanical consequence rather than a recommendation. That last point is important behavioral framing for an agent that might otherwise present output as advice.

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 use-case sentence and otherwise dense, but it restates the core question twice ('whether the user will hold the units to settle upcoming payables/receivables, the first date each currency runs short') after already saying it in the opening sentence. Capitalized emphasis and parentheticals add noise without new information.

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?

An output schema exists, so the description need not enumerate return values, and it still names the salient fields (can_self_fund, base_funding_shortfall, sufficient_history) and their interpretation. For a two-parameter read-only forecasting tool with full annotation and schema coverage, 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%, so currency and horizon_weeks are already documented, including the 13/26/52 week mapping. The description reinforces the per-currency framing and 'home currency included' but adds no syntax or format detail the schema lacks, so the baseline 3 applies.

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 ('per-currency running cash balance seeded from REAL bank balances') and explicitly contrasts scope with siblings: 'INCLUDING base currency (which the FX-exposure tools deliberately exclude)'. An agent can distinguish this from get_fx_exposure and get_cashflow_forecast purely from the text.

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

Usage Guidelines5/5

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

Opens with an explicit triggering condition ('Use this when the user asks whether their company will hold enough of each currency... and when a currency first runs short') and adds an explicit exclusion ('Do not use for placing the implied trade or a payment: Hedgr is read-only'). Both when and when-not are covered without inference.

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