get_quote
Retrieve real-time stock quotes for a specified symbol using Paper MCP Server, enabling efficient access to market data for informed trading decisions.
Instructions
Get real-time quote for a symbol
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol |
Implementation Reference
- src/index.ts:492-494 (handler)The handler for the 'get_quote' tool. It makes an authenticated API request to retrieve real-time quote data for the specified stock symbol.case 'get_quote': response = await api.get(`/market-data/quote/${args.symbol}`); break;
- src/index.ts:296-305 (schema)Tool metadata including name, description, and input schema validation for the 'get_quote' tool.name: 'get_quote', description: 'Get real-time quote for a symbol', inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Stock symbol' } }, required: ['symbol'] } },
- src/index.ts:388-392 (registration)Registers the 'get_quote' tool (along with others) with the MCP server by including it in the tools list returned for ListTools requests.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });