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.3/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool addresses a distinct aspect of GraphQL DoS protection: complexity analysis, query rewriting, and rate limiting. No overlap in functionality.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (complexity_meter, query_rewriter, rate_limiter), making them predictable.

Tool Count5/5

Three tools is an ideal number for this domain: measurement, mitigation, and access control. Each tool is necessary and sufficient.

Completeness4/5

The tool set covers the core workflow of detecting, rewriting, and rate-limiting complex queries. Minor gaps like blocking or white-listing are absent but not critical for basic functionality.

Available Tools

3 tools
complexity_meterBInspect

Analyze GraphQL query complexity including depth, field count, and risk level

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesGraphQL query string to analyze
Behavior2/5

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

No annotations provided, and the description only states the analysis function. It does not disclose whether the tool is read-only, has side effects, requires authentication, or has rate limits. The term 'analyze' implies non-destructive operation but is not explicit.

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?

Description is a single sentence with 12 words, front-loaded with the verb 'Analyze', and no extraneous text. Every word contributes to understanding.

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 has 1 parameter and no output schema, the description adequately explains the tool's purpose and what it outputs (depth, field count, risk level). However, it could be slightly more complete by mentioning the return format or any constraints.

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 parameter is fully documented in the schema. The tool description does not add additional semantic information about the parameter beyond the schema, but it does provide context that the query string is used for complexity analysis.

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?

Description clearly states the tool analyzes GraphQL query complexity, listing specific outputs (depth, field count, risk level). It distinguishes from siblings query_rewriter and rate_limiter which handle different tasks.

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 guidance on when to use this tool versus alternatives like query_rewriter or rate_limiter. Does not state prerequisites or scenarios where analysis is appropriate.

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

query_rewriterAInspect

Rewrite overly complex GraphQL queries to reduce cost and prevent DoS

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesGraphQL query to rewrite
max_depthNoMaximum nesting depth (default: 3)
max_fieldsNoMaximum fields per level (default: 10)
Behavior2/5

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

No annotations are provided, so the description must bear full burden. It only states purpose; it does not disclose whether rewrites are destructive, whether query semantics change, authentication needs, or failure behavior. This is insufficient for a tool that modifies data.

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 a single sentence of 13 words, front-loading the action and purpose. Every word contributes, with no wasted verbiage.

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?

While input schema is fully described, there is no output schema or behavioral details. The tool rewrites queries but does not explain the output format, side effects, or error handling, leaving gaps for an AI agent.

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% with descriptions for all three parameters. The description adds context about reducing cost and DoS, but does not significantly enhance understanding of parameter meaning beyond what the schema already provides.

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 action (rewrite) and the resource (GraphQL queries), with a specific goal (reduce cost and prevent DoS). It distinguishes from siblings (complexity_meter, rate_limiter) which measure or limit, not rewrite.

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

Usage Guidelines4/5

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

The description implies use for overly complex queries, but does not explicitly mention when not to use or compare to sibling tools. Context is clear but lacks exclusion criteria.

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

rate_limiterCInspect

Check and enforce rate limiting for API clients

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoRequest limit per window (default: 100)
client_idYesUnique client identifier
window_msNoTime window in milliseconds (default: 60000)
Behavior2/5

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

With no annotations, the description must provide behavioral details. It mentions 'check and enforce' but does not explain what enforcement entails (e.g., blocking requests, throttling, or returning errors). No disclosure of side effects or state changes.

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 concise sentence that conveys the core purpose. No unnecessary words. However, it is very brief and could be expanded slightly without losing conciseness.

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?

Given no output schema and no annotations, the description should at least indicate what the tool returns (e.g., whether the client is allowed) and what happens when limits are exceeded. It lacks this essential context.

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?

The input schema has 100% coverage with descriptions for all three parameters, so the description adds no extra meaning. Baseline score of 3 is appropriate.

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 the tool's function: checking and enforcing rate limits for API clients. It distinguishes itself from sibling tools (complexity_meter, query_rewriter) by focusing on rate limiting. However, it could be more specific about the exact action, e.g., returning a boolean or status.

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 guidance on when to use this tool versus alternatives. The description does not mention prerequisites, limitations, or scenarios where the tool is appropriate or inappropriate.

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.