Skip to main content
Glama

is_tag_followed

Check if you follow a specific tag on Qiita to manage your developer community interests and content discovery.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagIdYesタグID

Implementation Reference

  • The core handler function that checks if the authenticated user follows a given tag by making a GET request to Qiita API's /tags/{tagId}/following endpoint. Returns { following: true } on success or { following: false } on 404 error.
    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; } }
  • JSON schema definition for the 'is_tag_followed' tool, specifying the input parameter 'tagId' as a required string.
    { name: 'is_tag_followed', description: '指定されたタグをフォローしているかどうかを確認します', inputSchema: { type: 'object', properties: { tagId: { type: 'string', description: 'タグID', }, }, required: ['tagId'], }, },
  • Registration of the 'is_tag_followed' tool handler, using Zod schema for input validation and delegating to QiitaApiClient's isTagFollowed method.
    is_tag_followed: { schema: tagIdSchema, execute: async ({ tagId }, client) => client.isTagFollowed(tagId), },

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