Skip to main content
Glama

get_all_companies

Retrieve all IBEX 35 companies with current stock prices and key financial metrics for Spanish stock market analysis.

Instructions

Get all IBEX 35 companies with current prices and key metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function that fetches all IBEX 35 companies data from the API endpoint '/api/companies' and returns the data array.
    async getAllCompanies(): Promise<any[]> { const data = await this.fetchAPI('/api/companies'); return data.data || []; }
  • src/index.ts:577-579 (registration)
    Tool handler registration in the CallToolRequestSchema switch statement, delegating execution to DatabaseManager.getAllCompanies().
    case 'get_all_companies': result = await this.db.getAllCompanies(); break;
  • Tool schema definition registered in ListToolsRequestSchema, specifying name, description, and empty input schema (no parameters required).
    name: 'get_all_companies', description: 'Get all IBEX 35 companies with current prices and key metrics', inputSchema: { type: 'object', properties: {}, }, },

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

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