Skip to main content
Glama

Alert history

get_alert_history
Read-onlyIdempotent

Emails sent by the website's alerts, newest first: alert, goal, instant or summary, conversions, status and errors.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_alert_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return (1–100).
fieldsNoOptional: only these parts of the answer, as comma-separated dot paths (e.g. overview.current,series.date,series.visitors). Through a list a path applies to every item; period is always kept. An unknown top-level name fails with the list of valid ones. Leave out for the full answer.
alert_idNoOnly this alert (ID from list_alerts).
website_idNoWebsite ID from list_websites (the data-site-id value in the tracking script).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuine context beyond them: this returns sent email records rather than alert configuration, they are ordered newest first, and each row carries delivery status and errors — which tells an agent this is a delivery audit, not a re-send or preview operation.

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?

One compact sentence, front-loaded with the resource and ordering, then the row fields. No filler or repetition. It is a fragment rather than a full sentence, which is fine for a tool definition and keeps it scannable.

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?

There is no output schema, so the description carries the burden of telling the agent what comes back, and it does so by enumerating the row fields and sort order. With four fully documented, all-optional parameters, the definition covers what an agent needs. It is missing only edge context such as default limit behaviour or whether records can be empty for a website with no alerts.

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%, with limit, fields, alert_id and website_id each documented in the schema, so the baseline is 3. The description adds no parameter-level meaning — nothing about default limit, how the 'fields' projection interacts with the row contents, or whether website_id is required in practice. It does not compensate beyond what the schema already says.

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 names a specific resource — the emails dispatched by a website's alerts — and specifies ordering (newest first) plus the per-row contents (alert, goal, instant or summary, conversions, status, errors). That is enough to separate it from siblings like list_alerts (definitions) and get_errors. It stops short of an explicit verb ('list'/'retrieve') and never names an alternative tool, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent infers this is the tool for inspecting which alert emails were sent. There is no when-to-use/when-not statement and no explicit routing against list_alerts or get_errors. The only connective guidance is indirect, via the alert_id schema text pointing at list_alerts.

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