Skip to main content
Glama
get_stock_price.py617 B
from mcp.types import Tool from server.backend.data_store import get_stock_price def get_stock_price_tool(): return Tool( name="get_stock_price", description="Get real stock market price data", inputSchema={ "type": "object", "properties": { "symbol": { "type": "string", "description": "Stock symbol (e.g., AAPL, TSLA)" } }, "required": ["symbol"] } ) async def run_get_stock_price(arguments: dict): return await get_stock_price(arguments["symbol"])

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/sushma9903/mcp-server'

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