Skip to main content
Glama

create_project_note

Add detailed notes to Autotask projects to document progress, track tasks, and maintain comprehensive project records for better team collaboration and status monitoring.

Instructions

Create a new note for a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesNote content
noteTypeNoNote type (1=General, 2=Appointment, 3=Task, 4=Ticket, 5=Project, 6=Opportunity)
projectIdYesThe project ID to add the note to
titleNoNote title

Implementation Reference

  • Defines the input schema, description, and registers the 'create_project_note' tool in the listTools() method.
    { name: 'create_project_note', description: 'Create a new note for a project', inputSchema: { type: 'object', properties: { projectId: { type: 'number', description: 'The project ID to add the note to' }, title: { type: 'string', description: 'Note title' }, description: { type: 'string', description: 'Note content' }, noteType: { type: 'number', description: 'Note type (1=General, 2=Appointment, 3=Task, 4=Ticket, 5=Project, 6=Opportunity)' } }, required: ['projectId', 'description'] } },
  • Dispatches tool arguments to AutotaskService.createProjectNote in the callTool switch statement.
    case 'create_project_note': result = await this.autotaskService.createProjectNote(args.projectId, { title: args.title, description: args.description, noteType: args.noteType }); message = `Successfully created project note with ID: ${result}`; break;
  • Core implementation: creates project note by calling AutotaskClient.notes.create with projectId and note data.
    async createProjectNote(projectId: number, note: Partial<AutotaskProjectNote>): Promise<number> { const client = await this.ensureClient(); try { this.logger.debug(`Creating project note for project ${projectId}:`, note); const noteData = { ...note, projectId: projectId }; const result = await client.notes.create(noteData as any); const noteId = (result.data as any)?.id; this.logger.info(`Project note created with ID: ${noteId}`); return noteId; } catch (error) { this.logger.error(`Failed to create project note for project ${projectId}:`, error); throw error; } }

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/asachs01/autotask-mcp'

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