Skip to main content
Glama

Alert the user

alert

Alert the user on their iPhone. The one tool for both kinds:

  • Without at: a notification, now. It goes to the app's Notifications feed.

  • With at: a reminder at that time, in the app's Reminders list. It only reaches the signed-in user's own iPhone, never anyone else. Use at ONLY when the user names a clock time or date ("at 18:00", "tomorrow", "in an hour"). Anything tied to an event ("when you finish", "if the deploy fails", "when it's ready") you send yourself at that moment, WITHOUT at. ring: true rings like an alarm clock, through silent mode, until the user answers (Done or Snooze): "call me", "ring me", "wake me" (in any language). AgentAlarm places no real phone calls. "Notify / tell / remind me when X" = no ring (the default). sound only applies when it rings. ends_at and countdown only apply to reminders (with at). "Show a countdown / timer to " = a reminder at the event time with countdown: true. Examples:

  • "Done" -> alert(title: "Done: refactor")

  • "Call me when done" -> alert(title: "Done: refactor", ring: true), sent when you are done

  • "Remind me at 18 to buy milk" -> alert(title: "Buy milk", at: "18:00")

  • "Wake me at 7" -> alert(title: "Wake up", at: "07:00", ring: true)

  • "Countdown to the Champions League final" -> alert(title: "Champions League final", at: , countdown: true, icon: "sportscourt")

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>"
    },
    "name": "alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoOnly when the user named a time or date: makes a reminder at that time. ISO 8601 (e.g. 2026-10-23T18:00:00+03:00, without an offset in the user's timezone), or a clock time alone ("18:00": its next occurrence). Omit it for a notification now.
