Skip to main content
Glama

get-hashtag

Retrieve detailed information about hashtags from note.com, including usage statistics and related content, to analyze trends and discover relevant articles.

Instructions

ハッシュタグの詳細を取得する

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagYesハッシュタグ名

Implementation Reference

  • Handler function for the 'get-hashtag' tool. It takes a 'tag' parameter, makes an API request to fetch hashtag details from `/v2/hashtags/${tag}`, and returns the data or handles errors.
    async ({ tag }) => { try { const data = await noteApiRequest(`/v2/hashtags/${encodeURIComponent(tag)}`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "ハッシュタグ詳細取得"); } }
  • Zod input schema for the 'get-hashtag' tool, defining a required 'tag' string parameter.
    { tag: z.string().describe("ハッシュタグ名") },
  • Registration of the 'get-hashtag' MCP tool, including name, Japanese description, input schema, and inline handler function.
    server.tool( "get-hashtag", "ハッシュタグの詳細を取得する", { tag: z.string().describe("ハッシュタグ名") }, async ({ tag }) => { try { const data = await noteApiRequest(`/v2/hashtags/${encodeURIComponent(tag)}`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(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/shimayuz/note-com-mcp'

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