Skip to main content
Glama

Hedgr FX Risk & Hedging

get_overdue_drivers

Read-only

Use this when the user asks what is driving their overdue foreign-currency invoices, or what overdue invoices have cost them in FX terms. Returns overdue invoice drivers by currency and top contact, prioritised by largest exposure per currency. Do not use for credit decisions or for chasing customers: the tool reports FX drivers only. Separates total unrealised FX P&L from since-due P&L and explicitly reports when due-date rates are unavailable. An invoice carrying no due date is undated and never overdue, so it appears in no driver row; it is published beside them as undated_invoice_count, undated_base_amount and undated_by_currency.

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

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

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

Beyond the read-only annotations, the description explains prioritisation by largest exposure per currency, separation of total unrealised FX P&L from since-due P&L, and explicit reporting when due-date rates are unavailable. It also documents the important undated-invoice edge case and the fields used to surface those invoices separately.

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?

The definition is front-loaded with the primary use case and result shape, then adds exclusions and edge-case behavior. Every sentence contributes useful selection or behavior information, with no filler.

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?

Given the output schema, the description need not enumerate return fields, and it instead covers the decision-relevant behavior: scope, exclusions, prioritisation, P&L separation, rate-availability handling, and undated invoices. Nothing material for correct tool selection or interpretation 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 description coverage is 100%, so the schema already explains both optional filters. The description adds useful report semantics such as currency grouping and top-contact drivers, but it does not add meaning beyond the schema for the currency or entity_id parameters.

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 states a specific verb and resource: it returns overdue invoice FX drivers by currency and top contact, prioritised by exposure. It also clearly distinguishes itself from credit-decision and customer-chasing tools, so an agent can identify its role 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 Guidelines4/5

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

It gives explicit when-to-use guidance tied to user questions about overdue FX invoice drivers or FX cost. It also gives explicit when-not-to-use guidance for credit decisions and customer chasing, though it does not name a specific alternative tool.

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