market_quote
Latest price for a stock/ETF/crypto symbol. Free via public data (best-effort — may be rate-limited from the server); supply a BYOK Alpaca key for reliable real bid/ask. Returns {ok, symbol, source, price/bid/ask, change_pct}.
This record as markdown: /tools/com-wingmanprotocol-agent-gateway/market-quote.md
What market_quote does on Gateway
AI agents call market_quote to retrieve information from Gateway without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | — | your handle (for BYOK via vault) |
secret | string | — | your agent secret (for BYOK via vault) |
symbol | string | Yes | ticker, e.g. AAPL, SPY, BTC-USD |
key_ref | string | — | vault entry holding {key_id,secret} JSON (BYOK alt) |
alpaca_key_id | string | — | BYOK Alpaca key id (optional, for real bid/ask) |
alpaca_secret | string | — | BYOK Alpaca secret (optional) |
Parameters from the server's own tool schema.
Why market_quote is rated Low
market_quote retrieves public market data without creating, modifying, deleting, executing code, or moving money. While it provides financial information, it performs no financial transaction or commitment.
From the tool's definition Tool description states 'Latest price for a stock/ETF/crypto symbol' and 'Returns {ok, symbol, source, price/bid/ask, change_pct}'. This is purely a data retrieval operation with no side effects.
Risk signalsHandles credentials or secrets (secret)
Attacks that exploit this kind of access
The rule that runs market_quote safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Gateway, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For market_quote, this is the rule to start with:
market_quote is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Gateway, apply this rule, and every market_quote call is checked against it from then on.
Questions about market_quote
Latest price for a stock/ETF/crypto symbol. Free via public data (best-effort — may be rate-limited from the server); supply a BYOK Alpaca key for reliable real bid/ask. Returns {ok, symbol, source, price/bid/ask, change_pct}. It is categorised as a Read tool in the Gateway MCP Server, which means it retrieves data without modifying state.
market_quote accepts 6 parameters: handle, secret, symbol, key_ref, alpaca_key_id, alpaca_secret. Required: symbol. The full parameter table on this page comes from the server's own tool schema.
Register the Gateway MCP server in PolicyLayer and add a rule for market_quote: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Gateway. Nothing to install.
market_quote is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the market_quote rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for market_quote. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
market_quote is provided by the Gateway MCP server (https://wingmanprotocol.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Gateway, and thousands of servers like it.
This server
Across the catalogue