Skip to main content
Glama

Hedgr FX Risk & Hedging

get_cashflow_timing

Read-only

Use this when the user asks when foreign-currency receivables, payables, bank cash and hedge maturities fall due, or whether same-currency cash covers the next 30 to 90 days. Returns FX cashflow timing by currency and bucket, separating receivables, payables, bank cash, and hedge maturities where available. Do not use for a projection built from customer payment behaviour, or for moving cash. It answers Monitor > Exposure & Cash Flow questions about overdue, next 30, 31-60, 61-90, beyond 90, undated, liquidity timing, or same-currency cash coverage. On an unscoped call also returns maturity_ladder (receivables, payables and bank cash per bucket and currency in base), cashflow_coverage (near-term surplus/shortfall verdict per currency) and hedge_maturity_coverage (hedge notional laid against exposure per bucket with coverage percent).

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_timing"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoISO 4217 code to filter to one currency (e.g. 'EUR', 'USD'). Omit for all currencies.
entity_idNoSpecific entity ID from list_entities. Omit for the whole workspace (all entities).

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. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the description does not need to re-establish safety. It does add real behavioral context beyond that: the bucket structure returned, the 'where available' caveat signalling partial data, and the explicit statement that an unscoped call additionally returns maturity_ladder, cashflow_coverage and hedge_maturity_coverage. It stops short of stating data freshness or which upstream source feeds the buckets.

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?

Four sentences, front-loaded with the trigger condition before the return description and exclusions, with no filler. There is mild redundancy between the bucket list in sentence two and the enumeration of overdue/30/31-60/61-90/beyond-90/undated in sentence three, and the UI path mention is helpful but adds length.

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 two-parameter read tool with an output schema, the description covers trigger conditions, exclusions, breakdown dimensions, missing-data caveats, and the difference in output between scoped and unscoped calls. Nothing an agent needs in order to select and invoke this correctly is absent.

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?

Schema description coverage is 100%, so both filters are already documented and the baseline is 3. The description exceeds that by explaining the consequence of omitting filters — an unscoped call returns three extra aggregate sections — which tells the agent when parameter choice changes the response shape, not just the filter set.

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 resource and scope: FX cashflow timing by currency and bucket, split into receivables, payables, bank cash and hedge maturities. It also carves out clear territory against adjacent capabilities (payment-behaviour projections, cash movement), so an agent can distinguish it from get_cashflow_forecast or get_payment_patterns without opening the schema.

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?

The opening clause anchors usage to a concrete user question ('when foreign-currency receivables... fall due' or 'whether same-currency cash covers the next 30 to 90 days'), and a 'Do not use for...' sentence excludes two wrong uses. Alternatives are characterized by behaviour rather than by tool name, which is slightly weaker than naming siblings, but the when/when-not boundary is unambiguous.

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