Skip to main content
Glama

get_organization

Retrieve detailed information about a specific organization from Simplicate using its unique identifier to access CRM data, contact details, and project information.

Instructions

Get specific organization by ID

Input Schema

NameRequiredDescriptionDefault
organization_idYes

Input Schema (JSON Schema)

{ "properties": { "organization_id": { "type": "string" } }, "required": [ "organization_id" ], "type": "object" }

Implementation Reference

  • MCP tool handler for 'get_organization': validates input, calls SimplicateService.getOrganizationById, and returns JSON response.
    case 'get_organization': { if (!toolArgs.organization_id) { throw new Error('organization_id is required'); } const organization = await this.simplicateService.getOrganizationById( toolArgs.organization_id as string ); return { content: [ { type: 'text', text: JSON.stringify(organization, null, 2), }, ], }; }
  • Tool registration including name, description, and input schema requiring 'organization_id'.
    { name: 'get_organization', description: 'Get details of a specific organization by ID', inputSchema: { type: 'object', properties: { organization_id: { type: 'string', description: 'The ID of the organization to retrieve', }, }, required: ['organization_id'], }, },
  • Core implementation fetches organization data from Simplicate API endpoint `/crm/organization/{id}`.
    async getOrganizationById(organizationId: string): Promise<SimplicateOrganization> { const response = await this.client.get(`/crm/organization/${organizationId}`); return response.data; }
  • TypeScript interface defining the structure of an organization object.
    export interface SimplicateOrganization { id: string; name: string; coc_code?: string; email?: string; phone?: string; website?: string; relation_type?: string; }

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/daanno/simplicate-mcp'

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