Skip to main content
Glama

Hedgr FX Risk & Hedging

get_hedge_portfolio

Read-only

Use this when the user asks about their existing currency hedges or forward contracts, how much of a currency is already covered, or their hedge ratio on a currency such as EUR. Returns all open forward contracts and hedges with maturity date, notional amount, contracted rate, and current mark-to-market value. Do not use for booking, extending or closing a hedge: Hedgr is read-only. hedges[] is drawdown-normalised: a parent forward is listed once at its remaining notional and child draws are excluded, exactly as the dashboard hedge book counts cover. Also returns coverage (Protection Ratio and over-hedge flag as published by the dashboard), policy_band (hedge-ratio policy band and per-currency status), residual_coverage (net exposure vs active hedge notional per currency), drawdowns (original, drawn and remaining notional per parent) and hedge_mark_to_market.

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

Input Schema

NameRequiredDescriptionDefault
currencyNoFilter to hedges on a specific currency.
entity_idNoFilter to a single entity's hedges.
include_expiredNoInclude hedges that have already matured.

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

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

Annotations already mark this as a safe read (readOnlyHint=true, destructiveHint=false), yet the description still adds critical semantics: hedges[] is drawdown-normalised with parent forwards listed once at remaining notional and child draws excluded, matching how the dashboard counts cover. It also discloses that Protection Ratio, over-hedge flag and policy band are published values from the dashboard, which prevents an agent from recomputing or misreading them.

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?

Usage and exclusions are front-loaded, and the behavioral notes on drawdown normalisation are genuinely load-bearing. The trailing enumeration of return payload keys (coverage, policy_band, residual_coverage, drawdowns, hedge_mark_to_market) is somewhat redundant given an output schema exists, adding bulk without much selection value.

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 three-parameter, read-only portfolio query with an output schema, the description covers trigger conditions, exclusions, and the non-obvious counting/normalisation rules. Nothing an agent needs in order to call it correctly or interpret the response 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 all three filters are already documented in the schema, and no parameter is discussed by name in the description. The phrase 'all open forward contracts' implicitly reinforces the include_expired=false default, but that is marginal added meaning over the schema.

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 ('get hedge portfolio') and then states the exact user questions it answers: existing hedges or forward contracts, coverage per currency, and hedge ratio on a currency such as EUR. It is clearly distinguishable from exposure-oriented siblings because it explicitly frames the output as the hedge book rather than net exposure.

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 triggering conditions ('Use this when the user asks about...') and a clear exclusion ('Do not use for booking, extending or closing a hedge: Hedgr is read-only'). It does not name a specific alternative tool for the adjacent exposure question, so the routing guidance stops just short of full coverage.

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