Skip to main content
Glama

decodeBase64

Decode Base64 encoded data quickly and accurately using this MCP-helper-tools utility. Input your Base64 string to retrieve the original decoded content.

Instructions

Decode Base64 input data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesData to decode

Implementation Reference

  • The handler function that executes the decodeBase64 tool logic, decoding the input string from base64 using Node.js Buffer and returning it as text content.
    handler: async ({ input }: { input: string }) => { const decoded = Buffer.from(input, 'base64').toString('utf-8'); return { content: [ { type: 'text', text: decoded } ] }; }
  • The input schema defining the expected arguments for the decodeBase64 tool: an object with a required 'input' string.
    inputSchema: { type: 'object', properties: { input: { type: 'string', description: 'Data to decode' } }, required: ['input'] },
  • src/index.ts:27-33 (registration)
    Registers the decodeBase64 tool (via encodingTools) by including it in the allTools collection used by the MCP server's listTools and callTool request handlers.
    const allTools: ToolKit = { ...encodingTools, ...geoTools, ...generatorTools, ...dateTimeTools, ...securityTools };

Other Tools

Related Tools

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/MissionSquad/mcp-helper-tools'

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