Skip to main content
Glama

Create alert

create_alert

Creates a saved alert that matches new Prozorro tenders (and optionally TED notices) against filters and notifies the user by email and/or Telegram. Frequency and channels depend on the plan; the number of alerts is limited by the plan.

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

Input Schema

NameRequiredDescriptionDefault
cpvNoCPV / ДК 021 codes or prefixes
nameYesAlert name
queryNoKeywords (same syntax as search_tenders)
methodsNoprocurementMethodType values
regionsNoUkrainian regions (names or slugs)
sourcesNoData sources; default ['prozorro']
categoryNoMain category
channelsNoDelivery channels; default ['email']
countriesNoEU countries for TED matches (ISO alpha-3 or names)
frequencyNorealtime, daily (07:30 Kyiv) or weekly (Monday)daily
value_maxNoMaximum expected value, UAH
value_minNoMinimum expected value, UAH
profile_idNoFill empty filters from this company profile ('default' allowed)
buyer_edrpouNoOnly tenders of this buyer

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
notesNo
filtersYes
sourcesYes
channelsYes
frequencyYes
is_activeYes
filters_summaryYes
last_notified_atNo
matches_last_30_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so safety and mutability are covered. The description adds genuinely new context that is not in the annotations: frequency and channels are plan-dependent and the number of alerts is capped by plan. However, it omits what happens on duplicate names or quota exhaustion (idempotentHint=false suggests duplicates are possible, but this is never stated).

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

Conciseness5/5

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

Two sentences, no filler, and the core definition (what is created, what it matches, how it notifies) is front-loaded ahead of the softer plan caveat. Nothing is repeated from the schema or annotations.

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?

With 14 parameters at full schema coverage and an output schema present, the description need not document fields or return values, and it correctly avoids doing so. The remaining gap is that plan-dependent behavior (which plan yields which frequency/channels, what the alert cap is) is referenced but never concretized, which matters for an agent deciding whether a call will succeed.

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 every one of the 14 parameters is already documented in the schema; that sets the baseline. The description adds only two marginal pieces of meaning beyond it — that the query uses the same syntax as search_tenders and that frequency/channels are plan-gated — while the plan-gating itself is not quantified (which plan allows realtime or Telegram).

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?

"Creates a saved alert" is a specific verb+resource, and the sentence goes further by explaining the matching mechanism (new Prozorro tenders, optionally TED notices) and the delivery channels (email/Telegram). It does not explicitly differentiate itself from update_alert, delete_alert, or list_alerts, so the agent must infer the create-vs-modify distinction from the verb alone.

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 explicit when-to-use or when-not-to-use guidance, and no sibling tool is named as an alternative (e.g. update_alert for existing alerts). The plan-limit sentence implies this is a billable/quota operation but does not tell the agent what to do when the quota is exhausted or how to check remaining quota via get_usage.

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.

Resources