Skip to main content
Glama
HostMT5 MCP server

HostMT5 MCP server

account_state

Retrieves balance, equity, margin, open positions, pending orders, and live Market Watch quotes for a specified account ID.

Instructions

Balance, equity, margin, open positions, pending orders and live Market Watch quotes of one 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": {
      "account_id": "<account_id>"
    },
    "name": "account_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It implies a read ('state ... of one account') and notes the quotes are 'live', which is useful, but says nothing about whether a connection/session is required, whether quotes are streaming or a snapshot, rate limits, or what happens if the account is not logged in.

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 efficient sentence with no wasted words. It front-loads the returned fields rather than the action, but at this length that costs little.

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 one-parameter read tool with no output schema and no annotations, listing the returned data categories is exactly the information an agent needs to decide whether to call it. Format-level gaps are minor.

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%, so the description must compensate; it does so only weakly by saying 'of one account', which confirms account_id selects a single account rather than a workspace or list. It adds no detail on where the account_id comes from or how invalid ids behave, though the parameter name is largely self-evident.

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

Purpose3/5

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

The description enumerates the contents (balance, equity, margin, positions, orders, quotes) of a single account's state, so an agent can infer it is a read of account status. But it is a noun phrase with no verb and no differentiation from siblings like account_power or overview, leaving the exact scope implicit.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no mention of when to call this versus account_power (margin/power detail), overview (summary), or trade_history (closed trades). The agent must guess from sibling names alone.

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