bodyNoOptional details. Supports line breaks and URLs: line breaks are kept, and links, phone numbers and addresses can be tapped in the app.
iconNoOptional. The icon shown with it in the app, the Live Activity and the widget. Pick the one that fits, or omit it for the default (bell). Icons: bell: anything else (the default); checkmark.circle: a task, job or build finished; exclamationmark.triangle: an error, incident, failure or outage; calendar: a meeting, appointment, deadline or event; sportscourt: sport: a match, a game, a workout; gift: a birthday, anniversary or holiday; cart: shopping, orders, deliveries, prices; airplane: travel: flights, trips, check-in; heart: health and personal life: medication, family, self-care; briefcase: work: reviews, follow-ups, documents, clients; terminal: a terminal or command-line job; hammer: building something: a build, a project; wrench.and.screwdriver: maintenance, repairs, settings; ladybug: a bug or a failing test; server.rack: servers, infrastructure, deploys; cpu: hardware, load, performance; cloud: cloud services, backups, sync; lock: security, access, passwords; key: keys, credentials, certificates; shippingbox: packages, releases, deliveries; doc.text: documents, notes, reports; chart.bar: numbers, stats, dashboards; chart.line.uptrend.xyaxis: growth, prices, markets; flag: a milestone or a goal; star: something important or a favourite; bolt: fast or urgent, power, energy; flame: something hot: a streak, a fire to put out; lightbulb: an idea or a tip; megaphone: an announcement or news; envelope: email and letters; bubble.left: a chat or a reply to send; person.2: people: a meeting, family, friends; house: home and household; car: driving, the car, parking; tram: public transport, commuting; bicycle: cycling; figure.run: running, walking, exercise; dumbbell: the gym, strength training; pills: medication; cross.case: a doctor, first aid, health care; bed.double: sleep, bedtime, a hotel; cup.and.saucer: coffee, tea, a break; fork.knife: meals, cooking, a restaurant; birthday.cake: a birthday; party.popper: a party or a celebration; music.note: music, a concert, practice; film: a film, a show, video; book: reading, studying, a book; graduationcap: school, classes, exams; pawprint: pets, the vet, walking the dog; leaf: plants, the garden, nature; sun.max: sunny weather, outdoors, the morning; moon: the evening or night; umbrella: rain, the weather; creditcard: payments, cards, subscriptions; banknote: money, bills, salary; bag: shopping, something to pack; gamecontroller: games, gaming; camera: photos, a camera; suitcase: packing, luggage, a trip.
ringNotrue: rings like an alarm until the user taps Done ("call/ring/wake me"). Default false: a quiet notification.
colorNoOptional. The colour in the app (its icon in the feed and the list, the alarm screen and the Live Activity). Use the colour the user asks for. Otherwise pick the one that fits best, or omit it for the default (blue). Colours: blue: everything else (the default); red: critical: incidents, outages, failures, hard deadlines; orange: important or due soon: reviews, renewals, follow-ups; green: personal and health: sport, medication, family errands, money; purple: events and fun: meetings, birthdays, trips, matches; teal: calm and technical: builds, servers, routine jobs; pink: love and care: partner, kids, gifts; yellow: heads-up: warnings that are not urgent, sunny plans; indigo: night and focus: sleep, deep work, quiet time; mint: fresh starts: habits, water, cleaning; cyan: travel and outdoors: flights, weather, the sea; brown: home and food: cooking, coffee, chores; gray: low priority: someday, notes, background tasks; graphite: admin: paperwork, taxes, bills; lime: energy: workouts, runs, games; coral: social: friends, parties, calls to make.
soundNoOptional. The sound it rings with: only when it rings (urgent, ring: true); a quiet one is a notification with the sound from the app's Settings. Use the sound the user asks for. Otherwise omit it for the user's chosen default sound (picked in the app's Settings), or pick one when the context clearly suggests it: a football match -> stadium, something that must wake the user -> loudalarm or urgentpulse, a gentle nudge -> calmpiano or softbells. Sounds, calm to loud: default: the iPhone's standard system alarm sound, familiar; calmpiano: calm soft piano, gentle: quiet nudges, evenings; softbells: soft bells, gentle and quiet: a reminder that must not startle; sunrise: slowly rising warm tones: a gentle wake-up in the morning; chime: a clear short chime, neutral: everyday reminders; brightmarimba: bright cheerful marimba, the classic phone alarm feel: a normal alarm; upbeatpop: upbeat pop melody, energetic and happy: workouts, fun plans; urgentpulse: fast insistent pulsing beeps, hard to ignore: something urgent, incidents; loudalarm: very loud aggressive alarm that wakes you up: must not be slept through; stadium: football stadium fans chanting with drums and air horns: matches, sports events.
titleYesShort, the most important words first, e.g. "Done: refactor" or "Buy milk".
ends_atNoReminders only: when it ends (ISO 8601, after `at`). The phone shows a Live Activity counting down to it, from `at` until then.
locationNoOptional. An address or place; the app offers to open it in Maps. One line.
countdownNoReminders only: show a countdown to `at` (a Live Activity in the last hours, and the Home Screen widget).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ring / description
      Previous value: -"true: rings like an alarm until answered (\"call/ring/wake me\"). Default false: a quiet notification."New value: +"true: rings like an alarm until the user taps Done (\"call/ring/wake me\"). Default false: a quiet notification."
  2. Changed2 schema fields changed
    • changedInput schema / properties / color / description
      Previous value: -"Optional. The colour in the app (its icon in the feed and the list, the alarm screen and the Live Activity). Use the colour the user asks for. Otherwise pick the one that fits best, or omit it for the default (blue). Colours: blue: everything else (the default); red: critical: incidents, outages, failures, hard deadlines; orange: important or due soon: reviews, renewals, follow-ups; green: personal and health: sport, medication, family errands, money; purple: events and fun: meetings, birthdays, trips, matches."New value: +"Optional. The colour in the app (its icon in the feed and the list, the alarm screen and the Live Activity). Use the colour the user asks for. Otherwise pick the one that fits best, or omit it for the default (blue). Colours: blue: everything else (the default); red: critical: incidents, outages, failures, hard deadlines; orange: important or due soon: reviews, renewals, follow-ups; green: personal and health: sport, medication, family errands, money; purple: events and fun: meetings, birthdays, trips, matches; teal: calm and technical: builds, servers, routine jobs; pink: love and care: partner, kids, gifts; yellow: heads-up: warnings that are not urgent, sunny plans; indigo: night and focus: sleep, deep work, quiet time; mint: fresh starts: habits, water, cleaning; cyan: travel and outdoors: flights, weather, the sea; brown: home and food: cooking, coffee, chores; gray: low priority: someday, notes, background tasks; graphite: admin: paperwork, taxes, bills; lime: energy: workouts, runs, games; coral: social: friends, parties, calls to make."
    • changedInput schema / properties / icon / description
      Previous value: -"Optional. The icon shown with it in the app, the Live Activity and the widget. Pick the one that fits, or omit it for the default (bell). Icons: bell: anything else (the default); checkmark.circle: a task, job or build finished; exclamationmark.triangle: an error, incident, failure or outage; calendar: a meeting, appointment, deadline or event; sportscourt: sport: a match, a game, a workout; gift: a birthday, anniversary or holiday; cart: shopping, orders, deliveries, prices; airplane: travel: flights, trips, check-in; heart: health and personal life: medication, family, self-care; briefcase: work: reviews, follow-ups, documents, clients."New value: +"Optional. The icon shown with it in the app, the Live Activity and the widget. Pick the one that fits, or omit it for the default (bell). Icons: bell: anything else (the default); checkmark.circle: a task, job or build finished; exclamationmark.triangle: an error, incident, failure or outage; calendar: a meeting, appointment, deadline or event; sportscourt: sport: a match, a game, a workout; gift: a birthday, anniversary or holiday; cart: shopping, orders, deliveries, prices; airplane: travel: flights, trips, check-in; heart: health and personal life: medication, family, self-care; briefcase: work: reviews, follow-ups, documents, clients; terminal: a terminal or command-line job; hammer: building something: a build, a project; wrench.and.screwdriver: maintenance, repairs, settings; ladybug: a bug or a failing test; server.rack: servers, infrastructure, deploys; cpu: hardware, load, performance; cloud: cloud services, backups, sync; lock: security, access, passwords; key: keys, credentials, certificates; shippingbox: packages, releases, deliveries; doc.text: documents, notes, reports; chart.bar: numbers, stats, dashboards; chart.line.uptrend.xyaxis: growth, prices, markets; flag: a milestone or a goal; star: something important or a favourite; bolt: fast or urgent, power, energy; flame: something hot: a streak, a fire to put out; lightbulb: an idea or a tip; megaphone: an announcement or news; envelope: email and letters; bubble.left: a chat or a reply to send; person.2: people: a meeting, family, friends; house: home and household; car: driving, the car, parking; tram: public transport, commuting; bicycle: cycling; figure.run: running, walking, exercise; dumbbell: the gym, strength training; pills: medication; cross.case: a doctor, first aid, health care; bed.double: sleep, bedtime, a hotel; cup.and.saucer: coffee, tea, a break; fork.knife: meals, cooking, a restaurant; birthday.cake: a birthday; party.popper: a party or a celebration; music.note: music, a concert, practice; film: a film, a show, video; book: reading, studying, a book; graduationcap: school, classes, exams; pawprint: pets, the vet, walking the dog; leaf: plants, the garden, nature; sun.max: sunny weather, outdoors, the morning; moon: the evening or night; umbrella: rain, the weather; creditcard: payments, cards, subscriptions; banknote: money, bills, salary; bag: shopping, something to pack; gamecontroller: games, gaming; camera: photos, a camera; suitcase: packing, luggage, a trip."
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false and idempotentHint=false, so the write profile is known. The description goes further by disclosing delivery destination (Notifications feed vs. Reminders list), that it reaches only the signed-in user's own iPhone, that ringing pierces silent mode until Done/Snooze, and that no real phone calls are placed — useful side-effect context beyond the annotations.

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 opening rules are well front-loaded and the examples are high-value, but a large middle section restates what the schema already documents in nearly identical wording for `ring`, `sound`, `ends_at` and `countdown`. The long duplicated icon and colour enumerations, which additionally disagree with the enums, are the weakest part of an otherwise tight document.

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 10-parameter mutation tool with no output schema, the description covers delivery, timing, ring behaviour and conditional parameter validity thoroughly. The gaps are the unaddressed relationship to the sibling alarm tools and the misaligned enum values, plus no statement of what a successful call returns.

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 100%, so the baseline is 3, and the description does add conditional dependency rules (sound only applies when it rings; ends_at and countdown only apply to reminders with `at`). However, its inline icon and colour lists name values absent from the enums (e.g. terminal, hammer, teal, pink), which would lead an agent to send invalid values — a defect the schema cannot correct.

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?

States a specific verb and resource ("Alert the user on their iPhone") and splits the tool into its two modes — immediate notification vs. scheduled reminder — so the agent knows exactly what it produces. It does not differentiate itself from the sibling create_alarm/update_alarm tools, which is a real ambiguity given that `at` here effectively creates a reminder.

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

Usage Guidelines5/5

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

Explicit routing rules: use `at` ONLY when the user names a clock time or date, and send event-tied alerts yourself at that moment WITHOUT `at`. It also resolves the ring vs. no-ring decision ("call/ring/wake me" vs. "notify/tell/remind"), states the countdown mapping, and backs every rule with a worked example.

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.