Skip to main content
Glama
jhliberty

Basecamp MCP Server

by jhliberty

get_question_answers

Retrieve answers to daily check-in questions using project and question IDs. Supports paginated responses for efficient data management on Basecamp projects.

Instructions

Get answers on daily check-in question

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for paginated response
project_idYesThe project ID
question_idYesThe question ID

Implementation Reference

  • src/index.ts:525-537 (registration)
    Registration of the 'get_question_answers' tool in the listTools handler, including input schema
    {
      name: 'get_question_answers',
      description: 'Get answers on daily check-in question',
      inputSchema: {
        type: 'object',
        properties: {
          project_id: { type: 'string', description: 'The project ID' },
          question_id: { type: 'string', description: 'The question ID' },
          page: { type: 'number', description: 'Page number for paginated response' },
        },
        required: ['project_id', 'question_id'],
      },
    },
  • TypeScript interface defining the structure of QuestionAnswer objects returned by the tool
    export interface QuestionAnswer {
      id: string;
      content: string;
      created_at: string;
      creator: Person;
    }
  • Core helper function in BasecampClient that performs the API call to retrieve question answers
    async getQuestionAnswers(projectId: string, questionId: string, page = 1): Promise<QuestionAnswer[]> {
      const response = await this.client.get(
        `/buckets/${projectId}/questions/${questionId}/answers.json`,
        { params: { page } }
      );
      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/jhliberty/basecamp-mcp-server'

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