# get_positions

All open positions across all markets in the configured sub-account.

Agent View of the PolicyLayer registry record for `get_positions`. HTML page: https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-positions

## Facts

- Tool: `get_positions`
- Server: Lighter MCP (`0xdegenmo/lighter-mcp`) — https://policylayer.com/tools/0xdegenmo-lighter-mcp.md
- Homepage: https://github.com/0xDegenMo/lighter-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_positions",
    "arguments": {}
  }
}
```

## Why get_positions is rated Low

This tool retrieves and displays data about existing positions without creating, modifying, deleting, or executing any trades or state changes. It has minimal blast radius—the only risk is information disclosure if an attacker gains access, but no financial loss or irreversible action can occur through this tool alone. Classification as Read is appropriate.

From the tool's own definition: "Tool name 'get_positions' and description 'All open positions across all markets in the configured sub-account' indicate a query/retrieval operation with no side effects."

## Use case

AI agents call get_positions to retrieve information from Lighter MCP 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 Lighter MCP:

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

## Other tools on Lighter MCP (19)

- `cancel_all_orders` — Destructive — https://policylayer.com/tools/0xdegenmo-lighter-mcp/cancel-all-orders.md
- `cancel_order` — Destructive — https://policylayer.com/tools/0xdegenmo-lighter-mcp/cancel-order.md
- `close_position` — Financial — https://policylayer.com/tools/0xdegenmo-lighter-mcp/close-position.md
- `place_limit_order` — Financial — https://policylayer.com/tools/0xdegenmo-lighter-mcp/place-limit-order.md
- `place_market_order` — Financial — https://policylayer.com/tools/0xdegenmo-lighter-mcp/place-market-order.md
- `place_stop_loss` — Financial — https://policylayer.com/tools/0xdegenmo-lighter-mcp/place-stop-loss.md
- `place_take_profit` — Financial — https://policylayer.com/tools/0xdegenmo-lighter-mcp/place-take-profit.md
- `get_balance` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-balance.md
- `get_candles` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-candles.md
- `get_funding_rate` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-funding-rate.md
- `get_market` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-market.md
- `get_orderbook` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-orderbook.md
- `get_position` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-position.md
- `get_signup_info` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-signup-info.md
- `get_status` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-status.md
- `get_ticker` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/get-ticker.md
- `list_markets` — Read — https://policylayer.com/tools/0xdegenmo-lighter-mcp/list-markets.md
- `how_to_approve_integrator` — Write — https://policylayer.com/tools/0xdegenmo-lighter-mcp/how-to-approve-integrator.md
- `set_leverage` — Write — https://policylayer.com/tools/0xdegenmo-lighter-mcp/set-leverage.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=0xdegenmo-lighter-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xdegenmo-lighter-mcp
