Skip to main content
Glama

create_notification

Creates a notification or alert in ERPNext from a supplied notification definition, enabling AI assistants to configure timely alerts for users and business processes.

Instructions

Create a notification/alert

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "notificationDef": "<notificationDef>"
    },
    "name": "create_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
notificationDefYesNotification definition

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full burden and delivers almost nothing. "Create" implies a write with side effects, but the description does not say whether the notification is dispatched immediately or only registered, who receives it, whether external delivery occurs, or what permissions are required. It does not contradict anything, but it discloses no behavior beyond the verb.

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 description is one short phrase with zero padding, so it is trivially front-loaded and waste-free. The brevity is a symptom of under-specification rather than effective conciseness, so it earns only a middle score.

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 mutation tool with a required nested object, no annotations, and no output schema, the definition leaves nearly everything an agent needs unstated. There is no information about the notificationDef structure, delivery semantics, or success behavior, making this inadequate relative to the tool's complexity.

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 coverage is nominally 100%, but the single parameter is a required nested object whose only schema text is the circular "Notification definition" — the internal fields are entirely undocumented. The description adds nothing to clarify what belongs in notificationDef, so an agent cannot construct a valid call without exploring the object.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a notification/alert" names a verb and a resource, so the basic operation is identifiable. However, it gives no indication of what kind of notification this is (in-app, email, webhook), what system it targets, or how it differs from siblings such as create_webhook or create_scheduled_job. The slash-joined "notification/alert" leaves the resource itself ambiguous.

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 guidance, no prerequisites, and no mention of any alternative tool. An agent has no basis for choosing this over create_webhook or create_scheduled_job, both of which could plausibly emit alerts.

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