Skip to main content
Glama

get_managed_transform

Retrieve managed transform configurations for specific sites using site ID and version. Integrates with the ESA MCP Server for AI model and Edge Security Acceleration service communication.

Instructions

Query Managed Transform Configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteIdYesSite ID, which can be obtained by calling ListSites.
siteVersionNoThe version number of the site. For sites with version management enabled, you can use this parameter to specify the effective version of the configuration, defaulting to version 0.

Implementation Reference

  • MCP tool handler function that invokes the API service with provided arguments and returns the JSON-stringified response.
    export const get_managed_transform = async (request: CallToolRequest) => { const res = await api.getManagedTransform( request.params.arguments as GetManagedTransformRequest, ); return { content: [{ type: 'text', text: JSON.stringify(res) }], success: true, }; };
  • Tool definition including input schema for 'get_managed_transform' with properties siteId (required) and siteVersion.
    export const GET_MANAGED_TRANSFORM_TOOL: Tool = { name: 'get_managed_transform', description: 'Query Managed Transform Configuration.', inputSchema: { type: 'object', properties: { siteId: { type: 'number', description: 'Site ID, which can be obtained by calling ListSites.', example: [12228828888], }, siteVersion: { type: 'number', description: 'The version number of the site. For sites with version management enabled, you can use this parameter to specify the effective version of the configuration, defaulting to version 0.', example: [0], }, }, required: ['siteId'], annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: false, }, }, };
  • Registration of the GET_MANAGED_TRANSFORM_TOOL in the managed transform tool list, which is included in the main ESA_OPENAPI_LIST.
    export const MANAGED_TRANSFORM_LIST = [ UPDATE_MANAGED_TRANSFORM_TOOL, GET_MANAGED_TRANSFORM_TOOL, ];
  • Registration of the tool handler 'get_managed_transform' in the esaHandlers object mapping tool names to their handler functions.
    export const esaHandlers: ToolHandlers = { site_active_list, site_match, site_route_list, site_record_list, routine_create, routine_code_commit, routine_delete, routine_list, routine_get, routine_code_deploy, routine_route_list, deployment_delete, route_create, route_delete, route_update, route_get, er_record_create, er_record_delete, er_record_list, html_deploy, create_site, update_site_pause, get_site_pause, create_site_mx_record, create_site_ns_record, create_site_txt_record, create_site_cname_record, create_site_a_or_aaaa_record, update_record, list_records, get_record, delete_record, update_ipv6, get_ipv6, update_managed_transform, get_managed_transform, set_certificate, apply_certificate, get_certificate, delete_certificate, list_certificates, get_certificate_quota, list_sites, };
  • Helper method in the API service client that wraps the Alibaba Cloud ESA getManagedTransform API call.
    getManagedTransform(params: GetManagedTransformRequest) { const request = new GetManagedTransformRequest(params); return this.callApi( this.client.getManagedTransform.bind(this.client) as ApiMethod< GetManagedTransformRequest, GetManagedTransformResponse >, request, ); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/mcp-server-esa'

If you have feedback or need assistance with the MCP directory API, please join our Discord server