Skip to main content
Glama

Pyth Current Price

get-pyth-price
Read-onlyIdempotent

Pyth Current Price. Calls only GET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price and returns that response. Solana API endpoint for fetching the current Pyth oracle price for any price feed on Solana. Returns price, confidence interval, and EMAP data in real-time.

Input Schema

NameRequiredDescriptionDefault
priceFeedAddressYesTyped Solana public key identifier used across request parameters and response fields. Path parameter for /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price.

Output Schema

NameRequiredDescriptionDefault
bodyNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond that: it pins the exact endpoint called and names the payload contents (price, confidence interval, EMAP), which tells the agent what kind of live read this is.

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 opening "Pyth Current Price." merely echoes the title, and the second and third sentences repeat the same claim (current Pyth price for any feed on Solana) in two forms. The useful content is front-loaded, but a third of the text is redundant.

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 single-parameter read tool with rich annotations and a present output schema, the description needn't explain return values, and it does state scope and data returned. The remaining gap is operational: nothing about invalid/missing price feed behavior or how to discover a valid feed address.

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 the single parameter is fully documented in the schema as a Solana public key path parameter. The description only restates the route containing the parameter, adding no format, validation, or sourcing detail beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource: fetching the current Pyth oracle price for a given price feed on Solana, with the exact upstream route. The word "current"/"real-time" implicitly separates it from siblings get-pyth-price-history and get-pyth-price-candles, but no sibling is named explicitly.

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?

Usage is only implied by the phrase "current Pyth oracle price for any price feed." There is no explicit statement of when to choose this over get-pyth-price-history, get-pyth-price-candles, or get-pyth-product, and no guidance that list-pyth-price-feeds is how you obtain a priceFeedAddress.

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.