Skip to main content
Glama
YouMap MCP Server

YouMap MCP Server

Official
by YouMap-app

delete_action

Permanently removes a per-map action (post template) owned by the authenticated user if not in use by posts. Use for cleanup; system quick templates cannot be removed.

Instructions

Delete an existing per-map action (post template) permanently. This action cannot be undone. The action must be owned by the authenticated user and must be removable (not in use by posts). NOTE: the three global quick post templates (Note / Photo / Question) are read-only system fixtures and cannot be deleted; use update_map with areQuickActionsDisabled: true to hide them from a particular map instead.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "actionId": "<actionId>"
    },
    "name": "delete_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYesID of the action to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses irreversibility ('cannot be undone'), ownership and in-use preconditions, and a hard read-only exception for system quick post templates. What it does not cover is downstream effects (e.g., whether posts referencing the action are affected) or the response after deletion, which keeps it from a 5.

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?

Three front-loaded sentences: the destructive operation first, then its preconditions, then the exception and workaround. Every sentence adds decision-relevant information, and the NOTE is scoped to the exact case where an agent would otherwise call this tool incorrectly.

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

Completeness4/5

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

For a single-parameter destructive tool with no annotations and no output schema, the description covers purpose, irreversibility, authorization preconditions, and the main misuse case. The remaining gap is post-call behavior (what a success or failure looks like), which is not captured anywhere since there is no output schema.

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?

The schema already documents the single parameter `actionId` at 100% coverage, and the description adds no extra meaning such as where to obtain a valid action ID (e.g., via list_actions) or whether invalid/permission-denied IDs behave differently. Baseline 3 is appropriate since the schema does the heavy lifting.

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?

States a specific verb and resource with scope qualifiers: 'Delete an existing per-map action (post template) permanently.' The parenthetical clarifies what an 'action' is, and the 'per-map' scope plus the global-fixture caveat clearly separates it from create_action, update_action, and list_actions.

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

Usage Guidelines5/5

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

Explicitly states preconditions (must be owned by the authenticated user, must not be in use by posts) and gives a concrete when-not path: for the three read-only global quick post templates, use `update_map` with `areQuickActionsDisabled: true` instead. An agent has everything needed to decide this tool is or isn't the right one.

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