Skip to main content
Glama

On-chain stock/ETF price ($0.001)

stock_price
Read-only

PAID $0.001 USDC. Use when an agent needs a current price for a major US stock or ETF (TSLA, NVDA, SPY...) from Chainlink oracle feeds read on-chain. Returns JSON Chainlink on-chain price for the ticker with 24h and 7d change.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker": "<ticker>"
    },
    "name": "stock_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesUS stock or ETF ticker that has a Chainlink on-chain feed. Format: uppercase ticker. Example: TSLA. The tool text also names NVDA, SPY, and QQQ. Required.
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / ticker / description
      Added value: +"US stock or ETF ticker that has a Chainlink on-chain feed. Format: uppercase ticker. Example: TSLA. The tool text also names NVDA, SPY, and QQQ. Required."
  2. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • removedInput schema / properties / ticker / description
      Removed value: -"US stock or ETF ticker that has a Chainlink on-chain feed. Format: uppercase ticker. Example: TSLA. The tool text also names NVDA, SPY, and QQQ. Required."
  3. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / ticker / description
      Added value: +"US stock or ETF ticker that has a Chainlink on-chain feed. Format: uppercase ticker. Example: TSLA. The tool text also names NVDA, SPY, and QQQ. Required."
  4. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • removedInput schema / properties / ticker / description
      Removed value: -"US stock or ETF ticker that has a Chainlink on-chain feed. Format: uppercase ticker. Example: TSLA. The tool text also names NVDA, SPY, and QQQ. Required."
  5. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / ticker / description
      Added value: +"US stock or ETF ticker that has a Chainlink on-chain feed. Format: uppercase ticker. Example: TSLA. The tool text also names NVDA, SPY, and QQQ. Required."
  6. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  7. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this a safe read (readOnlyHint=true, openWorldHint=false), so the lower bar applies, and the description adds real value with the $0.001 USDC cost, the Chainlink on-chain source, and the presence of 24h/7d change fields. It stops short of disclosing practical traits such as rate limits, feed availability failures, or what happens when a ticker has no feed.

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

Conciseness4/5

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

Two sentences, with the paid cost leading and the usage condition and return shape following. The only waste is mild repetition of 'Chainlink oracle feeds read on-chain' and 'JSON Chainlink on-chain price', which restates the same sourcing fact twice.

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 simple read-only single-value lookup with no output schema, the description covers source, cost, and the shape of the returned fields, and the schema carries the payment retry mechanics. What is missing is modest: behavior for unsupported tickers or stale feeds.

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%, so the schema itself documents ticker format, examples, and the api_key payment/retry flow in detail. The description adds only that the tool is paid and the ticker should be a major US stock or ETF, which is largely redundant with 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 and resource: it retrieves a current price for a major US stock or ETF, sourced from Chainlink oracle feeds read on-chain. That is far more specific than a generic quote tool, though it never names or contrasts a sibling such as price_moves, leaving the agent to infer the boundary itself.

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

Usage Guidelines4/5

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

Opens with an explicit 'Use when an agent needs a current price...' clause that gives a clear selection context, and the coverage is scoped to major US stocks/ETFs with a Chainlink feed. There is no when-not guidance and no alternative tool is named, so the agent gets context but no routing rules.

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.