Skip to main content
Glama
bigjeager

Bear App MCP Server

by bigjeager

bear_delete_tag

Remove a specific tag from Bear App. Input the tag name to delete it, optionally choose to show the Bear window for confirmation.

Instructions

Delete an existing tag

Input Schema

NameRequiredDescriptionDefault
nameYesTag name to delete
show_windowNoShow Bear window

Input Schema (JSON Schema)

{ "properties": { "name": { "description": "Tag name to delete", "type": "string" }, "show_window": { "description": "Show Bear window", "type": "boolean" } }, "required": [ "name" ], "type": "object" }

Implementation Reference

  • The handler function that implements the core logic for the 'bear_delete_tag' tool. It constructs the Bear x-callback-url for the 'delete-tag' action using the provided tag name and optional show_window parameter, executes it, and returns a confirmation 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}` } ] }; }
  • Defines the input schema for the 'bear_delete_tag' tool, specifying properties 'name' (required string) and 'show_window' (optional boolean).
    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)
    Registers the 'bear_delete_tag' tool in the ListTools response, including its 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)
    In the CallToolRequestSchema handler, dispatches execution of 'bear_delete_tag' to the deleteTag method.
    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