Skip to main content
Glama
hichana

Goal Story MCP Server

by hichana

goalstory_update_step_notes

Add context, insights, or reflections in markdown format to capture valuable information from discussions about goal progress.

Instructions

Update step notes with additional context, insights, or reflections in markdown format. Use this to capture valuable information from discussions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUnique identifier of the step to update.
notesYesAdditional context, insights, or reflections in markdown format.

Implementation Reference

  • Handler function that makes a PATCH request to the API endpoint `/step/notes/${id}` to update the step's notes with the provided content.
    async (args) => { const url = `${GOALSTORY_API_BASE_URL}/step/notes/${args.id}`; const body = { id: args.id, notes: args.notes, }; const result = await doRequest(url, "PATCH", body); return { content: [ { type: "text", text: `Step notes updated:\n${JSON.stringify(result, null, 2)}`, }, ], isError: false, }; },
  • src/index.ts:587-608 (registration)
    MCP server.tool registration for the 'goalstory_update_step_notes' tool, referencing the tool definition from tools.ts.
    server.tool( UPDATE_STEP_NOTES_TOOL.name, UPDATE_STEP_NOTES_TOOL.description, UPDATE_STEP_NOTES_TOOL.inputSchema.shape, async (args) => { const url = `${GOALSTORY_API_BASE_URL}/step/notes/${args.id}`; const body = { id: args.id, notes: args.notes, }; const result = await doRequest(url, "PATCH", body); return { content: [ { type: "text", text: `Step notes updated:\n${JSON.stringify(result, null, 2)}`, }, ], isError: false, }; }, );
  • Tool definition object including name, description, and Zod inputSchema for validation.
    export const UPDATE_STEP_NOTES_TOOL = { name: "goalstory_update_step_notes", description: "Update step notes with additional context, insights, or reflections in markdown format. Use this to capture valuable information from discussions.", inputSchema: z.object({ id: z.string().describe("Unique identifier of the step to update."), notes: z .string() .describe( "Additional context, insights, or reflections in markdown format.", ), }), };
  • TypeScript interface defining the input shape for the tool.
    export interface GoalstoryUpdateStepNotesInput { id: string; notes: string; }

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/hichana/goalstory-mcp'

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