Skip to main content
Glama

get_project

Retrieve detailed project information from Simplicate using a project ID to access CRM data, timesheets, and invoice records for business management.

Instructions

Get details of a specific project by ID

Input Schema

NameRequiredDescriptionDefault
project_idYesProject ID

Input Schema (JSON Schema)

{ "properties": { "project_id": { "description": "Project ID", "type": "string" } }, "required": [ "project_id" ], "type": "object" }

Implementation Reference

  • MCP tool handler for 'get_project': validates project_id input, fetches project using SimplicateService, returns JSON stringified response.
    case 'get_project': { if (!toolArgs.project_id) { throw new Error('project_id is required'); } const project = await this.simplicateService.getProjectById( toolArgs.project_id as string ); return { content: [ { type: 'text', text: JSON.stringify(project, null, 2), }, ], }; }
  • Registration of the 'get_project' tool in ListToolsRequestHandler, including name, description, and input schema.
    { name: 'get_project', description: 'Get details of a specific project by ID', inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'The ID of the project to retrieve', }, }, required: ['project_id'], }, },
  • TypeScript interface defining the structure of project data returned by getProjectById.
    export interface SimplicateProject { id: string; name: string; project_number: string; organization?: { id: string; name: string; }; project_manager?: { id: string; name: string; }; start_date?: string; end_date?: string; budget?: number; status?: string; }
  • Implementation of getProjectById in SimplicateService: makes API call to fetch single project by ID.
    async getProjectById(projectId: string): Promise<SimplicateProject> { const response = await this.client.get(`/projects/project/${projectId}`); return response.data; }

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