Skip to main content
Glama

AlgoVesta MCP Trading

get_market_price

Read-onlyIdempotent

Returns the LIVE price of a crypto or MT5 symbol: last (+ bid/ask if available) + ts + source.

This is the server's current price for the symbol, used for SL/TP/limit levels. For
sl_pct/tp_pct orders the server reads the live entry itself. Source order:
(1) the shared price cache (~1s fresh), (2) if not cached, a single live REST call to the
exchange. If the price is older than 10s OR cannot be fetched, that is stated EXPLICITLY —
a stale price is never presented as live.

If venue is given, that exchange is used; otherwise the user's CONNECTED exchanges are
searched. venue="paper" returns the exact price the paper engine fills at. If the symbol is
found on no exchange, price_unavailable is returned (no DEX guess: a ticker symbol does not
identify a DEX token reliably).
Returns: {ok, venue, symbol, last, bid, ask, ts, source, age_sec} or {ok:false, error,...}.

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

Input Schema

NameRequiredDescriptionDefault
venueNoExchange/venue name — must be one of the user's CONNECTED accounts (e.g. binance, bybit, okx, mt5, paper). A venue that is not connected is rejected with VENUE_NOT_CONNECTED.
symbolNoTrading symbol, e.g. BTCUSDT, ETHUSDT, EURUSD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/openWorld, but the description adds substantive behavior the agent could not infer: cache (~1s fresh) then single live REST fallback, explicit disclosure when price is older than 10s or unfetchable, and a refusal to guess DEX tokens. It also documents the failure mode (price_unavailable) and the return shape, which matters because there is no output schema.

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?

Purpose is front-loaded in the first line, and the freshness/source/fallback details are ordered logically. It is dense and mostly earns its length, though a few clauses (e.g., restating 'This is the server's current price for the symbol') lightly duplicate the opening.

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 takes on the return-contract burden and does so explicitly ({ok, venue, symbol, last, bid, ask, ts, source, age_sec} plus the error shape). Combined with full schema coverage and disclosed staleness/venue rules, an agent has everything needed to call it and interpret the result.

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 the baseline is 3; both parameters are already documented in the schema. The description does add some meaning beyond it — venue="paper" returns the paper engine's fill price and an omitted venue triggers a search across connected exchanges — but symbol semantics add little beyond the schema examples.

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?

Opens with a specific verb+resource+scope: 'Returns the LIVE price of a crypto or MT5 symbol' and enumerates the payload (last, bid/ask, ts, source). That is clearly distinguishable from siblings like get_portfolio_context or compare_venues, which are not price-tick lookups.

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

Usage Guidelines4/5

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

Gives concrete usage context ('used for SL/TP/limit levels') and a notable when-not-to-call hint: for sl_pct/tp_pct orders the server reads the live entry itself, so the agent need not fetch first. It also spells out venue selection (explicit venue vs. searching connected exchanges) and the paper-venue case. It stops short of naming a sibling alternative for related needs, so it is not a full 5.

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.