Skip to main content
Glama
ahmedbally

clockwork-mcp-remote

by ahmedbally

get_queries

Retrieve database queries for a specific Clockwork request to analyze performance, filter slow queries, and set custom thresholds for debugging Laravel applications.

Instructions

Get database queries for a request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slowNoOnly return slow queries
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
requestIdYesClockwork request ID
thresholdNoSlow query threshold in ms

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, the description carries the full burden of behavioral disclosure, but it only states the basic operation. It does not mention authentication requirements, the meaning of the slow/threshold parameters, what the returned query list contains, or any pagination/ordering behavior.

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 clear sentence with no fluff or repetition. It is front-loaded and concise, though it achieves conciseness by omitting useful context that other dimensions penalize.

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?

The tool has seven parameters, including auth-related ones, and no output schema or annotations, yet the description provides only a one-line summary. It does not explain the auth flow, the slow-query filtering semantics, or what a caller should expect in the response, leaving an agent under-equipped to invoke it correctly.

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 the input schema already documents all seven parameters. The description adds little beyond implying that requestId is central, which is appropriate given the schema already carries the parameter-level detail.

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') and resource ('database queries') scoped to 'a request', which makes the tool's core function clear. It is distinguishable from siblings like get_query_stats and analyze_slow_queries, though it does not explicitly contrast itself with them.

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 gives no guidance on when to use this tool versus alternatives such as get_query_stats, analyze_slow_queries, or get_request. It only implies use for queries tied to a request via the phrase 'for a request', but provides no exclusions or routing cues.

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