Skip to main content
Glama

follow_user

Follow a specific user on Qiita to track their technical articles and updates. Use this tool to stay informed about developers' content by providing their user ID.

Instructions

指定されたユーザーをフォローします

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYesユーザーID

Implementation Reference

  • Handler definition for the 'follow_user' tool that executes by calling the QiitaApiClient's followUser method.
    follow_user: { schema: userIdSchema, execute: async ({ userId }, client) => client.followUser(userId), },
  • MCP tool registration entry for 'follow_user', listed in the tools array for listTools handler.
    { name: 'follow_user', description: '指定されたユーザーをフォローします', inputSchema: { type: 'object', properties: { userId: { type: 'string', description: 'ユーザーID', }, }, required: ['userId'], }, },
  • Zod input validation schema for userId parameter used in the follow_user handler.
    const userIdSchema = z.object({ userId: z.string(), });
  • QiitaApiClient helper method that performs the actual API call to follow a user.
    async followUser(userId: string) { this.assertAuthenticated(); await this.client.put(`/users/${userId}/following`); return { success: true }; }

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/Selenium39/mcp-server-qiita'

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