util_graphql
GraphQL query analyzer (depth, aliases, cost) — Offline static analysis of a GraphQL query, mutation or subscription document, for API gateways and agents that build or screen GraphQL requests. Pass query (the GraphQL document). Returns syntax validity (422 with line and column on syntax errors, not charged), each operation with type, name, variables, top-level fields, field count, max depth, alias count, estimated result nodes (page-size args like first, last and limit multiplied down the tree), directives, plus issues: undefined or unused fragments and variables, fragment cycles, duplicate names, subscription root rules, depth / alias / cost limits, alias batching (e.g. many aliased login mutations) and introspection use. Verdict OK / REVIEW / REJECT. Optional max_depth (default 10), max_aliases (default 15), max_nodes (default 10000). No schema is needed or checked. Price: $0.002 USDC (Base, via x402).
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": {
"query": "<query>"
},
"name": "util_graphql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | query { user(id: 1) { name friends(first: 10) { name } } } |