Skip to main content
Glama

Hedgr FX Risk & Hedging

get_dashboard_context

Read-only

Use this when the user asks for an overview of their company's FX position: total currency exposure, FX gains and losses, which foreign currencies they hold, and how fresh their accounting data is. Returns a compact read-only snapshot of the authenticated Hedgr dashboard. Do not use for live market rates, currency conversion, or placing a trade or payment: Hedgr is read-only. The snapshot carries organisation, provider, base currency, selected entity/workspace context, data timestamp, FX currencies, invoice counts, headline exposure and P&L totals, and available rates. Also returns Scout-aligned blocks: book_value (open and settled FX invoice face-value sums), invoice_book (counts, receivable/payable and local/foreign splits, per-currency open/overdue, ageing, top open invoices), profit_and_revenue (net profit, operating profit, revenue, profit_basis, provider_has_unrealised_fx), data_coverage (invoice lookback and rate-history window), inter_company lens state and totals.dashboard_total_fx_impact_base. Also returns entity_scope: when the workspace consolidates several entities, entity_scope.ask_user is true and the block carries a scope question and its options (consolidated group, or one entity with its entity_id).

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

Input Schema

NameRequiredDescriptionDefault
entity_idNoScope the P&L totals and the bank leg to one entity, the same blocks get_pnl_attribution scopes. Omit for the consolidated group. Use an entity_id from entity_scope.options or list_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.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint=false, and the description reinforces the read-only contract while adding behavior an agent can act on: entity_scope.ask_user may be true and carry a scope question with options, and aligned_blocks_scope_basis flags which blocks remain whole-workspace. It gives no guidance on limits, latency, or failure modes, so it falls just short of a 5.

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?

The guidance and exclusions are front-loaded and crisp, but the mid-section is a very long single-sentence enumeration of every returned block (book_value, invoice_book, profit_and_revenue, data_coverage) that largely restates the output schema. That bulk crowds out the routing information without adding decision-relevant 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?

With one optional parameter at full schema coverage, an output schema, and strong annotations, the description supplies everything an agent needs: trigger conditions, exclusions, scoping behavior for entity_id, and the interactive entity_scope path. Nothing material is missing for correct invocation.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: entity_id scopes only the P&L totals and the bank leg, and the response's aligned_blocks_scope_basis tells you which blocks stay whole-workspace. It also ties entity_id to entity_scope.options or list_entities, clarifying the sourcing of valid values.

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 concrete verb and resource: it returns a 'compact read-only snapshot of the authenticated Hedgr dashboard' for an FX-position overview, and enumerates the headline contents (exposure, P&L, currencies, data freshness). It also delimits itself against adjacent capabilities by ruling out live market rates, conversion, and trade/payment placement.

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?

'Use this when the user asks for an overview of their company's FX position' gives a clear triggering condition, and the 'Do not use for...' sentence excludes three nearby intents. It stops short of naming concrete sibling tools (e.g. get_fx_exposure, get_pnl_attribution) that an agent should switch to for the excluded cases, so routing depends on 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