Skip to main content
Glama

create_notification

Create email notifications in ServiceNow with HTML templates, recipient rules, and trigger conditions.

Instructions

Create a ServiceNow email notification with an HTML template, recipients, and conditions.

Recipients can be specified as:

  • field: a field on the record (e.g. "caller_id.email")

  • group: an assignment group sys_id

  • role: a role name (all users with that role)

  • user: a specific user sys_id

The tool generates:

  • Notification record payload (sysevent_email_action)

  • Responsive HTML email template with ServiceNow field tokens

  • Plain text fallback

  • Best practice checklist

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
tableYesTable that triggers this notification (e.g. "incident")
eventNoEvent name (e.g. "incident.inserted"). Leave blank to use condition.
conditionNoEncoded query condition (used if no event)
subjectYesEmail subject line — can include ${table.field} tokens
recipientsNo
body_htmlNoCustom HTML email body. Leave blank for auto-generated template.
include_work_notesNo
weightNo
categoryNo
reply_toNo
email_scriptNoName of an Email Script for dynamic logic
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions generating a notification record, HTML template, plain text fallback, and checklist, but does not address side effects, idempotency, permissions, or what happens on errors. The 'best practice checklist' is ambiguous.

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

Conciseness4/5

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

The description is moderately concise with three clear sections: purpose, recipient types, and generated outputs. The bullet-like lists are efficient, though they lack markdown formatting.

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?

Given the tool has 12 parameters and no output schema or annotations, the description is incomplete. It fails to describe the return value, error handling, prerequisites, or what happens to existing notifications. The 'best practice checklist' is vague.

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 coverage is 50%; the description adds value by explaining recipient types (field, group, role, user) and the generated outputs. However, many parameters like category, reply_to, and email_script are not enriched beyond schema descriptions. Compensates partially.

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 clearly states the tool creates a ServiceNow email notification with specific components (HTML template, recipients, conditions). It distinguishes from siblings like create_push_notification by specifying 'email notification'.

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 explains recipient types but does not provide explicit guidance on when to use this tool versus alternatives like create_push_notification or other notification tools. No when-not or comparison with siblings.

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/pinnintisagarSB/ServiceNow-Dev-MCP'

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