Skip to main content
Glama

Suggest alerts

suggest_alerts
Read-onlyIdempotent

Suggest 2-3 alerts worth setting up for a client, based on the data in the ad accounts: what to watch, the threshold, how many days in a row, and why. Suggestions only: nothing is switched on; the person accepts one with a click in AdAce Ads (Automation, Monitors). Required client_id; optional language (en, uk, ru, de, es, it). Read-only; free: not counted as an action.

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

Input Schema

NameRequiredDescriptionDefault
languageNo
client_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds genuinely new behavior — no alert is actually created, acceptance is a click in AdAce Ads (Automation, Monitors), and calls are free and not counted against quota. The cost/quota disclosure in particular is information the agent cannot get from annotations. It stops short of saying anything about data recency requirements or failure modes.

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?

Front-loaded and dense: what it produces comes first, then the safety caveat, then parameters, then cost. Nearly every clause earns its place, though the inline enum list duplicates the schema and the '(Automation, Monitors)' breadcrumb reads more like end-user help text than agent guidance.

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 no output schema, the description correctly spends its words on the shape of the result (what to watch, threshold, consecutive days, rationale) and on what happens after. The remaining gap is prerequisite knowledge — where client_id comes from and whether the account needs a minimum history before useful suggestions can be produced.

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 0%, so the description should carry the load, and it does mention both parameters plainly (client_id required, language optional). However, the enumeration of language codes merely repeats the schema enum, and it never says how to obtain a valid client_id (presumably via list_clients) or explicitly that 'language' controls the language of the returned suggestions.

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?

States a specific verb and resource ('Suggest ... alerts') plus a precise scope: 2-3 alerts for a client, derived from ad-account data, with the four fields each suggestion carries. The 'suggestions only, nothing is switched on' clause separates it cleanly from the mutation siblings (create_campaign, approve_change) 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?

The description makes the usage context clear: propose monitoring rules for one client, which the human then accepts in the product UI. It does not contrast this with adjoining advisory tools such as find_anomalies or find_waste, so an agent must infer which analysis tool to reach for when the goal is diagnosis rather than alert setup.

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