Skip to main content
Glama

get-notice-counts

Retrieve notification counts from note.com to monitor user alerts and activity updates through the MCP server.

Instructions

通知件数を取得する

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'get-notice-counts' tool. It makes an API request to `/v3/notice_counts` to retrieve notice counts, formats the response, and handles any errors gracefully.
    async () => { try { const data = await noteApiRequest(`/v3/notice_counts`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "通知件数取得"); } }
  • Registers the 'get-notice-counts' tool on the MCP server with name, Japanese description, empty input schema (no parameters), and inline handler function.
    server.tool( "get-notice-counts", "通知件数を取得する", {}, async () => { try { const data = await noteApiRequest(`/v3/notice_counts`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "通知件数取得"); } } );
  • Input schema for the tool: empty object, indicating no parameters are required.
    {},

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