Skip to main content
Glama

twining_dismiss

Remove blackboard entries by ID to clean up false-positive warnings, resolved items, or other noise. Returns which IDs were dismissed and which were not found.

Instructions

Remove specific blackboard entries by ID. Use this to clean up false-positive warnings, resolved entries, or other noise. Returns which IDs were dismissed and which were not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesEntry IDs to remove from the blackboard
reasonNoWhy these entries are being dismissed (logged but not stored)

Implementation Reference

  • The handler for the twining_dismiss tool which calls engine.dismiss(args.ids).
    async (args) => {
      try {
        const result = await engine.dismiss(args.ids);
        return toolResult(result);
      } catch (e) {
        if (e instanceof TwiningError) {
          return toolError(e.message, e.code);
        }
        return toolError(
          e instanceof Error ? e.message : "Unknown error",
          "INTERNAL_ERROR",
        );
      }
  • The input schema for the twining_dismiss tool, validating entry IDs and reason.
    {
      description:
        "Remove specific blackboard entries by ID. Use this to clean up false-positive warnings, resolved entries, or other noise. Returns which IDs were dismissed and which were not found.",
      inputSchema: {
        ids: z
          .array(z.string())
          .min(1)
          .describe("Entry IDs to remove from the blackboard"),
        reason: z
          .string()
          .optional()
          .describe("Why these entries are being dismissed (logged but not stored)"),
      },
  • Registration of the twining_dismiss tool on the MCP server.
    server.registerTool(
      "twining_dismiss",
      {
        description:
          "Remove specific blackboard entries by ID. Use this to clean up false-positive warnings, resolved entries, or other noise. Returns which IDs were dismissed and which were not found.",
        inputSchema: {
          ids: z
            .array(z.string())
            .min(1)
            .describe("Entry IDs to remove from the blackboard"),
          reason: z
            .string()
            .optional()
            .describe("Why these entries are being dismissed (logged but not stored)"),
        },
      },

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/daveangulo/twining-mcp'

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