Skip to main content
Glama

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

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

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.

100% free. Your data is private.
Tool DescriptionsB

Average 3.6/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool has a distinct role: complexity_meter analyzes query complexity, query_rewriter modifies overly complex queries, and rate_limiter enforces rate limits. No functional overlap.

Naming Consistency5/5

All tools use a consistent noun_noun pattern in snake_case (e.g., complexity_meter, query_rewriter, rate_limiter), maintaining uniformity across the set.

Tool Count5/5

Three tools are well-scoped for a server focused on GraphQL DoS protection, covering analysis, rewriting, and rate limiting without being excessive or insufficient.

Completeness4/5

The tool set covers core DoS mitigation aspects, but lacks persistent rate limiting state or more granular control like query depth thresholds. Minor gap.

Available Tools

3 tools
complexity_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.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesGraphQL query string to analyze
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It discloses return values and the meaning of CRITICAL risk level. However, it does not explicitly state that the tool is read-only or non-destructive, though this is implied given its analysis nature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and efficient: two sentences covering purpose and return values with example risk levels. No unnecessary words or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (single parameter, no output schema, no annotations), the description is largely complete. It explains the return structure and critical threshold. Minor omission: no mention of edge cases like invalid queries.

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 coverage is 100% for a single parameter. The description adds minimal value beyond the schema's 'GraphQL query string to analyze' by focusing on output semantics rather than parameter details. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Analyze GraphQL query complexity.' It lists specific return values (depth, field count, list multipliers, risk level) and distinguishes from siblings (query_rewriter, rate_limiter) by focusing on analysis rather than modification or limiting.

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?

No explicit guidance on when or when not to use this tool versus alternatives. While the purpose is clear, the description does not provide context for selection among sibling tools or mention prerequisites or exclusions.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesGraphQL query to simplify
max_depthNoMax nesting depth (default: 3)
max_fieldsNoMax fields (default: 10)
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Describes core behavior (strips nesting, truncates fields) but lacks details on side effects, error handling, or whether it modifies the query in place. No annotations are provided, so description carries full burden but is only partially adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence front-loads action and scope. No wasted words; every part adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a simple tool with 3 parameters and no output schema, but lacks details on return value, mutation behavior, and edge cases. Could be more informative.

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 covers 100% of parameters with descriptions. Description adds context by linking parameters to tool behavior ('strips excess nesting depth' for max_depth, 'truncates too many fields' for max_fields), but does not add significant new meaning beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool rewrites complex GraphQL queries by stripping excess nesting and truncating fields. Distinguishes from sibling tools complexity_meter and rate_limiter which have different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage for overly complex queries but does not explicitly state when to use or when alternatives are better. No mention of when not to use or comparison with siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

rate_limiterBInspect

Check and enforce rate limiting for a client. In-memory sliding window — state resets on cold start.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax requests per window (default: 100)
client_idYesUnique client identifier
window_msNoWindow in ms (default: 60000)
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description must fully disclose behavior. It mentions state resets on cold start, but does not specify what happens when rate limit is exceeded (e.g., error response, blocking). Key behavioral details are missing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no excess. First sentence states main purpose, second adds critical behavioral trait. Every word earns its place.

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?

No output schema and description does not explain return values or error conditions. For a rate limiter, missing details on response when limit is hit or exceeded. Sibling tools are unrelated, so no cross-context help.

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?

Input schema has 100% coverage with descriptions for each parameter. The tool description adds no additional meaning beyond what schema provides, so baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it checks and enforces rate limiting for a client, with specific mention of in-memory sliding window and state reset on cold start. This distinguishes it from sibling tools like complexity_meter and query_rewriter.

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?

No explicit guidance on when to use vs alternatives. While the purpose is clear, description does not mention when not to use or provide comparisons to sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.