Skip to main content
Glama

bittensor_translate

Translate text between languages using Bittensor's decentralized machine translation network. Specify target language in your prompt for accurate multilingual conversion.

Instructions

Multilingual translation via Bittensor subnet 3 (Machine Translation). Cost: $0.005 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText to translate, including target language (e.g. 'Translate to French: Hello world')

Implementation Reference

  • The handler logic for bittensor_translate, which calls the gateway API with the "bittensor-translate" route.
    case "bittensor_translate":
      result = await callGateway({ route: "bittensor-translate", prompt: a.prompt });
      break;
  • The definition and schema for the bittensor_translate tool.
    {
      name: "bittensor_translate",
      description:
        "Multilingual translation via Bittensor subnet 3 (Machine Translation). Cost: $0.005 per call.",
      inputSchema: {
        type: "object",
        properties: {
          prompt: {
            type: "string",
            description: "Text to translate, including target language (e.g. 'Translate to French: Hello world')",
          },
        },
        required: ["prompt"],
      },
    },

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/wizerai1111/swarmrails-mcp'

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