Skip to main content
Glama

relay_skills_list

Discover pre-built workflow skills for common tasks like invoice processing and content pipelines. Filter by category to find reusable patterns with usage examples and context reduction metrics.

Instructions

List available pre-built workflow skills. Skills are reusable patterns for common tasks (invoice processing, content pipelines, etc.). Returns skill names, descriptions, context reduction metrics, and usage examples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoOptional: filter by category

Implementation Reference

  • Core handler function that lists available skills, optionally filters by category, sorts them by category and name, and returns the response.
    export async function relaySkillsList( input: RelaySkillsListInput ): Promise<RelaySkillsListResponse> { let skills = [...SKILLS]; // Filter by category if specified if (input.category && input.category !== 'all') { skills = skills.filter(s => s.category === input.category); } // Sort by category, then by name skills.sort((a, b) => { if (a.category !== b.category) { return a.category.localeCompare(b.category); } return a.name.localeCompare(b.name); }); return { skills }; }
  • Zod schema for input validation of the relay_skills_list tool.
    export const relaySkillsListSchema = z.object({ category: z .enum(['extraction', 'content', 'integration', 'all']) .optional() .describe('Optional: filter by category'), });
  • MCP tool definition including name, description, and input schema specification used for registration.
    export const relaySkillsListDefinition = { name: 'relay_skills_list', description: 'List available pre-built workflow skills. Skills are reusable patterns for common tasks (invoice processing, content pipelines, etc.). Returns skill names, descriptions, context reduction metrics, and usage examples.', inputSchema: { type: 'object' as const, properties: { category: { type: 'string', description: 'Optional: filter by category', enum: ['extraction', 'content', 'integration', 'all'], }, }, }, };
  • src/server.ts:59-67 (registration)
    The relaySkillsListDefinition is included in the TOOLS array, which is served in response to listTools requests.
    const TOOLS = [ relayModelsListDefinition, relayRunDefinition, relayWorkflowRunDefinition, relayWorkflowValidateDefinition, relaySkillsListDefinition, relayRunsListDefinition, relayRunGetDefinition, ];
  • src/server.ts:129-132 (registration)
    Dispatch logic in the central callTool handler that parses input with the schema and invokes the tool handler.
    case 'relay_skills_list': { const parsed = relaySkillsListSchema.parse(args || {}); result = await relaySkillsList(parsed); break;

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/RelayPlane/mcp-server'

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