agent-loop-detector
Server Details
Cloudflare Workers MCP server: agent-loop-detector
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- lazymac2x/agent-loop-detector-api
- GitHub Stars
- 0
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 3.4/5 across 3 of 3 tools scored.
The tools have clear granularity distinctions: analyze_trace is the comprehensive diagnostic, while detect_loops and breakdown_cost target specific aspects. However, analyze_trace overlaps with both specialized tools, which could cause an agent to hesitate between calling it or the more specific one. The descriptions mitigate this by stating the scope explicitly.
Three tools use snake_case, but while analyze_trace and detect_loops follow a verb_noun pattern, breakdown_cost is a compound noun phrase, deviating from the verb-first style. The naming is otherwise consistent and readable.
With only three tools, the server stays focused on its stated purpose of trace analysis. Each tool serves a distinct role, and the count feels appropriate for a specialized utility.
The server covers loop detection, cost breakdown, and comprehensive diagnostics including stuck-state and recommendations. No obvious gaps exist for the domain, as the full diagnostic subsumes the specialized functions.
Available Tools
3 toolsanalyze_traceAInspect
Full diagnostic: loop detection, cost breakdown, stuck-state classification, and fix recommendations for an AI agent trace.
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes | Ordered array of agent steps (role, tool, input, output, tokens, model) | |
| pricing | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the transparency burden. It does disclose the main analytical behaviors (loop detection, cost breakdown, stuck-state classification, fix recommendations), but it does not explicitly state that the tool is read-only, describe any side effects, or mention permissions/rate limits. This leaves some behavioral aspects implicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the core purpose with 'Full diagnostic' and immediately lists the specific diagnostic components. Every phrase contributes meaning, with no filler or repetition, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a complex tool with multiple diagnostic outputs and no output schema, yet the description does not explain the return format, how fix recommendations are presented, or the expected shape of the pricing input. Given the absence of annotations and output schema, the one-line description is insufficient for an agent to fully anticipate the tool's behavior and outputs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The trace parameter is described in the schema, but the pricing parameter has no schema description and the tool description only indirectly references it via 'cost breakdown.' The description does not compensate for the 50% schema coverage gap by explaining the pricing object's meaning or optionality, leaving its semantics unclear.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Full diagnostic' and enumerates specific capabilities: loop detection, cost breakdown, stuck-state classification, and fix recommendations. This clearly identifies the resource (AI agent trace) and scope, and distinguishes it from the focused siblings breakdown_cost and detect_loops by covering both analyses plus additional diagnostics.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'Full diagnostic' implies use when a comprehensive analysis is needed, but the description does not explicitly state when to prefer this tool over the siblings or when not to use it. No alternatives are named, so guidance is only implied rather than made explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
breakdown_costBInspect
Calculate per-model token usage and USD cost from an agent trace. Supports custom pricing overrides.
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes | ||
| pricing | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It only restates the pricing override feature already visible in the schema and does not disclose behaviors like input validation, side effects, or return structure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two short sentences with no filler or redundant content. Every word adds meaning, and the key information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description should define expected return values and input constraints. It only vaguely says 'per-model token usage and USD cost' and does not describe the trace format or output breakdown, which is inadequate for a tool with nested objects.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It mentions 'custom pricing overrides' and 'per-model' but does not explain the meaning of pricing.in/out fields or the required structure of trace entries.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Calculate' and identifies the resource as 'per-model token usage and USD cost from an agent trace.' This clearly distinguishes the tool from sibling tools like analyze_trace and detect_loops.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies it should be used when a cost breakdown is needed, but it does not explicitly state when to prefer this over analyze_trace or detect_loops, nor does it mention any alternatives or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
detect_loopsBInspect
Detect exact-call repeats, periodic tool-call cycles, and ping-pong patterns in an agent trace.
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. However, it only states what patterns are detected and does not disclose return format, side effects, limitations, or whether the tool is read-only. The behavioral profile is under-specified.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, direct sentence with no filler or redundancies. It is concise and front-loaded, clearly stating the tool's core function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations, a minimal schema, and no output schema, the description is not complete enough. It fails to explain what the tool returns, the expected input format, or any behavioral nuances, making it difficult for an agent to invoke it with confidence.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, and the description only refers to 'agent trace' without explaining the structure of the trace array or the expected fields of its objects. This leaves the agent with insufficient information to construct the parameter correctly.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Detect') and clearly defines the resource: exact-call repeats, periodic tool-call cycles, and ping-pong patterns in an agent trace. This distinguishes it from siblings like analyze_trace and breakdown_cost, which have broader or different scopes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to use detect_loops over analyze_trace or breakdown_cost. The usage is implied by the name and description, but no alternatives, exclusions, or contextual triggers are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Flicense-qualityCmaintenanceDeployable MCP server on Cloudflare Workers without authentication, enabling AI agents to use custom tools via SSE endpoint. Supports connection to Cloudflare AI Playground and local clients like Claude Desktop.Last updated
- Flicense-qualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling integration with AI clients like Claude Desktop and Cloudflare AI Playground for tool execution.Last updated
- Alicense-qualityDmaintenanceLightweight MCP server that allows agents to interface with the Neon REST API, deployed on Cloudflare Workers.Last updatedMIT
- Flicense-qualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling tool usage via SSE from clients like Cloudflare AI Playground and Claude Desktop.Last updated10