Skip to main content
Glama

FiveSocket MT5 MCP Server

Get account balance

get_account_balance
Read-onlyIdempotent

Read live MT5 balance, equity, margin, currency, and source observation metadata for one connected account.

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": {
      "accountId": "<accountId>"
    },
    "name": "get_account_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYes

Output Schema

NameRequiredDescriptionDefault
nameYes
loginYes
creditYes
equityYes
marginYes
profitYes
serverYes
balanceYes
companyYes
currencyYes
leverageYes
accountIdYes
latencyMsYes
marginFreeYes
observedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds useful context — that values are 'live' (freshness expectation) and scoped to a single account rather than aggregated — but says nothing about auth requirements, rate limits, or staleness behavior for an open-world remote read.

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?

A single front-loaded sentence with no filler, naming the verb, the returned fields, and the scope. It is dense and efficient, though the trailing 'source observation metadata' phrase is slightly opaque.

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?

With an output schema present, return values need no explanation in prose, and annotations cover the read-only/idempotent profile, so the description is nearly complete for a one-parameter read tool. The remaining gap is guidance on sourcing a valid accountId.

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 0% for the single accountId parameter, so the description carries some burden; 'for one connected account' clarifies that the parameter selects a single account and implies a source such as list_connected_accounts, but it does not state the identifier format or where to obtain a valid value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Read) and a precise resource set — live MT5 balance, equity, margin, currency, plus observation metadata — scoped to 'one connected account.' An agent can distinguish this from get_account_snapshot or list_connected_accounts on the described behavior, though no sibling is named explicitly.

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?

The word 'live' implies this is the tool for current real-time values rather than historical or snapshot data, which is implicit when-to-use guidance. However, there is no explicit comparison to get_account_snapshot, no stated prerequisites, and no when-not-to-use condition.

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.