Skip to main content
Glama

Delete table record

servicenow_delete_table_record
DestructiveIdempotent

Delete a specific record from a ServiceNow table by table name and sys_id. Use it to remove an existing entry when you know its unique identifier.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
tableNo
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. 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, readOnlyHint=false and openWorldHint=true, so the description matches the declared safety profile rather than contradicting it. It adds two useful behavioral facts: the return is a parsed Pydantic response about the deletion, and a MissingParameterError is raised when table or sys_id is absent. However, it says nothing about permissions, cascading effects on related records, or what happens when the sys_id does not exist.

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 prose is short and the purpose statement is correctly front-loaded. However, the Sphinx ':type table: str' / ':rtype: Response' lines merely restate type information already present in the schema, so a meaningful share of the text does not earn its place.

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 16-parameter destructive tool with no output schema, the description should at minimum explain the auxiliary sysparm parameters or state that only table plus sys_id matter. It also asserts the two params are required while the schema marks nothing required and defaults everything to null, leaving the agent unsure of the real invocation contract.

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 0% and there are 16 parameters, yet the description only explains two of them (table and table_record_sys_id). The 14 sysparm_* / data / api_parameters / name_value_pairs parameters are undocumented everywhere, and it is not even clear why query/view/pagination parameters exist on a delete operation. The description does not compensate for the coverage gap.

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?

The opening sentence names a specific verb and resource ('Delete a record from the specified table'), so an agent immediately knows this is a destructive single-record operation on an arbitrary table. It is distinguishable from siblings such as servicenow_delete_attachment or servicenow_delete_incident which target fixed record types. It does not, however, explicitly contrast itself with servicenow_patch_table_record or servicenow_get_table_record, so it stops short of a 5.

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 or when-not-to-use guidance, and no alternatives are named. Given siblings like servicenow_patch_table_record, servicenow_delete_incident and servicenow_delete_problem, an agent gets no help deciding between the generic table-record deletion and the typed delete tools.

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