Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_market_stock_quote

Read-onlyIdempotent

Read current provider-returned stock quote with timestamp and OHLC values from customer-keyed Finnhub. Not guaranteed exchange-realtime. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "symbol": "<symbol>"
    },
    "name": "api_market_stock_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesFinnhub market symbol, e.g. AAPL; requires X-Provider-Key header

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive semantics, and the description adds genuinely new behavior: a per-call price of 0.01 USDC on Base x402, required X-Provider-Key credentials, and a data-freshness disclaimer. It stops short of describing failure/payment-failure handling or response shape details beyond field names.

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

Conciseness5/5

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

Three tight sentences: capability first, then the freshness caveat, then cost and auth. Every clause carries distinct information with no repetition or filler.

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

Completeness5/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 no output schema, the description covers payload contents (timestamp and OHLC), data-quality limits, monetary cost, and credential requirements. Nothing an agent needs before calling it is missing.

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 'symbol' parameter is already documented as a Finnhub market symbol with an example. The description only restates the X-Provider-Key header requirement, adding little meaning beyond the schema, so the baseline of 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 ('Read current ... stock quote') and names the data fields returned (timestamp, OHLC) plus the upstream provider (Finnhub). It is clearly distinguishable from the surrounding finance-adjacent siblings such as api_wallet_intelligence or api_market_radar, though it never explicitly says so.

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 line 'Not guaranteed exchange-realtime' gives an implied usage boundary (don't rely on it for real-time trading), but there is no explicit when-to-use/when-not framing or named alternative for exchange-grade quotes. Usage is inferred rather than directed.

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.

Resources