graphql_schema_complexity_analyzer
Analyze GraphQL queries to calculate depth and complexity cost, protecting APIs from deeply nested recursive denial-of-service attacks.
Instructions
Calculates depth and complexity cost for GraphQL queries to protect APIs from deeply nested recursive denial-of-service queries. (0.035 USDC on Base L2)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payload": "<payload>"
},
"name": "graphql_schema_complexity_analyzer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |