Step 3 of 5

# GraphQL operation

Define the GraphQL operation this tool will execute. All requests are sent as HTTP POST to the endpoint configured in the previous step. Variables are populated from MCP tool arguments at runtime.

Operation type
GraphQL operation kind — subscriptions are not supported
Required
Query document
GraphQL document with typed variable declarations
Required
graphql / query
query GetContact($id: ID!) { contact(id: $id) { id firstName lastName email company { id name } createdAt } }
Variables are mapped in step 5
Declare all variables in the query document using the $variable: Type syntax. In step 5 you will map MCP input fields to these variables. Crank serializes the final {"query","variables"} payload automatically.