Skip to main content
Glama
company-mcp-server

company-mcp-server

by jaiswalpuza2

propose_action

Destructive

Validate destructive Notion or Supabase operations and generate a human-readable change preview plus short-lived approval token for confirmation and audit logging.

Instructions

STEP 1 OF 2 — Propose a destructive operation (update_notion_page, delete_notion_page, update_supabase_row, delete_supabase_row). Validates the arguments, generates a human-readable preview of what will change, and returns a short-lived approval token. The token must be passed to confirm_action within the expiry window to execute. Every proposal is logged to the audit trail.

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": {
      "tool_name": "<tool_name>",
      "args": "<args>"
    },
    "name": "propose_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for the proposed tool, matching that tool's parameter schema.
tool_nameYesThe destructive tool to propose.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the danger is known; the description adds genuinely new behavior — argument validation, human-readable preview generation, short-lived token issuance, expiry window, and audit logging. The only gap is that it doesn't say what a validation failure or expiry looks like in the response.

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

Conciseness4/5

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

Four tight sentences, front-loaded with the step number and the action. The parenthetical list of the four tool names partially duplicates the schema enum, a small redundancy that is defensible for fast scanning but not strictly necessary.

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?

For a gate-keeping wrapper around destructive operations, the description covers lifecycle, token handling, expiry, and audit trail. No output schema exists, yet the return value (approval token) is described well enough to act on.

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 both parameters are already documented and the enum is enumerated in the schema. The description says arguments are 'validated' but adds no syntax or constraint detail beyond that, so this sits at the baseline for a fully-covered schema.

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 (propose) plus the exact resource class, enumerating the four destructive tools it fronts. The 'STEP 1 OF 2' framing and the contrast with confirm_action make it immediately distinguishable from its sibling.

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 defines the two-step flow: propose here, then pass the returned token to confirm_action within the expiry window to actually execute. It also implicitly excludes the read siblings (get_notion_page, query_*), which are not in the enum.

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