graphql-dos-shield
Server Details
Cloudflare Workers MCP server: graphql-dos-shield
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- lazymac2x/graphql-dos-shield-api
- GitHub Stars
- 0
Available Tools
3 toolscomplexity_meterAInspect
Analyze GraphQL query complexity. Returns depth, field count, list multipliers, and a risk level (LOW/MEDIUM/HIGH/CRITICAL). CRITICAL means the query should be rejected.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL query string to analyze |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the return values (depth, field count, list multipliers, risk level) and interprets CRITICAL as 'should be rejected', which is valuable behavioral context. It doesn't mention side effects, but 'Analyze' implies a non-destructive operation, and the return description is sufficient for this simple tool.
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 sentences, front-loaded with the purpose, then the outputs. Every sentence earns its place, with no filler or redundancy. Ideal size for a single-parameter tool.
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 tool with one parameter, no output schema, and no annotations, the description is complete. It states what it does, what it returns, and the meaning of the risk level. There is no significant missing context.
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 schema already provides a clear description for the sole parameter 'query' (100% coverage), so the description adds little beyond schema. It doesn't elaborate on formatting, size limits, or edge cases, but the baseline of 3 is appropriate when the schema fully documents the parameter.
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 ('Analyze') and resource ('GraphQL query complexity'), clearly distinguishing this tool from siblings like query_rewriter (which rewrites) and rate_limiter (which rate limits). It also details the specific outputs (depth, field count, list multipliers, risk level).
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 context is clear: this tool analyzes GraphQL query complexity, and the CRITICAL risk level implies rejection decisions. However, it does not explicitly state when to use this vs. alternatives or mention any exclusions, so it lacks the explicit alternatives guidance seen in higher-scoring examples.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
query_rewriterAInspect
Text-level rewrite of an overly complex GraphQL query: strips excess nesting depth and truncates too many fields.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL query to simplify | |
| max_depth | No | Max nesting depth (default: 3) | |
| max_fields | No | Max fields (default: 10) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It states the tool operates at the 'text-level', indicating a non-executing transformation, and describes the functional changes (strips nesting, truncates fields). However, it does not mention side effects, return format, or any prerequisites. This is minimal viable transparency but lacks deeper behavioral disclosure.
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 with no redundancy. Every phrase ('text-level rewrite', 'strips excess nesting depth', 'truncates too many fields') contributes to understanding, 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?
With no output schema, the description should clarify what the tool returns. It says 'rewrite' but does not explicitly state that it returns the simplified query string. The tool is simple, and the description covers the core action, but the missing return value statement leaves a gap for full completeness. A 3 is appropriate.
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 100%, providing baseline 3. The description adds meaning by linking 'strips excess nesting depth' to max_depth and 'truncates too many fields' to max_fields, explaining the purpose of these parameters beyond their raw schema definitions. This enriches the semantics, supporting a 4.
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's function: 'Text-level rewrite of an overly complex GraphQL query: strips excess nesting depth and truncates too many fields.' This specifies the verb (rewrite), the resource (GraphQL query), and the specific actions (strips depth, truncates fields), distinguishing it from siblings like complexity_meter and rate_limiter.
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 usage for overly complex queries, which provides clear context. However, it does not explicitly name alternatives or state when not to use this tool versus complexity_meter or rate_limiter. It gives context without exclusions, so a 4 is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
rate_limiterAInspect
Check and enforce rate limiting for a client. In-memory sliding window — state resets on cold start.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max requests per window (default: 100) | |
| client_id | Yes | Unique client identifier | |
| window_ms | No | Window in ms (default: 60000) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses two important behavioral traits: it uses an in-memory sliding window and state resets on cold start. This adds meaningful context for correctness. However, it does not describe enforcement details (e.g., what happens when the limit is exceeded) or return 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 extremely concise: two sentences, with the primary purpose front-loaded and the key behavioral caveat in the second sentence. Every word earns its place.
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 no annotations, the description should explain more about return values or enforcement behavior. It covers the core purpose and one limitation (state reset), but lacks details on success/failure responses or how 'enforce' manifests. This is adequate but has clear gaps.
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 input schema covers 100% of parameters with descriptions, so the baseline is 3. The tool description adds no extra meaning about parameters (e.g., how limit and window_ms interact), but the schema already provides the necessary definitions.
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's function with a specific verb ('Check and enforce rate limiting') and resource ('rate limiting for a client'). It distinguishes itself from sibling tools (complexity_meter, query_rewriter) which serve different purposes.
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 usage (if you need rate limiting, use this tool) but does not explicitly state when to use it versus alternatives, nor any exclusions. It lacks direct guidance on when not to use this tool or when a sibling would be more appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user or an account that owns the GitHub organization, then choose Claim with GitHub.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
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
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
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 Connectors
Cloudflare Workers MCP server: graphql-rest-bridge
Cloudflare Workers MCP server: ai-guardrails
Cloudflare Workers MCP server: ai-gateway
Cloudflare Workers MCP server: api-payload-auditor
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAllows you to deploy a remote MCP server without authentication on Cloudflare Workers.
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server template that runs on Cloudflare Workers + TypeScript, enabling quick creation of tools like calculations, API wrappers, and static data endpoints.15
- AlicenseNot gradedqualityBmaintenanceDeployable stateless remote MCP server on Cloudflare Workers without auth, with support for registering custom tools and connecting to MCP clients.12MIT
- FlicenseNot gradedqualityCmaintenanceA remote MCP server on Cloudflare Workers protected by Okta custom authorization server, demonstrating tool-level authorization via JWT access tokens and scopes/groups.
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
Each tool targets a distinct concern: complexity analysis, query rewriting, and rate limiting. There is no overlap in purpose or behavior.
All tool names follow the same snake_case pattern with a noun+verb style (complexity_meter, query_rewriter, rate_limiter). Consistent and predictable.
Three tools cover the core aspects of a GraphQL DoS shield (analysis, mitigation, and client limiting). The count feels appropriate for the narrow scope.
The surface covers the main stages of DoS protection: analyze complexity, rewrite problematic queries, and rate-limit clients. A minor gap is the lack of a manual reset or configuration tool, but the core workflow is complete.