Skip to main content
Glama

Get Ohlcv

get_ohlcv
Read-onlyIdempotent

OHLCV price candles for a Solana liquidity pool (1-minute to 1-year buckets, cursor-paged). Announced by Solscan 2026-10-07; Pipeworx has not been able to verify the exact response shape because this is a Pro-tier-only endpoint and Pipeworx has no Pro-tier key, pass whatever extra query parameters Solscan's own docs specify via extra_params if the named fields below are not enough. Pro tier, requires your own Solscan API key (Pipeworx's platform key is Free tier and cannot call this).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "time_bucket": "1D",
      "pool_address": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"
    },
    "name": "get_ohlcv"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor from a previous response
time_toNoUnix timestamp (seconds), end of range
time_fromNoUnix timestamp (seconds), start of range
time_bucketNoCandle size, e.g. "1m", "1H", "1D", "1W", Solscan supports 1 minute to 1 year.
extra_paramsNoAny additional query parameters Solscan's docs name that are not covered above, forwarded verbatim.
pool_addressYesSolana liquidity pool address (base58)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / extra_params / description
      Previous value: -"Any additional query parameters Solscan's docs name that are not covered above — forwarded verbatim."New value: +"Any additional query parameters Solscan's docs name that are not covered above, forwarded verbatim."
    • changedInput schema / properties / time_bucket / description
      Previous value: -"Candle size, e.g. \"1m\", \"1H\", \"1D\", \"1W\" — Solscan supports 1 minute to 1 year."New value: +"Candle size, e.g. \"1m\", \"1H\", \"1D\", \"1W\", Solscan supports 1 minute to 1 year."
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, open-world read, so the description's added value is in operational caveats: an auth/tier gate the agent must satisfy before calling, cursor paging, and an explicit admission that the response shape is unverified. That last disclosure is unusually honest and prevents the agent from assuming a schema. It stops short of rate limits or error behavior.

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

Conciseness3/5

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

The core purpose is front-loaded, which is good, but the body is a single run-on semicolon chain mixing announcement metadata ("Announced by Solscan 2026-10-07") with operational caveats and an internal tooling limitation. The date and the internal Pipeworx key situation could be trimmed without losing anything the calling agent needs.

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

Completeness4/5

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

For a six-parameter read tool with no output schema, the description covers the essentials: what it returns conceptually, the auth gate, paging, and how to handle undocumented parameters. The explicitly unverified response shape is flagged rather than hidden, which is the correct handling for an endpoint the vendor cannot test.

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% and every parameter, including extra_params, already carries its own description, so the baseline is 3. The description reinforces the time_bucket range and the escape-hatch purpose of extra_params, but adds no syntax or format detail beyond the schema.

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?

"OHLCV price candles for a Solana liquidity pool" is a specific verb+resource statement, and the parenthetical adds bucket granularity and pagination mode. It does not name or contrast any sibling, but the resource (OHLCV candles) is distinct enough from get_dex_activity and get_token_meta that mis-selection is unlikely.

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

Usage Guidelines3/5

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

The description gives hard preconditions rather than use-case routing: it states the endpoint is Pro-tier-only and that the caller must supply their own Solscan API key because the platform key is Free tier. That is genuinely actionable, but it never says when to prefer this over alternative data sources for pool price history.

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.