Skip to main content
Glama

is_tag_followed

Check if you are following a specific tag on Qiita to manage your developer community interests and stay updated on relevant topics.

Instructions

指定されたタグをフォローしているかどうかを確認します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagIdYesタグID

Implementation Reference

  • The MCP tool handler for 'is_tag_followed'. It validates input with Zod schema and delegates execution to QiitaApiClient.isTagFollowed(tagId).
    is_tag_followed: { schema: tagIdSchema, execute: async ({ tagId }, client) => client.isTagFollowed(tagId), },
  • The input schema definition for the 'is_tag_followed' tool as per MCP Tool specification.
    { name: 'is_tag_followed', description: '指定されたタグをフォローしているかどうかを確認します', inputSchema: { type: 'object', properties: { tagId: { type: 'string', description: 'タグID', }, }, required: ['tagId'], }, },
  • The core helper function in QiitaApiClient that implements the logic: checks if the authenticated user follows the tag by GET /tags/{tagId}/following (404 means not followed).
    async isTagFollowed(tagId: string) { this.assertAuthenticated(); try { await this.client.get(`/tags/${tagId}/following`); return { following: true }; } catch (error: any) { if (error.response?.status === 404) { return { following: false }; } throw error; } }

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