Skip to main content
Glama
bigjeager

Bear App MCP Server

by bigjeager

bear_delete_tag

Remove tags from Bear notes to organize content. This tool deletes specified tags to maintain a clean tagging system.

Instructions

Delete an existing tag

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesTag name to delete
show_windowNoShow Bear window

Implementation Reference

  • The main handler function for the 'bear_delete_tag' tool. It constructs a Bear x-callback URL for the 'delete-tag' action with the provided tag name and optional show_window parameter, executes the URL, and returns a success message.
    private async deleteTag(args: any) { const params: Record<string, string | boolean> = { name: args.name }; if (args.show_window) params.show_window = "yes"; const url = this.buildBearURL("delete-tag", params); await this.executeURL(url); return { content: [ { type: "text", text: `Deleted tag: ${args.name}` } ] }; }
  • The input schema definition for the 'bear_delete_tag' tool, specifying required 'name' parameter and optional 'show_window'.
    inputSchema: { type: "object", properties: { name: { type: "string", description: "Tag name to delete" }, show_window: { type: "boolean", description: "Show Bear window" } }, required: ["name"] }
  • src/index.ts:678-695 (registration)
    Registration of the 'bear_delete_tag' tool in the ListTools response, including name, description, and input schema.
    { name: "bear_delete_tag", description: "Delete an existing tag", inputSchema: { type: "object", properties: { name: { type: "string", description: "Tag name to delete" }, show_window: { type: "boolean", description: "Show Bear window" } }, required: ["name"] } }
  • src/index.ts:735-736 (registration)
    Dispatch/registration of the 'bear_delete_tag' handler in the CallToolRequest switch statement.
    case "bear_delete_tag": return await this.deleteTag(args);

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/bigjeager/bear-mcp-server'

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