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.2/5 across 3 of 3 tools scored.
The 'analyze_trace' tool's description explicitly includes loop detection and cost breakdown, making it a superset of 'breakdown_cost' and 'detect_loops'. This creates ambiguity about which tool to call for a specific subtask, as the agent might expect the specific tools to be separate but the general tool already does everything.
All three tools follow a consistent verb_noun pattern in snake_case (analyze_trace, breakdown_cost, detect_loops). There is no deviation in style, making the naming predictable and clear.
With 3 tools, the server is small but not unreasonably so. However, the redundancy between 'analyze_trace' and the other two suggests the count could be lower (2) without loss of functionality. Still, the scope is narrow enough that 3 tools are acceptable.
The server covers loop detection and cost breakdown, which are core for trace analysis, but it lacks tools for other common needs like step-by-step replay, error exploration, or performance profiling. The presence of an all-in-one 'analyze_trace' partially compensates, but the surface feels incomplete for comprehensive diagnostics.
Available Tools
3 toolsanalyze_traceBInspect
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 should fully disclose behavioral traits like side effects, data limits, or input validation. It only lists the types of analysis performed, omitting whether the tool modifies state, performance considerations, or error handling behavior.
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, front-loaded sentence that efficiently conveys the tool's purpose without unnecessary words or repetition.
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?
There is no output schema, yet the description does not specify the return format or structure of the diagnostics. For a multi-analysis tool, this omission leaves agents with incomplete understanding of what to expect.
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 description adds no value beyond the input schema for parameters. Schema coverage is 50% with pricing parameter lacking description; the tool description does not explain how parameters relate to the diagnostic outputs.
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 clearly enumerates specific capabilities (loop detection, cost breakdown, stuck-state classification, fix recommendations) and identifies the resource as an AI agent trace, distinguishing it from more focused sibling tools like breakdown_cost 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 a comprehensive diagnostic function but does not explicitly state when to use this tool over the more specific sibling tools, nor does it provide any exclusions or prerequisites.
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 must fully disclose behavioral traits. It implies a read-only operation (calculating cost) but does not explicitly state side effects, authentication needs, or performance implications. The feature 'supports custom pricing overrides' adds some behavioral context but is insufficient.
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 wasted words. It front-loads the core purpose. While concise, it could be slightly more informative without losing brevity.
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 no output schema and two parameters, the description is incomplete. It does not describe the return format (e.g., structure of per-model breakdown), nor does it specify what 'agent trace' means or required attributes. A more thorough description is needed for effective use.
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%, so the description must compensate. It adds meaning by stating 'from an agent trace' and 'custom pricing overrides,' linking the parameters to their roles. However, it does not explain the trace format or the structure of pricing overrides in detail, leaving gaps.
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 clearly states the tool calculates per-model token usage and USD cost from an agent trace. The verb 'Calculate' and resource 'cost' are specific, and it distinguishes from siblings like analyze_trace and detect_loops by focusing on cost.
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 offers no guidance on when to use this tool versus its siblings (analyze_trace, detect_loops). It does not specify context, prerequisites, or exclusions. The mention of 'custom pricing overrides' is a feature hint but not usage guidance.
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 present, so the description carries full burden. It fails to disclose whether the tool is read-only, what it returns, or any side effects. The behavior beyond detection is opaque.
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, well-structured sentence that front-loads the core purpose. Every word is informative with no redundancy.
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?
For a simple one-parameter tool with no output schema or annotations, the description provides adequate high-level understanding but lacks details on output format, usage constraints, and behavioral specifics. It is minimally viable.
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%, yet the description does not clarify the 'trace' parameter format (e.g., required structure, expected roles). It adds minimal meaning beyond the schema's type definition.
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 specifies the verb 'detect' and the resource 'agent trace', listing three specific pattern types (exact-call repeats, periodic cycles, ping-pong patterns). This clearly distinguishes the tool from siblings like analyze_trace and breakdown_cost.
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?
No guidance is provided on when to use this tool versus alternatives, nor when not to use it. The description lacks any context about prerequisites or typical use cases.
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!