Skip to main content
Glama
FouadHELLAL7

Datto EDR MCP Server

by FouadHELLAL7

datto_edr_alerts_count

Read-only

Count Datto EDR alerts matching the same filters as the alert list—time range, LoopBack where conditions, archive table, and archived status—to get totals for triage and reporting.

Instructions

Count alerts matching the same filters as datto_edr_alerts_list (GET /api/Alerts/count).

Input Schema

NameRequiredDescriptionDefault
whereNoExtra LoopBack where filter, combined with AND, e.g. {"hostname":{"ilike":"%sql%"}}. Operators: eq, neq, gt, gte, lt, lte, between, inq, nin, like, ilike, and, or. Use datto_edr_api_models to see a model's properties.
end_timeNoOnly alerts created at or before this ISO date/time
start_timeNoOnly alerts created at or after this ISO date/time
archive_tableNoQuery the alert archive table (alerts older than 30 days) instead of live alerts
include_archivedNoInclude alerts marked archived (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds the endpoint path and the important behavioral point that filters are shared with the list tool, but says nothing about the response shape (bare integer vs object) or how archive filters affect the total.

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?

A single front-loaded sentence with no filler; the core operation comes first and the endpoint is a useful parenthetical. It could have spent one more clause on the return value without becoming bloated.

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?

With five parameters (including a nested where object), no annotations explaining returns, and no output schema, the description should state what comes back (a count integer) and whether archive_table/include_archived change the total. Those omissions are survivable but leave a gap for a counting tool.

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 each of the five parameters is already documented in detail, including LoopBack operators and archive semantics. The description adds no parameter-level meaning beyond the pointer to the list tool's filters, so the baseline of 3 applies.

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 (count) and resource (alerts) and anchors it to an existing sibling (datto_edr_alerts_list) plus the underlying endpoint. An agent can immediately tell this returns a total rather than records.

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 reference to datto_edr_alerts_list establishes clear context: use the same filter set but obtain a count. It does not explicitly say 'prefer this over list when you only need a total', so the choice is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.