Skip to main content
Glama
Exceptionless MCP Server

Exceptionless MCP Server

count-events

Count Exceptionless events with optional aggregations by time, type, tag, or other fields to analyze event volume and trends.

Instructions

Count events with optional aggregations (date:1h, type, tag, etc).

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": "count-events"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoTime range (e.g. last hour, last 7 days, last week)
filterNoFilter query (e.g. type:error, tag:prod, date:>now-7d)
offsetNoTimezone offset in minutes
project_idNoProject ID to filter events (overrides EXCEPTIONLESS_PROJECT_ID if set)
aggregationsNoComma-separated aggregations (e.g. date:1h, type, tag)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose that aggregations group results ('date:1h, type, tag'), but says nothing about the returned shape (counts, grouped buckets, ordering), permission or project-scoping behavior, result limits, or whether counts are approximate — all material for a query tool.

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 short sentence with the verb and capability front-loaded and no filler. It is efficient, though the brevity comes partly at the cost of the missing behavioral detail noted elsewhere.

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

Completeness2/5

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

For a five-parameter query tool with no annotations and no output schema, the description should explain what the response looks like and how the optional filters and aggregations interact. None of that is present, so an agent knows the tool counts events but not what it will receive back.

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 all five parameters are already documented in the input schema. The description's aggregation examples ('date:1h, type, tag') merely echo the schema's own example and add no new syntax, defaults, or interaction rules (e.g., how time and filter combine).

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 states a specific verb and resource ('Count events') and names the optional aggregation capability, which clearly separates it from retrieval siblings like get-events or get-event. It stops short of explicitly contrasting those siblings, but the count-vs-fetch distinction is unambiguous.

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 by the verb: an agent can infer this is for totals/grouped numbers rather than raw event payloads. There is no explicit when-to-use statement, no when-not-to-use, and no mention of the get-events siblings that would be the alternative for retrieving actual event records.

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