Skip to main content
Glama

dastyar_admin_create_notification

Creates a new Dastyar toast notification with title, content, optional image upload, and deep links to Dam-Dasti widgets or shelves.

Instructions

Create a new toast notification in Dastyar with title, content, image upload, and deep link to Dam-Dasti widget or shelf

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": {
      "title": "<title>",
      "content": "<content>"
    },
    "name": "dastyar_admin_create_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNoTarget external link if clickAction is openLink
pageNoTarget page: damedasti (دم دستی - پیش‌فرض), dasteaval (دست اول), home (هوم)
titleYesNotification title (e.g. بیتکوین رفت زیر ۶۵ هزارتا!)
contentYesNotification body text
shelfIdNoTarget shelf ID to scroll to (e.g. 3 for Crypto)
titleEngNoEnglish title
widgetIdNoTarget Dam-Dasti widget ID to open (e.g. 4 for Crypto)
imagePathNoLocal image file path to upload as notification icon
publishAtNoPublish date ISO string
contentEngNoEnglish body text
expireDateNoExpiration date ISO string
clickActionNoClick action type: showPage, openLink, showSettingModal

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It names the artifact ('toast notification') and mentions image upload and deep linking, but says nothing about scheduling vs immediate delivery, precedence between clickAction values, whether uploads are read from the server's local filesystem, or what permissions are required for this mutation.

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?

A single front-loaded sentence with no filler. It is efficient, though the trailing 'deep link to Dam-Dasti widget or shelf' slightly understates the clickAction branching the schema actually exposes.

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

Completeness3/5

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

For a 12-parameter mutation with no annotations and no output schema, the description is thin: it does not mention return value (created notification ID?), required admin scope, or how publishAt/expireDate scheduling behaves. The fully documented schema compensates for parameter-level gaps, keeping this at minimum-viable rather than inadequate.

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 description coverage is 100%, so the schema already documents all 12 parameters including link, page, shelfId, widgetId, publishAt, expireDate and clickAction. The description adds no syntax, format, or interaction detail beyond restating title/content/image/deep-link, so baseline 3 applies.

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?

The description states a specific verb and resource ('Create a new toast notification in Dastyar') and enumerates the salient content dimensions (title, content, image, deep link). It is clearly distinct from the sibling read/delete notification tools by name, though it does not call out that distinction itself.

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: nothing says this targets Dam-Dasti widget or shelf deep links versus a plain page link, when to use publishAt/expireDate versus immediate publish, or what admin prerequisites apply. The agent must infer everything from the schema.

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