# get_long_short_ratio

Get long/short ratio (account ratio).

Agent View of the PolicyLayer registry record for `get_long_short_ratio`. HTML page: https://policylayer.com/tools/johnnywic-bybit-mcp/get-long-short-ratio

## Facts

- Tool: `get_long_short_ratio`
- Server: Bybit (`johnnywic/bybit-mcp`) — https://policylayer.com/tools/johnnywic-bybit-mcp.md
- Homepage: https://github.com/JohnnyWic/bybit-mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_long_short_ratio",
    "arguments": {}
  }
}
```

## Why get_long_short_ratio is rated Low

This tool queries existing account metrics (long/short ratio) and returns informational data. There are no side effects, no code execution, no financial transactions, and no data modification. It poses minimal risk as misuse would only expose market sentiment information already accessible to the account holder.

From the tool's own definition: "get_long_short_ratio retrieves account ratio data without modifying or executing any operations. The verb 'get' and lack of any mutation language (create, update, delete, execute) clearly indicate a data retrieval function."

## Use case

AI agents call get_long_short_ratio to retrieve information from Bybit without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Bybit:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_long_short_ratio": {}
  }
}
```

## Other tools on Bybit (244)

- `batch_cancel_order` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/batch-cancel-order.md
- `cancel_all_orders` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-orders.md
- `cancel_all_rfq_quotes` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-rfq-quotes.md
- `cancel_all_rfqs` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-rfqs.md
- `cancel_all_spread_orders` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-spread-orders.md
- `cancel_new_crypto_loan_fixed_borrow` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-new-crypto-loan-fixed-borrow.md
- `cancel_new_crypto_loan_fixed_supply` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-new-crypto-loan-fixed-supply.md
- `cancel_order` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-order.md
- `cancel_rfq` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-rfq.md
- `cancel_rfq_quote` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-rfq-quote.md
- `cancel_spread_order` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-spread-order.md
- `cancel_withdrawal` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-withdrawal.md
- `delete_master_api_key` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/delete-master-api-key.md
- `delete_sub_api_key` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/delete-sub-api-key.md
- `delete_sub_uid` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/delete-sub-uid.md
- `execute_hedge_arbitrage_strategy` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/execute-hedge-arbitrage-strategy.md
- `freeze_sub_uid` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/freeze-sub-uid.md
- `pre_check_order` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/pre-check-order.md
- `reset_mmp` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/reset-mmp.md
- `set_leverage` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/set-leverage.md
- `accept_rfq_non_lp_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/accept-rfq-non-lp-quote.md
- `amend_order` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/amend-order.md
- `batch_place_order` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/batch-place-order.md
- `confirm_convert_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/confirm-convert-quote.md
- `confirm_fiat_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/confirm-fiat-quote.md
- `confirm_small_balance_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/confirm-small-balance-quote.md
- `create_internal_transfer` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/create-internal-transfer.md
- `create_rfq_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/create-rfq-quote.md
- `create_universal_transfer` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/create-universal-transfer.md
- `crypto_loan_adjust_ltv` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/crypto-loan-adjust-ltv.md
- …and 214 more: https://policylayer.com/tools/johnnywic-bybit-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=johnnywic-bybit-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/johnnywic-bybit-mcp
