Skip to main content
Glama
utmstack

UTMStack MCP Server

by utmstack

count_events

Check if any events match specified filters and time window, returning a boolean result for quick event existence verification.

Instructions

Return true/false whether any events match the given filters and time window. server: which configured server to target (default active/default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNonow
startNonow-24h
serverNo
filtersNo
index_patternNov11-log-*

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It states the boolean return type but does not mention side effects, permissions, rate limits, or the fact that it does not return counts despite the tool name.

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?

The description is concise with two sentences, clearly stating the overall function and explaining one parameter. However, embedding parameter docs in the description rather than the schema is a slight structural issue.

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?

Given the tool returns a boolean (output schema exists), the description need not cover return values, but it lacks important context about filter syntax, time window format, and the discrepancy between name and behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description only adds meaning to the 'server' parameter. The other four parameters (end, start, filters, index_pattern) lack any description, leaving gaps for the agent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it returns true/false for matching events, which clarifies its boolean nature, but the name 'count_events' suggests a count, creating a mismatch. It is distinct from sibling tools like search_logs.

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?

No when-to-use or when-not-to-use guidance is provided. There is no mention of alternatives like search_logs for actual event retrieval, though the server parameter is briefly described.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/utmstack/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server