Invoke an MCP tool

After you discover the available tools, your Model Context Protocol (MCP) client can invoke a tool to run an operation on an Akamai product through the Akamai MCP Server. The invocation sends a structured request with the required inputs over the existing MCP session and receives a structured response.

👍

Available tools change often. For the current list, check the MCP Token Manager. To check which tools your connected AI agent can use, ask:

What tools does this project provide?

Understand the invocation process

All tool invocations use the existing Streaming HTTP MCP connection. An invocation follows this flow:

  1. The client sends a request over an active session.
  2. The Akamai MCP Server, acting as a gateway, validates the authentication and request structure.
  3. The gateway routes the request to the appropriate product MCP server, which runs the operation.
  4. The gateway returns the result to the client over the same session.

Because the session stays open, the client can invoke several tools in a single, continuous MCP session.

This diagram shows how the Akamai MCP Server routes communication between your environment and Akamai products:

A diagram showing how the Akamai MCP Server routes requests to Akamai products.

Review required inputs

Every tool invocation must include these inputs so the gateway can authenticate the request and route it to the right product server:

Required inputDescriptionFailure behavior
Tool nameThe identifier returned during tool discovery.The invocation fails if the name is missing or doesn't match a discovered tool.
Input parametersThe required and optional fields defined in the tool schema.The invocation fails if required parameters are missing or malformed.
Authentication contextThe context derived from the MCP token that started the session.The gateway rejects the request before routing if the token is invalid or expired.

Address authorization requirements

Before it routes an invocation, the Akamai MCP Server checks three conditions. If any check fails, it rejects the request:

  • Token configuration. The target product is configured for the MCP token in the MCP Token Manager, and the tool is one of its allowed tools.
  • User permissions. The account credentials have permission to perform the requested action.
  • Input validation. All parameters match the names and data types defined in the tool schema.

Understand tool responses

Each invocation returns a structured response defined by the tool's output schema. The Akamai MCP Server doesn't modify product output. It returns the result exactly as the product MCP server produced it. This table shows the response components:

Response componentDescriptionWhen present
Result dataThe output of the requested operation.Successful invocations.
Status informationShows whether the invocation succeeded or failed.All invocations.
Error detailsDescribes the reason for the failure.Failed invocations only.

Did this page help you?