Skip to main content
Glama
FxSocket MCP

FxSocket MCP

Official

Get account details

get_account
Read-onlyIdempotent

Reads one MetaTrader account's live financials, margin and account settings, plus broker connection, login state, and auth error details; returns partial results with any read failures listed.

Instructions

One account in full, read live from its terminal: financials (balance, equity, margin, free margin, margin level, leverage, currency), account settings (margin mode, stop-out level, whether trading is allowed) and terminal health (broker connection, login state, and in health.account.authError the broker's reason when it refused the login, e.g. Invalid account for a wrong password). Takes one account_id from list_accounts; if part of the read fails, the rest is still returned and the failure is listed under errors. For balance and equity across several accounts at once, use list_accounts with include_balances; for positions, use get_open_positions.

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>"
    },
    "name": "get_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesAn account_id from list_accounts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses that the read happens live against the terminal, that partial failure returns the remaining data with the failure listed under errors, and that health.account.authError carries the broker's own refusal reason. Those are the non-obvious behaviors an agent needs to interpret a partial or auth-failed response 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?

It is one dense paragraph but front-loads the resource and its contents, then handles routing last. The parenthetical field enumerations are long but informative rather than redundant; a tighter bullet structure would read better, but nothing here is filler.

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 with no output schema, the description supplies everything missing from structured data: what the response contains, how partial failures are represented, and the meaning of the nested authError field. Nothing an agent needs in order to call it or interpret its result is absent.

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% and the single parameter already carries its own description, so the schema does the heavy lifting. The description only adds provenance ("from list_accounts"), which the schema repeats almost verbatim. Baseline 3 is appropriate.

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 opens with a specific verb and resource ("One account in full, read live from its terminal") and enumerates the exact field groups returned: financials, account settings, and terminal health. It further distinguishes itself from siblings by naming the tools that cover other scopes, so an agent can tell it apart from list_accounts and get_open_positions without reading any schema.

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 states the input prerequisite ("Takes one account_id from list_accounts") and explicitly routes the agent to alternatives with the conditions that select them: list_accounts with include_balances for multi-account balance/equity, and get_open_positions for positions. When-to-use and when-not-to-use are both covered with no inference required.

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