Skip to main content
Glama

ServiceNow Add Comment

servicenow_add_comment
Destructive

Add a comment or work note to a ServiceNow incident. Comments are visible to the caller; work notes are internal only. Called without confirm it returns a preview and sends nothing; pass confirm=true to add it.

Input Schema

NameRequiredDescriptionDefault
textYesComment or work note text
typeNo'comment' (visible to caller, default) or 'work_note' (internal only)
sys_idYesIncident sys_id from servicenow_get_incident
confirmNoMust be true to send; without it nothing is sent and the call returns a preview of every field.
rememberNoWith confirm: true, also stop asking for this kind of action from now on. Only when the person said so ("don't ask again"). The person can revoke it in LMCP or with set_always_allowed.

Output Schema

NameRequiredDescriptionDefault
typeYescomment | work_note
addedYes
sys_idYes
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / remember
      Added value: +{
      +  "description": "With confirm: true, also stop asking for this kind of action from now on. Only when the person said so (\"don't ask again\"). The person can revoke it in LMCP or with set_always_allowed.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true to send; without it nothing is sent and the call returns a preview of every field.",
      +  "type": "boolean"
      +}
  3. Added
  4. Removed
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Discloses the non-obvious two-phase behavior — no send without confirm, preview returned instead — which is exactly the kind of information annotations cannot express. It also explains the externally visible vs internal side effect of the two modes, complementing destructiveHint=true rather than repeating it.

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 short sentences, each doing distinct work, with the core action first and the confirmation mechanic last. No filler and no restatement of the tool name.

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?

An output schema exists, so return shapes need not be documented, and the description still covers the one surprising return case (a preview instead of an action). For a mutation tool with 5 params, the agent has everything needed to call it correctly.

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?

Schema coverage is 100%, so baseline is 3; the description goes further by explaining the visible/internal distinction of the type values and the gating semantics of confirm. It says nothing about remember or which sys_id source to use beyond the schema's own note, so it does not add full param context.

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 (add) and resource (comment or work note) scoped to a ServiceNow incident, and immediately disambiguates the two flavors by visibility. An agent can distinguish it from servicenow_update_incident without opening another schema.

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 operational guidance: call without confirm to preview, pass confirm=true to actually add. It does not name a sibling alternative (e.g. update_incident) for editing an existing record, so it falls short of full when/when-not routing, but the usage context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources