Skip to main content
Glama
dragosroua

addTaskManager MCP Server

by dragosroua

assess_create_context

Create a new context in the Assess realm for organizing tasks and projects within the ADD framework, enabling structured task management.

Instructions

Create a new context in Assess realm.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNameYesContext name (max 30 chars)

Implementation Reference

  • src/index.ts:318-328 (registration)
    Tool registration in the ListToolsRequestSchema handler, including name, description, and input schema.
    {
      name: 'assess_create_context',
      description: 'Create a new context in Assess realm.',
      inputSchema: {
        type: 'object',
        properties: {
          contextName: { type: 'string', description: 'Context name (max 30 chars)' }
        },
        required: ['contextName']
      }
    },
  • src/index.ts:680-682 (registration)
    Tool registration in the CallToolRequestSchema switch statement, dispatching to the createContext handler.
    case 'assess_create_context':
      this.validateArgs(args, ['contextName']);
      return await this.createContext(args.contextName);
  • The main handler function that implements the tool logic. Generates a unique mock CloudKit recordName and returns a success response.
    private async createContext(contextName: string) {
      const recordName = `context_${uuidv4()}`;
      // Mock context creation via CloudKit
      return { content: [{ type: 'text', text: `Context "${contextName}" created with recordName: ${recordName}` }] };
    }
  • TypeScript interface defining the structure of a ZenTaskticContext record, used for CloudKit data modeling.
    interface ZenTaskticContext {
      recordName?: string;
      recordType: 'Contexts';
      fields: {
        contextName: { value: string }; // Max 30 chars, min 1
        uniqueId: { value: string }; // UUID
        lastModified: { value: number }; // Timestamp
        
        // References (relationships in Core Data)
        projects?: { value: CKReference[] }; // List of references to Project records
        tasks?: { value: CKReference[] }; // List of references to Task records
      };
    }

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/dragosroua/addtaskmanager-mcp-server'

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