Skip to main content
Glama

Hedgr FX Risk & Hedging

get_policy

Read-only

Use this when the user asks about their FX hedging policy: the hedge ratio target, the allowed instrument, the hedge horizon, comfort limits or budget rates. Returns the user's saved FX policy in declared form. Do not use for changing the policy or for advice on what it should be: the tool reads the saved settings only. The response holds one workspace coverage target (target_hedge_ratio_pct, 0 when none is set), the allowed instrument, the hedge horizon, and a policy_settings block naming every stored field with its meaning, including per-currency comfort-limit rows (a row with limit 0 is treated as unset and is named as such), budget rates, and fees. max_single_trade_base and approval_threshold_base are published as null with a basis, because no Hedgr surface writes them today. Nothing in the stored policy is passed through undeclared.

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

Input Schema

NameRequiredDescriptionDefault
entity_idNoFetch the policy for a specific entity. Omit for the group-level policy.

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

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description nonetheless adds real behavioral context by stating it reads saved settings only and by explaining edge semantics (target_hedge_ratio_pct is 0 when unset, comfort-limit rows with 0 are treated as unset, max_single_trade_base and approval_threshold_base are surfaced as null with a basis). What it does not cover is auth/permission scope or any staleness/caching behavior of the saved policy read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Usage and exclusions are correctly front-loaded, which is good structure, but the second half becomes a long enumeration of return fields (coverage target, instrument, horizon, policy_settings block, comfort-limit rows, budget rates, fees, null-published fields) that largely duplicates an existing output schema. Several clauses could be cut without losing call-time guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-optional-param, read-only getter with an output schema, the definition supplies trigger, exclusions, and the semantics of zero/null values, which is enough to call it correctly. The return-shape recap is somewhat redundant given the output schema, and no permission or freshness context is given, but nothing essential for invocation 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?

There is one optional parameter (entity_id) with 100% schema description coverage, and the schema already explains 'Omit for the group-level policy'. The description adds nothing beyond that about entity_id or entity scoping, so the baseline of 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?

States a specific verb and resource ('Returns the user's saved FX policy in declared form') and enumerates exactly which policy facets it covers: hedge ratio target, allowed instrument, hedge horizon, comfort limits, budget rates. It also explicitly distinguishes itself from policy-mutation and advisory surfaces, so an agent can tell it apart from siblings like get_policy_backtest_summary or get_fx_guidance without opening a 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?

The first sentence gives a clear trigger ('when the user asks about their FX hedging policy'), and the description adds an explicit exclusion ('Do not use for changing the policy or for advice on what it should be'). It never names the alternative tool for policy changes or advice, so the agent must infer the routing target, which keeps it just under a 5.

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