Skip to main content
Glama

routine_route_list

Retrieve and filter routes linked to an Edge Routine (ER) using the ESA MCP Server. Specify the routine name, route name, page number, and page size to manage and organize route listings efficiently.

Instructions

List all routes associated with a specific Edge Routine (ER).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNumberNoThe page number of the routes
pageSizeNoThe page size of the routes
routeNameNoThe name of the route, use to filter list results
routineNameYesThe name of the routine

Implementation Reference

  • The handler function that implements the core logic of the 'routine_route_list' tool by invoking the API to list routine routes based on the provided arguments and returning the result in the expected format.
    export const routine_route_list = async (request: CallToolRequest) => { const res = await api.listRoutineRoutes( request.params.arguments as ListRoutineRoutesRequest, ); return { content: [{ type: 'text', text: JSON.stringify(res) }], success: true, }; };
  • The registration of the tool including its name, description, and input schema definition.
    export const ROUTINE_ROUTE_LIST_TOOL: Tool = { name: 'routine_route_list', description: 'List all routes associated with a specific Edge Routine (ER).', inputSchema: { type: 'object', properties: { routineName: { type: 'string', description: 'The name of the routine', }, routeName: { type: 'string', description: 'The name of the route, use to filter list results', }, pageNumber: { type: 'number', description: 'The page number of the routes', }, pageSize: { type: 'number', description: 'The page size of the routes', }, }, required: ['routineName'], }, };
  • Registration of the routine_route_list handler in the esaHandlers object, mapping tool names to their handler functions.
    routine_route_list,
  • Inclusion of ROUTINE_ROUTE_LIST_TOOL in the ESA_OPENAPI_ER_LIST array for top-level tool registration.
    ROUTINE_ROUTE_LIST_TOOL,

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