Skip to main content
Glama
bigjeager

Bear App MCP Server

by bigjeager

bear_get_untagged

Retrieve untagged notes in Bear App using search terms and API token. Optionally display the Bear window for direct access during the process.

Instructions

Get untagged notes

Input Schema

NameRequiredDescriptionDefault
searchNoSearch term
show_windowNoShow Bear window
tokenNoBear API token

Input Schema (JSON Schema)

{ "properties": { "search": { "description": "Search term", "type": "string" }, "show_window": { "description": "Show Bear window", "type": "boolean" }, "token": { "description": "Bear API token", "type": "string" } }, "type": "object" }

Implementation Reference

  • Handler function that builds parameters for the Bear 'untagged' x-callback-url action, executes it via executeWithCallback, and returns formatted JSON response with untagged notes.
    private async getUntagged(args: any) { const params: Record<string, string | boolean> = {}; if (args.search) params.search = args.search; if (args.token) params.token = args.token; if (args.show_window) params.show_window = "yes"; const untaggedData = await this.executeWithCallback("untagged", params); return { content: [ { type: "text", text: JSON.stringify({ message: `Retrieved untagged notes${args.search ? ` matching: ${args.search}` : ""}`, notes: untaggedData }, null, 2) } ] }; }
  • Input schema definition for the bear_get_untagged tool, specifying optional parameters: search, token, show_window.
    { name: "bear_get_untagged", description: "Get untagged notes", inputSchema: { type: "object", properties: { search: { type: "string", description: "Search term" }, token: { type: "string", description: "Bear API token" }, show_window: { type: "boolean", description: "Show Bear window" } } } },
  • src/index.ts:723-724 (registration)
    Switch case in CallToolRequestSchema handler that dispatches to the getUntagged method.
    case "bear_get_untagged": return await this.getUntagged(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