graphql_optimize_queries
Analyze GraphQL queries to identify performance bottlenecks, detect N+1 issues, and get actionable optimization suggestions.
Instructions
Pro: Analyze and optimize GraphQL queries for performance, detect N+1 issues
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": {
"schema": "<schema>",
"query": "<query>"
},
"name": "graphql_optimize_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The GraphQL query to optimize | |
| schema | Yes | GraphQL schema SDL or summary | |
| api_key | No | API key for authentication |