Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getLPPayTokenPrice

Read-only

Get current USD prices for payment tokens in a single batch request. Use it to calculate the USD value of stakes or display token prices to users before confirming.

Instructions

Query current USD prices for one or more payment tokens. Supports batch queries to get multiple token prices in a single request.

Use this to calculate USD value of stake amounts or show price info to users.

Agent hint: Use this endpoint to get token prices for calculating stake values in USD. Can query multiple tokens at once by passing an array of tokenCode values. Useful for showing users the USD value of their stake before confirming.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainCodeNo
tokenCodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.11

TDQS

A3.6/5.0
Behavior4/5

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

The readOnlyHint and openWorldHint annotations already cover safety and open-world nature. The description adds useful behavioral detail beyond annotations: batch query support, one-or-more tokens, and 'current' price semantics. It does not explain response structure or potential staleness, but it provides reasonable transparency for a read-only price query.

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

Conciseness2/5

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

The opening sentences are strong, but the description repeats the same use-case multiple times: 'Use this to calculate...', 'Agent hint: Use this endpoint to get token prices for calculating...', and 'Useful for showing users...' are near-duplicates. Several sentences do not earn their place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only price query, the description is mostly adequate, but it omits any explanation of chainCode and does not describe the expected response shape. Since there is no output schema and no parameter descriptions, the omission leaves an agent with incomplete information for edge cases.

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 clarify that tokenCode is an array and can hold multiple token values. However, chainCode is completely unexplained, leaving an optional parameter without semantic guidance.

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?

The description clearly states a specific action ('Query current USD prices') and resource ('payment tokens'). It does not explicitly contrast itself with siblings like getBizTokenPriceList or getPredictionTokenPrice, but the resource and output are specific enough to avoid major ambiguity.

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?

It gives clear usage context: calculating USD value of stake amounts or showing price info to users. It does not name alternatives or when not to use this tool, but the primary use case is explicit and actionable.

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

Install Server

Other Tools