Skip to main content
Glama

Get Current Price (G7 FX quote)

get_quote
Read-onlyIdempotent

Get the latest price of a market: a quick "what's it at now" check.

Useful for context before deploying a strategy. The price is the close of
the most recent 1-minute bar from the platform's market feed (not a raw
live tick); FX markets close on weekends, so the `stale` flag marks a bar
that is more than 15 minutes old.

Args:
  symbol: Market: one of EURUSD, USDJPY, GBPUSD, USDCHF, USDCAD, AUDUSD,
    NZDUSD, XAUUSD, XAGUSD, BTCUSD. Default EURUSD.

Returns:
  dict with: symbol, price (latest close), time (bar timestamp, UTC),
  change + change_pct (vs the prior 1-min bar), stale (bool).

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

Input Schema

NameRequiredDescriptionDefault
symbolNoMarket: EURUSD, USDJPY, GBPUSD, USDCHF, USDCAD, AUDUSD, NZDUSD, XAUUSD, XAGUSD or BTCUSD. Default EURUSD.EURUSD

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / symbol / description
      Added value: +"Market: EURUSD, USDJPY, GBPUSD, USDCHF, USDCAD, AUDUSD, NZDUSD, XAUUSD, XAGUSD or BTCUSD. Default EURUSD."
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (which only declare it a safe idempotent read): it discloses that the price is the close of the most recent 1-minute bar rather than a live tick, that FX markets close on weekends, and that the `stale` flag means the bar is over 15 minutes old. That is exactly the operational context needed to interpret the result correctly.

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?

Front-loaded with the one-line purpose and clear Args/Returns sections, so it scans well. Mild redundancy: the symbol list duplicates the schema and the Returns block restates what the existing output schema already documents.

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 single-parameter read tool this covers everything material: what the number represents, its refresh granularity, market closure behavior, and staleness semantics. Even though an output schema exists, the explanation of `stale` and bar-close pricing is genuinely load-bearing rather than filler.

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%, and the Args block essentially restates the schema's symbol enum and default verbatim. No added meaning (e.g. case sensitivity, error behavior for unsupported symbols) is contributed beyond the structured field.

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 ('Get the latest price of a market') and immediately clarifies it as a 'what's it at now' snapshot rather than a full history call. No sibling does anything similar, so an agent can place it confidently.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Offers one usage context ('Useful for context before deploying a strategy') but gives no when-not guidance and names no alternative tools for other price/history needs. The usage signal is implied rather than spelled out.

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