Skip to main content
Glama
paperinvest

Paper MCP Server

by paperinvest

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
NameRequiredDescriptionDefault
symbolYesStock symbol

Implementation Reference

  • 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;
  • 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 }; });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paperinvest/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server