Skip to main content
Glama
MCP-100

Stock Market MCP Server

by MCP-100

get_market_report

Generate comprehensive US market reports and briefings using real-time stock market data and company financial insights from the Alpha Vantage API.

Instructions

Generate US market report/briefing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_market_report' tool. It fetches the current market status from the Alpha Vantage API using the MARKET_STATUS function and returns the data as a formatted JSON text content block.
    private async handleGetMarketReport() { const response = await this.axiosInstance.get('', { params: { function: 'MARKET_STATUS' } }); return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }] }; }
  • src/index.ts:67-74 (registration)
    Registration of the 'get_market_report' tool in the ListTools response, including its name, description, and input schema (no required parameters).
    { name: 'get_market_report', description: 'Generate US market report/briefing', inputSchema: { type: 'object', properties: {} } },
  • Input schema definition for the 'get_market_report' tool, specifying an empty object (no input parameters required).
    inputSchema: { type: 'object', properties: {} }
  • src/index.ts:116-117 (registration)
    Dispatch/registration in the CallToolRequest handler switch statement that routes 'get_market_report' calls to the specific handler method.
    case 'get_market_report': return await this.handleGetMarketReport();

Other Tools

Related 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/MCP-100/stock-market-server'

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