Skip to main content
Glama

Pyth Product

get-pyth-product
Read-onlyIdempotent

Pyth Product. Calls only GET /v4/oracle/pyth/products/{productAddress} and returns that response. Solana API endpoint for fetching Pyth product metadata on Solana. Get product account details, asset type, and associated price feed accounts.

Input Schema

NameRequiredDescriptionDefault
productAddressYesTyped Solana public key identifier used across request parameters and response fields. Path parameter for /v4/oracle/pyth/products/{productAddress}.

Output Schema

NameRequiredDescriptionDefault
bodyNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/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 useful scoping information — that it performs only one GET and returns that response verbatim — but says nothing about behavior on an unknown/invalid product address or rate-limit constraints. An output schema exists, so return-shape detail is not required.

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 endpoint and return-content statements are front-loaded and earn their place, but the opening 'Pyth Product.' merely restates the tool name/title and is dead weight, and the third sentence overlaps the second's description of what is returned.

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?

With a fully described single parameter, complete annotations, and an output schema that carries the return shape, the description supplies enough for correct invocation. Only edge behavior (invalid or nonexistent product address) is unstated, which is a minor gap for a read-only lookup.

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 100% and the single productAddress parameter is fully documented in the schema as a typed Solana public key and path parameter. The description only echoes that it is the path segment of the endpoint, adding no format, validation, or lookup guidance beyond the schema; 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+resource: fetches a Pyth product by address from GET /v4/oracle/pyth/products/{productAddress}, returning product account details, asset type, and associated price feed accounts. This clearly separates it from get-pyth-price and list-pyth-price-feeds, which deal with prices/feeds rather than product metadata, though it never names those siblings explicitly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance. The agent must infer from the resource name that this is the call to make when it has a product address; nothing tells it how to obtain a product address or when to prefer list-pyth-price-feeds or get-pyth-price instead.

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.