Skip to main content
Glama

Hedgr FX Risk & Hedging

get_rate_assumptions

Read-only

Use this when the user asks which exchange rate Hedgr used for a figure, where a number came from, or why a rate or FX P&L figure is unavailable. Returns rate assumptions used by the dashboard: spot rates, source labels, timestamps, custom override presence, missing spot rates, and invoice rows with missing or placeholder booking rates. Do not use for a dealing quote or currency conversion: these are the rates behind the dashboard figures. Also returns spot_rates_market_convention (the pair orientation the Control panel shows), forward_rates with forward_rates_basis (empty with the reason stated when no feed supplies a forward curve) and unsupported_currencies.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

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 establish readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description goes further by disclosing edge-case behavior that matters for selection: missing spot rates, invoice rows with missing or placeholder booking rates, and forward_rates arriving empty with the reason stated. It does not cover anything about caching, latency or freshness guarantees beyond the as-of timestamps it says are returned.

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?

It is front-loaded with the selection condition, which is the highest-value sentence, and nothing is filler. The trailing enumeration of return fields (spot_rates_market_convention, forward_rates_basis, unsupported_currencies) is a dense run-on that could be tightened, especially since an output schema exists.

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 zero-parameter, read-only lookup with an output schema and full annotation coverage, the description supplies everything an agent needs: when to call it, when not to, and what edge-case outputs it can surface. Nothing required to invoke it correctly is missing.

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?

The tool takes zero parameters, so the baseline is 4; there is no parameter meaning for the description to add. The schema itself restates that there are no inputs and what is returned, which the description does not need to repeat.

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 ('Returns rate assumptions used by the dashboard') and frames the user intents it answers (which FX rate was used, where a number came from, why a rate or FX P&L is unavailable). It also distinguishes itself from adjacent capabilities by declaring it is not a dealing quote or currency conversion tool.

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?

It gives an explicit trigger ('Use this when the user asks which exchange rate Hedgr used for a figure...') and an explicit exclusion ('Do not use for a dealing quote or currency conversion'), with a clarifying rationale that these are the rates behind dashboard figures. An agent can route to or away from this tool without inference.

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