Skip to main content
Glama
FxSocket MCP

FxSocket MCP

Official

Get live quotes

get_quotes
Read-onlyIdempotent

Retrieve current bid, ask, and spread for up to 20 account-specific broker symbols from the terminal for live pricing.

Instructions

Latest bid, ask and spread for up to 20 symbols, read live from this account's terminal, so prices are the broker's own. A symbol the broker does not know is listed under errors while the others still return; if none resolve, the call fails. The current price only: for past prices use get_price_history, for contract size, swaps or sessions use get_symbol_info.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_id": "<account_id>",
      "symbols": "<symbols>"
    },
    "name": "get_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolsYesExact broker symbol names (see search_symbols).
account_idYesAn account_id from list_accounts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: partial-failure semantics (unknown symbols surface under errors while others still return, and the call only fails if none resolve). This error-handling contract is not derivable from annotations or schema.

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

Conciseness5/5

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

Three dense sentences, front-loaded with what is returned and its source, then failure behavior, then alternatives. No filler; each sentence carries distinct information.

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 no output schema, the description covers the return fields (bid, ask, spread), the data source, the partial-failure contract, and the alternatives an agent might confuse it with. Nothing needed to call it correctly 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 both parameters are already documented, including the symbol-name and account_id sourcing hints. The description restates the 20-symbol cap but adds no syntax or format detail beyond the schema; baseline 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 (returns bid/ask/spread), resource (live quotes), and scope (up to 20 symbols, read from this account's terminal). It explicitly distinguishes itself from get_price_history and get_symbol_info by naming what each of those covers instead.

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?

Gives explicit routing: past prices → get_price_history, contract size/swaps/sessions → get_symbol_info. Also states the precondition that prices come from the account's terminal, which tells the agent when this tool is the right source.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.