Skip to main content
Glama

Create an alert

create_alert

Create an alert from one sentence in the person's words («when an Italian AI company raises more than 50 million»). Proofite reads it into a short title, a precise condition and a Google News search, saves it, and from then on checks it every quarter of an hour; a match reaches the person in the app or by email. Ask before creating, and say back how it was understood (the reply has it). Alerts follow the news: a personal reminder is refused.

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": {
      "sentence": "<sentence>"
    },
    "name": "create_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoHow to tell them: push = notification in the app (default; by email when they have no phone with the app), email, both
use_webNoAlso search Google News for it (default true). False = only their own sources
sentenceYesWhat the person is waiting for, in their own words
quiet_nightNoHold matches found between 22:00 and 07:00 until the morning (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare that this is a non-read-only, open-world, non-idempotent, non-destructive write. The description supplies the substantive behavior behind that: a persistent object is created, it is re-evaluated every quarter of an hour, and matches are delivered in-app or by email. It also discloses a refusal mode (non-news reminders) and that the reply echoes the interpretation, none of which is inferable from 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.

Conciseness4/5

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

The opening clause is front-loaded with the verb, resource and a concrete example, and no sentence is filler. The middle section is a chain of semicolon-joined clauses covering parsing, saving, cadence and delivery, which is dense but slightly run-on rather than wasteful.

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

Completeness4/5

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

For a four-parameter creation tool with no output schema, it covers the important unknowns: what gets derived from the sentence, that the object persists and recurs, how results arrive, and what is rejected. Minor gaps remain around what the confirmation reply contains beyond the interpretation and what happens when parsing fails, but the agent has enough to call it correctly and safely.

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 channel, use_web, sentence and quiet_night are already documented. The description reinforces delivery ("in the app or by email") and the Google News search, which maps loosely to channel and use_web, but it says nothing about quiet_night or the default behaviors that parameter controls. Baseline 3 is appropriate when the schema carries the meaning.

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?

"Create an alert from one sentence in the person's words" gives a specific verb plus resource, and the example sentence shows exactly what input shape is expected. It also spells out the downstream pipeline (title, condition, Google News search, saved, checked quarterly-hourly), which separates it from update_alert, delete_alert and list_alerts without needing to name them.

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?

It states a procedural expectation ("Ask before creating, and say back how it was understood") and a when-not case ("a personal reminder is refused" because alerts follow the news). What is missing is an explicit pointer to a sibling, e.g. update_alert for editing an existing alert, but the context is otherwise clear enough to route correctly.

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.