Skip to main content
Glama

company_details

Retrieve detailed information about portfolio management companies, including their funds, using the FonParam MCP server. Ideal for accessing and analyzing company-specific data and fund details in Turkey.

Instructions

Portföy yönetim şirketi detaylarını getirir

Input Schema

NameRequiredDescriptionDefault
codeYesŞirket kodu
include_fundsNoŞirketin fonlarını da getir (varsayılan: true)

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "Şirket kodu", "type": "string" }, "include_funds": { "description": "Şirketin fonlarını da getir (varsayılan: true)", "type": "boolean" } }, "required": [ "code" ], "type": "object" }

Implementation Reference

  • Handler for the 'company_details' tool: parses input arguments using CompanyDetailsSchema and delegates to apiClient.getCompanyDetails
    case 'ompany_details': const companyParams = CompanyDetailsSchema.parse(args); return await this.apiClient.getCompanyDetails(companyParams.code, companyParams.include_funds);
  • Zod schema used for input validation of the company_details tool
    const CompanyDetailsSchema = z.object({ code: z.string(), include_funds: z.boolean().optional() });
  • src/tools.ts:305-322 (registration)
    Tool registration in getTools(): defines name, description, and inputSchema for company_details
    { name: 'company_details', description: 'Portföy yönetim şirketi detaylarını getirir', inputSchema: { type: 'object', properties: { code: { type: 'string', description: 'Şirket kodu' }, include_funds: { type: 'boolean', description: 'Şirketin fonlarını da getir (varsayılan: true)' } }, required: ['code'] } },
  • API client helper method that performs the HTTP request to fetch company details
    async getCompanyDetails(code: string, includeFunds: boolean = true): Promise<CompanyDetails> { const params = { include_funds: includeFunds }; const response: AxiosResponse<CompanyDetails> = await this.client.get(`/companies/${code}`, { params }); return response.data; }
  • TypeScript interface defining the structure of CompanyDetails response
    export interface CompanyDetails { company: FundManagementCompany; stats?: CompanyStatistics; }

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/kemalersin/fonparam-mcp'

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