Skip to main content
Glama
praveen030686

@praveen030686/data-apis-mcp

finance_stock_profile

Retrieve detailed company profiles for stocks, including sector, industry, employee count, market capitalization, P/E ratio, and business descriptions to support investment research and analysis.

Instructions

Get company profile including sector, industry, employees, market cap, P/E ratio, and business description. Costs $0.03 USDC per request via x402 on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesStock ticker (e.g., AAPL, MSFT, GOOGL)

Implementation Reference

  • The tool "finance_stock_profile" is registered and its logic implemented directly within the call to `server.registerTool`. It fetches stock profile data from the `FINANCE_API` endpoint.
    server.registerTool(
      "finance_stock_profile",
      {
        title: "Get Company Profile",
        description: `Get company profile including sector, industry, employees, market cap, P/E ratio, and business description.
    Costs $0.03 USDC per request via x402 on Base.`,
        inputSchema: {
          symbol: z.string().min(1).max(10).describe("Stock ticker (e.g., AAPL, MSFT, GOOGL)"),
        },
        annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
      },
      async ({ symbol }) => {
        const data = await apiFetch(`${FINANCE_API}/api/v1/stocks/profile/${symbol.toUpperCase()}`);
        return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
      }
    );

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/praveen030686/x402-apis-mcp-server'

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