Skip to main content
Glama

Hedgr FX Risk & Hedging

get_cash_position

Read-only

Use this when the user asks how much cash their company holds in each currency, or whether foreign-currency bank balances already cover invoices in the same currency. Returns current cash balances by currency and entity. Do not use for moving cash, converting currency or making a payment: Hedgr is read-only. Shows whether FX cash offsets invoice exposure in the same 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_cash_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoFilter to a single currency.
entity_idNoSpecific entity ID. Omit for group-level consolidated cash position.
include_chartNoWhen true, includes an image/png content block: horizontal bar chart of cash balance by currency (native units). Blue bars = positive, red = overdraft.

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

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

The annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds the meaningful institutional fact that the whole surface is read-only ("Hedgr is read-only"), which tells the agent no write path exists at all rather than just for this call. Scope behavior (per-currency, per-entity, group-level when omitted) is also clarified. It does not cover pagination or freshness of balances, but an output schema exists so return-shape disclosure is not required here.

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?

Three front-loaded sentences that open with the trigger and end with capability scope, with no filler. There is mild redundancy: the invoice-exposure use case stated in sentence one is restated in the closing sentence, which could have been merged.

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?

A three-parameter read tool with full schema coverage, annotations, and an output schema needs little more, and the description supplies trigger, exclusions, grouping behavior, and the analytical question it answers. Nothing an agent needs in order to select and call it correctly 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 all three parameters (currency, entity_id, include_chart) are fully documented in the schema, including the chart's colors and native units. The description only echoes the currency/entity grouping and adds no format, default, or edge-case information beyond it — 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?

"Returns current cash balances by currency and entity" names a specific resource and its grouping dimensions, and the opening sentence frames the exact user question it answers. The final sentence adds a second, distinct capability (FX cash offsetting same-currency invoice exposure) that separates it from siblings like get_fx_exposure or get_cashflow_forecast.

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 an explicit trigger ("when the user asks how much cash their company holds in each currency") and explicit exclusions (moving cash, converting currency, making a payment). What it lacks is a named sibling alternative for the adjacent questions — e.g. exposure or forecast views — so the agent must infer which other tool to route to.

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