Skip to main content
Glama

get_tag

Retrieve detailed information about specific tags from the Qiita developer community platform to identify topics, track trends, and organize content effectively.

Instructions

指定されたタグの詳細情報を取得します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagIdYesタグID

Implementation Reference

  • The handler definition for the 'get_tag' MCP tool. It uses tagIdSchema for input validation and delegates execution to the QiitaApiClient's getTag method.
    get_tag: { schema: tagIdSchema, execute: async ({ tagId }, client) => client.getTag(tagId), },
  • The MCP tool schema definition for 'get_tag', including input schema (JSON Schema equivalent to tagIdSchema) and description.
    { name: 'get_tag', description: '指定されたタグの詳細情報を取得します', inputSchema: { type: 'object', properties: { tagId: { type: 'string', description: 'タグID', }, }, required: ['tagId'], }, },
  • Zod schema used by the 'get_tag' handler (and other tag-related tools) for input validation.
    const tagIdSchema = z.object({ tagId: z.string(), });
  • The underlying Qiita API client method called by the 'get_tag' handler to fetch tag details via HTTP GET /tags/{tagId}.
    async getTag(tagId: string) { const response = await this.client.get(`/tags/${tagId}`); return response.data; }
  • src/index.ts:26-28 (registration)
    Registration of the tool list handler, which returns the tools array including 'get_tag' for MCP ListTools requests.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });

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