Skip to main content
Glama

transloadit_get_robot_help

Get documentation for Transloadit media processing robots, including summaries, parameter details, and usage examples for video encoding, image manipulation, and file conversion tasks.

Instructions

Returns a robot summary and parameter details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
robot_nameNo
robot_namesNo
detail_levelNo

Implementation Reference

  • The handler for the 'transloadit_get_robot_help' tool. It processes the input (robot_name/robot_names), fetches robot information using 'getRobotHelp', and formats the response.
    ({ robot_name, robot_names }) => {
      const splitComma = (value: string): string[] =>
        value
          .split(',')
          .map((part) => part.trim())
          .filter(Boolean)
    
      const prefersSingle =
        typeof robot_name === 'string' && robot_name.trim() !== '' && !robot_name.includes(',')
    
      const requested =
        robot_names && robot_names.length > 0
          ? robot_names
          : robot_name
            ? splitComma(robot_name)
            : []
    
      if (requested.length === 0) {
        return buildToolError('mcp_missing_args', 'Provide robot_name or robot_names.')
      }
    
      const robots: Array<{
        name: string
        summary: string
        required_params: unknown[]
        optional_params: unknown[]
        examples?: unknown[]
      }> = []
      const notFound: string[] = []
    
      for (const name of requested) {
        if (!isKnownRobot(name)) {
          notFound.push(name)
          continue
        }
        const help = getRobotHelp({
          robotName: name,
          detailLevel: 'full',
        })
    
        robots.push({
          name: help.name,
          summary: help.summary,
          required_params: help.requiredParams,
          optional_params: help.optionalParams,
          examples: help.examples,
        })
      }
    
      if (prefersSingle) {
        return buildToolResponse({
          status: 'ok',
          robot: robots[0],
          not_found: notFound.length > 0 ? notFound : undefined,
        })
      }
    
      return buildToolResponse({
        status: 'ok',
        robots,
        not_found: notFound.length > 0 ? notFound : undefined,
      })
  • Registration of the 'transloadit_get_robot_help' tool within the server.
    server.registerTool(
      'transloadit_get_robot_help',
      {
        title: 'Get robot parameter help',
        description: 'Returns a robot summary and parameter details.',
        inputSchema: getRobotHelpInputSchema,
        outputSchema: getRobotHelpOutputSchema,
      },
  • Schema definition for the 'transloadit_get_robot_help' tool.
    {
      name: 'transloadit_get_robot_help',
      title: 'Get Robot Help',
      description: 'Returns a robot summary and parameter details.',
      inputSchema: {
        type: 'object',
        additionalProperties: false,
        properties: {
          robot_name: { type: 'string' },
          robot_names: { type: 'array', items: { type: 'string' } },
        },
      },

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/transloadit/node-sdk'

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