Skip to main content
Glama
ahmedbally

clockwork-mcp-remote

by ahmedbally

get_middleware_chain

Fetch the middleware chain for a specific Laravel request using its Clockwork request ID. Inspect executed middleware to debug request handling and identify filters applied.

Instructions

Get middleware chain for a request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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

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. The verb 'Get' implies a read-only operation, but the description does not disclose authentication requirements, error behavior, output format, or any prerequisites. This is a significant gap for a bearer of authentication-related parameters.

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 sentence with no wasted words and the core action is front-loaded. However, the extreme brevity also contributes to under-specification, so it is concise but not richly informative.

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 no output schema and no annotations, yet the description does not explain what the middleware chain contains, what the response looks like, or how authorization and baseUrl interact. An agent would need to infer critical context from sibling tool names and parameter names alone, which is insufficient.

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 five parameters. The description adds no additional parameter semantics, which lands at the baseline for full schema coverage.

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 clearly states a specific action ('Get'), a specific resource ('middleware chain'), and a target scope ('for a request'). It is distinguishable from most sibling tools by its unique resource, though it does not explicitly differentiate itself from related request-level getters.

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?

There is no guidance on when to use this tool versus alternatives like get_request, explain_request_flow, or get_timeline. It also does not mention that a requestId must already exist or how to obtain it, leaving usage context entirely to inference.

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