Skip to main content
Glama

get_esg_scores

Retrieve ESG scores for companies to assess environmental, social, and governance performance in the Spanish stock market.

Instructions

Get ESG (Environmental, Social, Governance) scores

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdNoOptional: Company ID to filter by

Implementation Reference

  • The handler case in the CallToolRequestSchema handler that processes 'get_esg_scores' tool calls by extracting the optional companyId argument and delegating to DatabaseManager.getESGScores.
    case 'get_esg_scores': result = await this.db.getESGScores((args as any)?.companyId); break;
  • Input schema for the get_esg_scores tool, defining an optional companyId parameter.
    inputSchema: { type: 'object', properties: { companyId: { type: 'string', description: 'Optional: Company ID to filter by', }, }, },
  • src/index.ts:301-313 (registration)
    Registration of the 'get_esg_scores' tool in the ListToolsRequestSchema handler, including name, description, and input schema.
    { name: 'get_esg_scores', description: 'Get ESG (Environmental, Social, Governance) scores', inputSchema: { type: 'object', properties: { companyId: { type: 'string', description: 'Optional: Company ID to filter by', }, }, }, },
  • Implementation of getESGScores in DatabaseManager, which currently returns an empty array as ESG data is not available in the API.
    async getESGScores(companyId?: string): Promise<any[]> { return []; // ESG data not available in current worker API }

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