Skip to main content
Glama
ahmedbally

clockwork-mcp-remote

by ahmedbally

get_query_stats

Retrieve aggregate query statistics for a request to analyze database performance and identify slow queries or bottlenecks.

Instructions

Get aggregate query statistics for a request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoUnix timestamp end
fromNoUnix timestamp start
tokenNoPre-authenticated X-Clockwork-Auth token (alternative to password)
baseUrlNoClockwork application base URL (e.g. https://my-app.test). Overrides CLOCKWORK_BASE_URL / local storage for this call
passwordNoClockwork authentication password
usernameNoClockwork authentication username
requestIdNoStats for specific request, or aggregate if omitted

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states 'Get aggregate query statistics' without mentioning authentication requirements, the distinction between requestId-specific and aggregate results, time-range behavior, or the output format. It is not misleading, but it is far too thin for a tool with 7 parameters and no output schema.

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 a single concise sentence with no fluff. It is front-loaded with the key action and resource, though it sacrifices useful detail for brevity. Structure is clean and efficient.

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 has 7 optional parameters, no annotations, no output schema, and many closely related sibling tools, the description is incomplete. It omits when requestId should be used, whether the result is per-request or cross-request aggregate, and any authentication context. The schema covers parameter definitions, but the description fails to provide the needed operational context.

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 coverage is 100%, so the baseline is 3. The description itself adds no parameter meaning beyond what the schema already provides, but the strong schema descriptions cover the semantics of from/to, authentication, baseUrl, and requestId.

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 verb ('Get'), resource ('aggregate query statistics'), and scope ('for a request'), which distinguishes its basic purpose from sibling tools like get_queries or analyze_slow_queries. However, it does not explicitly differentiate from siblings or clarify the 'aggregate vs. specific request' semantics.

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?

The description provides no guidance on when to use this tool versus alternatives such as get_queries, analyze_slow_queries, or get_query_stack_trace. The phrase 'aggregate query statistics' implies a use case, but there is no explicit context, exclusions, or alternative routing.

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

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/ahmedbally/clockwork-mcp'

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