Skip to main content
Glama

remove-magazine-note

Remove articles from magazines on note.com by specifying magazine and note IDs to manage content organization.

Instructions

マガジンから記事を削除する

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
magazineIdYes
noteIdYes

Implementation Reference

  • Executes the tool logic: checks authentication, sends DELETE API request to remove note from magazine, returns formatted success or error response.
    async ({ magazineId, noteId }) => { try { if (!hasAuth()) { return createAuthErrorResponse(); } const data = await noteApiRequest(`/v1/our/magazines/${magazineId}/notes/${noteId}`, "DELETE", null, true); return createSuccessResponse({ message: "マガジンから記事を削除しました", data: data }); } catch (error) { return handleApiError(error, "マガジンからの記事削除"); } }
  • Input schema validation using Zod for required string parameters magazineId and noteId.
    { magazineId: z.string().describe("マガジンID"), noteId: z.string().describe("記事ID") },
  • Registers the remove-magazine-note tool with the MCP server, specifying name, Japanese description, input schema, and handler function.
    server.tool( "remove-magazine-note", "マガジンから記事を削除する", { magazineId: z.string().describe("マガジンID"), noteId: z.string().describe("記事ID") }, async ({ magazineId, noteId }) => { try { if (!hasAuth()) { return createAuthErrorResponse(); } const data = await noteApiRequest(`/v1/our/magazines/${magazineId}/notes/${noteId}`, "DELETE", null, true); return createSuccessResponse({ message: "マガジンから記事を削除しました", data: data }); } catch (error) { return handleApiError(error, "マガジンからの記事削除"); } } );
  • Calls registerMagazineTools as part of registering all tools, indirectly registering the remove-magazine-note tool.
    registerMagazineTools(server);

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