Skip to main content
Glama
sonisoft-cnanda

now-sdk-ext-mcp

Add Task Comment

add_task_comment

Add customer-visible comments or internal work notes to any ServiceNow task record, such as incidents or change requests. Control visibility with a flag.

Instructions

Add a comment or work note to any task-based record (incident, change_request, problem, etc.). Comments are customer-visible by default; set is_work_note to true for internal work notes visible only to fulfiller staff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesThe table name of the task record (e.g., "incident", "change_request", "problem", "sc_task").
commentYesThe comment text to add to the record.
instanceNoThe ServiceNow instance auth alias to use. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable.
is_work_noteNoIf true, adds a work note (internal, visible to fulfillers only) instead of a customer-visible comment. Defaults to false.
record_sys_idYesThe sys_id of the task record to add the comment to.
Behavior4/5

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

Annotations already mark the operation as mutating and non-idempotent. The description adds valuable behavioral context: comments are customer-visible by default, while work notes are internal to fulfiller staff. It does not contradict the annotations and goes beyond their basics.

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?

The description is exactly two sentences: the first states the core function and scope, the second clarifies the key parameter behavior. It is concise, front-loaded, and contains no superfluous words.

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

Completeness4/5

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

For a simple mutation tool with no output schema, the description covers the essential context: what the tool does, what record types it applies to, and how to switch visibility. It doesn't mention return values or error handling, but those are less critical for this kind of tool and the schema documentation fills in the parameter gaps.

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 descriptions cover 100% of parameters, so the baseline is 3. The description reinforces the is_work_note parameter's effect but adds no new details beyond what the schema already states (e.g., visibility semantics). No additional parameter-level insight is provided.

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?

The description states a specific verb ('Add') and resource ('a comment or work note to any task-based record'), and explicitly names example record types. It clearly distinguishes the tool's function from sibling tools like assign_task or close_incident by focusing solely on adding comments/notes.

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

Usage Guidelines3/5

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

The description clearly indicates the tool's purpose and the two modes (comment vs. work note), so an agent knows when to use it. However, it does not explicitly mention when not to use it or point to alternative tools for other record modifications, leaving the differentiation to inference.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sonisoft-cnanda/now-sdk-ext-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server