Skip to main content
Glama

list-templates

Retrieve available pod templates from the RunPod API to configure and deploy cloud computing instances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the 'list-templates' tool handler. It is registered inline with no input schema. The handler performs a GET request to '/templates' using the shared runpodRequest helper and returns the result as a JSON-formatted text message.
    server.tool('list-templates', {}, async () => { const result = await runpodRequest('/templates'); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; });
  • src/index.ts:494-505 (registration)
    Registration of the 'list-templates' tool using server.tool() with empty schema and inline handler.
    server.tool('list-templates', {}, async () => { const result = await runpodRequest('/templates'); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; });

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/runpod/runpod-mcp-ts'

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