Skip to main content
Glama
aic0t

AI Coach MCP Server

by aic0t

Delete an AI Coach memo

delete_ai_coach_note
DestructiveIdempotent

Move a memo to the AI Coach trash for recovery. Confirm with the user first, unless the deletion was requested, and respect their confirmation.

Instructions

Move one memo in AI Coach to the trash (recoverable). Ask the user first unless they asked for the deletion themselves; AI Coach also asks them to confirm on screen — note_confirmation_denied means they declined.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoDisplay language (BCP 47).
noteIdYesA noteId returned by list / search — a path relative to the memo folder, not absolute.
idempotencyKeyNoDedupe key for resends; generated when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.4
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"Key that keeps a resent delete from being applied twice. The server generates one when omitted."New value: +"Dedupe key for resends; generated when omitted."
    • changedInput schema / properties / locale / description
      Previous value: -"Display language hint (BCP 47). The dashboard view passes hostContext.locale through unchanged."New value: +"Display language (BCP 47)."
    • changedInput schema / properties / noteId / description
      Previous value: -"A noteId returned by list / search. It is a path relative to the memo folder (`minutes.md` / `work/minutes.md`), not an absolute path."New value: +"A noteId returned by list / search — a path relative to the memo folder, not absolute."
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "connection": {
      -      "enum": [
      -        "connected",
      -        "app_unavailable",
      -        "incompatible"
      -      ],
      -      "type": "string"
      -    },
      -    "deleted": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "deleted": {
      -          "type": "boolean"
      -        },
      -        "noteId": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "noteId",
      -        "deleted"
      -      ],
      -      "type": "object"
      -    },
      -    "error": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "code": {
      -          "type": "string"
      -        },
      -        "reason": {
      -          "type": "string"
      -        },
      -        "retryable": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "retryable"
      -      ],
      -      "type": "object"
      -    },
      -    "folderName": {
      -      "type": "string"
      -    },
      -    "groups": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "hits": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "group": {
      -            "type": "string"
      -          },
      -          "modifiedAt": {
      -            "type": "string"
      -          },
      -          "noteId": {
      -            "type": "string"
      -          },
      -          "sizeBytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "snippet": {
      -            "type": "string"
      -          },
      -          "title": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "noteId",
      -          "title",
      -          "modifiedAt",
      -          "sizeBytes",
      -          "snippet"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "note": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "content": {
      -          "type": "string"
      -        },
      -        "modifiedAt": {
      -          "type": "string"
      -        },
      -        "noteId": {
      -          "type": "string"
      -        },
      -        "offsetBytes": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "returnedBytes": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "sizeBytes": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "title": {
      -          "type": "string"
      -        },
      -        "truncated": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "noteId",
      -        "title",
      -        "modifiedAt",
      -        "sizeBytes",
      -        "content",
      -        "offsetBytes",
      -        "returnedBytes",
      -        "truncated"
      -      ],
      -      "type": "object"
      -    },
      -    "notes": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "excerpt": {
      -            "type": "string"
      -          },
      -          "group": {
      -            "type": "string"
      -          },
      -          "modifiedAt": {
      -            "type": "string"
      -          },
      -          "noteId": {
      -            "type": "string"
      -          },
      -          "sizeBytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "title": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "noteId",
      -          "title",
      -          "modifiedAt",
      -          "sizeBytes",
      -          "excerpt"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "offset": {
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "protocolVersion": {
      -      "const": 1,
      -      "type": "number"
      -    },
      -    "total": {
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "updatedAt": {
      -      "type": "string"
      -    },
      -    "written": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "created": {
      -          "type": "boolean"
      -        },
      -        "group": {
      -          "type": "string"
      -        },
      -        "modifiedAt": {
      -          "type": "string"
      -        },
      -        "noteId": {
      -          "type": "string"
      -        },
      -        "sizeBytes": {
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "title": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "noteId",
      -        "title",
      -        "created",
      -        "modifiedAt",
      -        "sizeBytes"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "protocolVersion",
      -    "connection",
      -    "updatedAt"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observedv0.1.2

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark destructiveHint=true and readOnlyHint=false, but the description adds meaningful behavioral context: the delete is recoverable, user confirmation is required, and note_confirmation_denied indicates the user declined. This goes well beyond the structured annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: the first states the action and recoverability, the second states the user-confirmation behavior and a key error signal. No wasted words; important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the full parameter schema, annotations, and the explicit handling of user confirmation and the declined outcome, the description provides everything an agent needs to invoke and interpret the call correctly. No output schema exists, but the key result states are covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents locale, noteId, and idempotencyKey. The description does not need to add parameter details and does not substantially expand on them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Move one memo in AI Coach to the trash (recoverable)'. This clearly distinguishes delete_ai_coach_note from sibling read/write/list/search tools, and the 'one memo' wording signals single-item scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit usage context: ask the user first unless they requested deletion, and AI Coach also performs its own on-screen confirmation. It does not explicitly name alternative tools or state when not to use this tool, but the deletion-focused context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.