Skip to main content
Glama

Update problem

servicenow_update_problem

Update an existing ServiceNow problem record by providing its sys_id and field values to change.

Instructions

Update an existing problem record.

:param problem_id: The sys_id of the problem record to update. :type problem_id: str :param data: Dictionary of field values to update. :type data: dict

:return: Response containing parsed Pydantic model with information about the updated problem record. :rtype: Response

:raises MissingParameterError: If problem_id or data is not provided. :raises ParameterError: If validation of parameters fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
problem_idNo
sysparm_viewNo
sysparm_limitNo
sysparm_queryNo
api_parametersNo
sysparm_fieldsNo
sysparm_offsetNo
name_value_pairsNo
sysparm_no_countNo
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 disclose the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower. The description adds useful error behavior (MissingParameterError, ParameterError) and the return shape, but says nothing about partial-update semantics, permissions, or what happens to unspecified fields.

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 one-sentence purpose is well front-loaded, but the remainder is Sphinx directive boilerplate (:type/:rtype/:raises) that consumes space without adding semantic meaning for an agent choosing parameters.

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 15-parameter mutation tool with no output schema and no per-parameter schema descriptions, the description leaves most of the contract unspecified. An agent cannot tell what the remaining sysparm_* parameters do or which combinations are valid.

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% across 15 parameters, and the docstring documents only problem_id and data, leaving 13 sysparm_* controls (view, query, fields, display_value, pagination flags, etc.) entirely unexplained. It also claims problem_id/data are mandatory via a raises clause while the schema marks every property optional with default null.

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?

First line states a specific verb and resource ('Update an existing problem record'), which cleanly separates it from servicenow_create_problem, servicenow_delete_problem, and servicenow_get_problem. It does not, however, distinguish itself from the generic servicenow_update_table_record alternative.

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?

The description gives no guidance on when to prefer this specialized problem-update tool over the generic table-record update, nor any prerequisites such as required role or state constraints. Usage is only implied by the tool name itself.

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