Skip to main content
Glama

Hedgr FX Risk & Hedging

get_cashflow_forecast

Read-only

Use this when the user asks how much cash they expect to receive or pay in each currency over the coming weeks, based on how their customers and suppliers actually settle. Projects the user's OWN expected net cashflow per currency over the next N weeks (default 8), from their OWN settlement history. Do not use for exchange-rate predictions: this is deterministic statistics on settlement behaviour and makes no FX-rate forecast. The projection covers expected settlement of existing open invoices (due date shifted by how late each customer usually pays), plus projected recurring and seasonal flows. Returns a per-currency net with a P10-P90 band, named drivers, and the walk-forward accuracy of the settlement model (inside-band % and median error in days). 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_cashflow_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.4/5.0
Behavior5/5

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

Annotations only cover the read-only, closed-world safety profile, yet the description goes well beyond them: it discloses the estimation method (due dates shifted by each customer's habitual lateness, plus recurring and seasonal flows), states the output shape (per-currency net with P10-P90 band, named drivers), and explains the sufficient_history=false edge case. That is exactly the behavioral context an agent needs to trust and interpret the result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Usage trigger and exclusion come first, followed by mechanism and then outputs, so the most decision-relevant content is front-loaded. Every sentence carries distinct information with no filler, even at roughly 130 words.

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?

With an output schema, full parameter coverage, and annotations present, the description covers nearly everything an agent needs, including the confidence-band caveat. The return-value sentence overlaps with what the output schema already declares, which is the only minor redundancy.

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 description coverage is 100%, including the 1-52 range, the default of 8, and the 13/26/52 week mappings, so the schema already carries the parameter meaning. The description only restates the default horizon and implies currency filtering through 'per currency', adding no syntax or semantics beyond the structured fields.

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?

The description names a specific verb and resource ('Projects the user's OWN expected net cashflow per currency over the next N weeks') and scopes it precisely to settlement-history-derived projections. It explicitly separates itself from FX-rate forecasting, so an agent can distinguish it from get_fx_exposure or get_fx_guidance 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?

It gives a concrete trigger ('when the user asks how much cash they expect to receive or pay in each currency over the coming weeks') and an explicit exclusion ('Do not use for exchange-rate predictions'). The only gap is that it never names the sibling tool to use instead for FX questions, leaving the agent to infer the redirect.

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