Skip to main content
Glama
cmssy-io

@cmssy/mcp-server

Official
by cmssy-io

delete_record

Permanently delete a CMS record by its ID after user confirmation. If pages still reference it, the deletion is refused; retry with force only after the user accepts stale references.

Instructions

Permanently delete one record (entry) by its id. Only call after the user explicitly confirms. A record still used by page blocks is refused: report the listed pages back to the user and retry with force: true only once they confirm the reference may go stale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoDelete even when page blocks still reference the record. Without it, a referenced record is refused and the error names the pages using it.
recordIdNoThe record's id to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.73.1

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the disclosure burden. It discloses permanence, refusal for referenced records, the need for user confirmation, and the consequence of force: true (references may go stale). This goes beyond the schema's parameter descriptions.

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 sentences, front-loaded with the core action, then required confirmation and edge-case behavior. Every sentence earns its place with no redundant words.

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 two-parameter mutation tool with no output schema or annotations, the description covers the destructive nature, the refusal case, and the force retry workflow. Nothing an agent needs to invoke safely or correctly is missing.

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

Parameters4/5

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

Both parameters have full schema descriptions, setting a baseline of 3. The description adds operational nuance for force (retry only after user confirms stale references) and confirms recordId is the deletion key.

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 ('permanently delete'), resource ('one record (entry)'), and key parameter ('by its id'). Distinguishes clearly from sibling delete_model/delete_page and get_record by making the destructive scope explicit.

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?

Gives explicit when-to-call instructions: only after explicit user confirmation, and only with force: true after the user confirms the reference may go stale. Does not name alternative tools, but the call conditions are unambiguous.

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