Skip to main content
Glama
ThinkFar

Clear Thought Server

collaborativereasoning

Simulate expert collaboration to tackle complex problems by coordinating multiple perspectives and integrating diverse viewpoints for structured reasoning.

Instructions

A detailed tool for simulating expert collaboration with diverse perspectives. This tool helps models tackle complex problems by coordinating multiple viewpoints. It provides a framework for structured collaborative reasoning and perspective integration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYes
personasYes
contributionsYes
stageYes
activePersonaIdYes
nextPersonaIdNo
consensusPointsNo
disagreementsNo
keyInsightsNo
openQuestionsNo
finalRecommendationNo
sessionIdYesUnique identifier for this collaboration session
iterationYesCurrent iteration of the collaboration
suggestedContributionTypesNo
nextContributionNeededYesWhether another contribution is needed

Implementation Reference

  • The main handler method processCollaborativeReasoning that validates the input using validateInputData, formats the output for console logging, and returns the validated data. This executes the core tool logic.
    public processCollaborativeReasoning(input: unknown): CollaborativeReasoningData {
      const validatedData = this.validateInputData(input);
      
      // Log formatted output to console
      const formattedOutput = this.formatOutput(validatedData);
      console.error(formattedOutput);
      
      return validatedData;
    }
  • Defines the MCP Tool object for 'collaborativereasoning' including name, description, and comprehensive inputSchema for validation of collaborative reasoning data.
    const COLLABORATIVE_REASONING_TOOL: Tool = {
        name: "collaborativereasoning",
        description: `A detailed tool for simulating expert collaboration with diverse perspectives.
    This tool helps models tackle complex problems by coordinating multiple viewpoints.
    It provides a framework for structured collaborative reasoning and perspective integration.`,
        inputSchema: {
            type: "object",
            properties: {
                topic: { type: "string" },
                personas: {
                    type: "array",
                    items: {
                        type: "object",
                        properties: {
                            id: { type: "string" },
                            name: { type: "string" },
                            expertise: { type: "array", items: { type: "string" } },
                            background: { type: "string" },
                            perspective: { type: "string" },
                            biases: { type: "array", items: { type: "string" } },
                            communication: {
                                type: "object",
                                properties: {
                                    style: { type: "string" },
                                    tone: { type: "string" },
                                },
                                required: ["style", "tone"],
                            },
                        },
                        required: [
                            "id",
                            "name",
                            "expertise",
                            "background",
                            "perspective",
                            "biases",
                            "communication",
                        ],
                    },
                },
                contributions: {
                    type: "array",
                    items: {
                        type: "object",
                        properties: {
                            personaId: { type: "string" },
                            content: { type: "string" },
                            type: {
                                type: "string",
                                enum: [
                                    "observation",
                                    "question",
                                    "insight",
                                    "concern",
                                    "suggestion",
                                    "challenge",
                                    "synthesis",
                                ],
                            },
                            confidence: { type: "number", minimum: 0, maximum: 1 },
                            referenceIds: {
                                type: "array",
                                items: { type: "string" },
                            },
                        },
                        required: ["personaId", "content", "type", "confidence"],
                    },
                },
                stage: {
                    type: "string",
                    enum: [
                        "problem-definition",
                        "ideation",
                        "critique",
                        "integration",
                        "decision",
                        "reflection",
                    ],
                },
                activePersonaId: { type: "string" },
                nextPersonaId: { type: "string" },
                consensusPoints: { type: "array", items: { type: "string" } },
                disagreements: {
                    type: "array",
                    items: {
                        type: "object",
                        properties: {
                            topic: { type: "string" },
                            positions: {
                                type: "array",
                                items: {
                                    type: "object",
                                    properties: {
                                        personaId: { type: "string" },
                                        position: { type: "string" },
                                        arguments: {
                                            type: "array",
                                            items: { type: "string" },
                                        },
                                    },
                                    required: [
                                        "personaId",
                                        "position",
                                        "arguments",
                                    ],
                                },
                            },
                        },
                        required: ["topic", "positions"],
                    },
                },
                keyInsights: { type: "array", items: { type: "string" } },
                openQuestions: { type: "array", items: { type: "string" } },
                finalRecommendation: { type: "string" },
                sessionId: {
                    type: "string",
                    description: "Unique identifier for this collaboration session",
                },
                iteration: {
                    type: "number",
                    minimum: 0,
                    description: "Current iteration of the collaboration",
                },
                suggestedContributionTypes: {
                    type: "array",
                    items: {
                        type: "string",
                        enum: [
                            "observation",
                            "question",
                            "insight",
                            "concern",
                            "suggestion",
                            "challenge",
                            "synthesis",
                        ],
                    },
                },
                nextContributionNeeded: {
                    type: "boolean",
                    description: "Whether another contribution is needed",
                },
            },
            required: [
                "topic",
                "personas",
                "contributions",
                "stage",
                "activePersonaId",
                "sessionId",
                "iteration",
                "nextContributionNeeded",
            ],
        },
    };
  • src/index.ts:1003-1003 (registration)
    Registers the collaborative reasoning tool in the MCP server's capabilities.tools dictionary.
    collaborativereasoning: COLLABORATIVE_REASONING_TOOL,
  • src/index.ts:1096-1108 (registration)
    Registers the handler dispatch in the CallToolRequestSchema switch statement, calling the processCollaborativeReasoning method.
    case "collaborativereasoning": {
        const result =
            collaborativeReasoningServer.processCollaborativeReasoning(
                request.params.arguments
            );
        return {
            content: [
                {
                    type: "text",
                    text: JSON.stringify(result, null, 2),
                },
            ],
        };
  • TypeScript interface defining the structure of CollaborativeReasoningData used for typing in the handler.
    export interface CollaborativeReasoningData {
        topic: string;
        personas: PersonaData[];
        contributions: ContributionData[];
        stage:
            | "problem-definition"
            | "ideation"
            | "critique"
            | "integration"
            | "decision"
            | "reflection";
        activePersonaId: string;
        nextPersonaId?: string;
        consensusPoints?: string[];
        disagreements?: DisagreementData[];
        keyInsights?: string[];
        openQuestions?: string[];
        finalRecommendation?: string;
        sessionId: string;
        iteration: number;
        suggestedContributionTypes?: (
            | "observation"
            | "question"
            | "insight"
            | "concern"
            | "suggestion"
            | "challenge"
            | "synthesis"
        )[];
        nextContributionNeeded: boolean;
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the tool's function as a simulation framework but lacks details on operational traits: it doesn't mention if it's stateful (e.g., requires session management), has side effects, involves iterative processes, or handles errors. For a complex tool with 15 parameters, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately concise with three sentences that are front-loaded: the first sentence introduces the core purpose, followed by supporting details. There's no unnecessary repetition or fluff, making it efficient, though it could be more structured with bullet points or clearer sections given the complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the high complexity (15 parameters, nested structures), lack of annotations, and no output schema, the description is incomplete. It doesn't address how the tool behaves, what it returns, or detailed usage scenarios. For a sophisticated simulation tool, this leaves critical gaps in understanding its full context and operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is low at 20%, with only a few parameters like 'sessionId' and 'iteration' having descriptions. The tool description adds no specific meaning about parameters beyond the general context of collaboration. It doesn't explain how parameters like 'personas' or 'contributions' should be structured or used, leaving most semantics undocumented. This meets the baseline for minimal compensation given the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool is for 'simulating expert collaboration with diverse perspectives' and 'tackling complex problems by coordinating multiple viewpoints,' which gives a general purpose. However, it's vague about the specific action (e.g., whether it initiates, continues, or summarizes collaboration) and doesn't clearly distinguish it from sibling tools like 'structuredargumentation' or 'decisionframework,' which might overlap in problem-solving contexts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance is provided on when to use this tool versus alternatives. The description mentions 'complex problems' and 'structured collaborative reasoning,' but it doesn't specify prerequisites, exclusions, or compare it to siblings such as 'sequentialthinking' or 'metacognitivemonitoring.' This leaves the agent without clear direction for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/ThinkFar/clear-thought-mcp'

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