Skip to main content
Glama

Delete table record

servicenow_delete_table_record
DestructiveIdempotent

Delete a ServiceNow table record by its sys_id to remove outdated or incorrect entries from a specified table when the record identifier is known.

Instructions

Delete a record from the specified table.

:param table: The name of the table. :type table: str :param table_record_sys_id: The sys_id of the record to be deleted. :type table_record_sys_id: str

:return: Response containing parsed Pydantic model with information about the deletion. :rtype: Response

:raises MissingParameterError: If table or table_record_sys_id is not provided.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "servicenow_delete_table_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
tableNo
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
sysparm_viewNo
sysparm_limitNo
sysparm_queryNo
api_parametersNo
sysparm_fieldsNo
sysparm_offsetNo
name_value_pairsNo
sysparm_no_countNo
table_record_sys_idNo
sysparm_display_valueNo
sysparm_query_categoryNo
sysparm_query_no_domainNo
sysparm_exclude_reference_linkNo
sysparm_suppress_pagination_headerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.0
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "description": "Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.",
      +  "type": "boolean"
      +}
  2. First observedv2.4.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds error behavior (MissingParameterError) and a return type, which is useful. But it omits the most operationally important behavior — that a `confirm` flag exists for this destructive call — and its claim that table/table_record_sys_id are required conflicts with the schema's stated 0 required parameters.

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

Conciseness3/5

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

The first sentence is front-loaded and clear, but the remainder is Sphinx autodoc boilerplate (:type, :rtype) that restates the schema without adding information. It is short enough not to be bloated, but the space is spent on low-value lines.

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

Completeness2/5

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

For a 17-parameter destructive mutation with 6% schema coverage and no output schema, the description is far too thin. It does not explain the confirmation requirement, the query/filter parameters, or what the returned Response contains beyond 'information about the deletion.'

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

Parameters2/5

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

Schema description coverage is only 6% across 17 parameters, so the description must compensate and does not. It names only `table` and `table_record_sys_id` (already named in the schema) and says nothing about `confirm`, `data`, `api_parameters`, or any of the eight `sysparm_*` parameters, leaving the agent to guess at their meaning.

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

Purpose4/5

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

States a specific verb and resource: "Delete a record from the specified table." An agent knows exactly what operation is performed. However, it gives no differentiation from the many sibling delete tools (servicenow_delete_incident, servicenow_delete_change_request, etc.), so an agent cannot tell from the description whether this generic table delete is preferred over the entity-specific ones.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no mention of the alternative entity-specific delete tools. Critically, nothing tells the agent when the `confirm` flag is required before performing this destructive call.

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

Deploy Server

Other Tools