Skip to main content
Glama
devkit-mcp

devkit-mcp

by RaihNoDev2

base64_encode

Read-onlyIdempotent

Encodes UTF-8 text as Base64 to prepare strings for storage, transmission, or embedding in text-based formats.

Instructions

Codifica um texto UTF-8 em Base64.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "base64_encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesTexto a codificar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered structurally. The description adds one genuinely useful behavioral fact — that the input is treated as UTF-8 — but says nothing about padding, line breaks, or whether the output is returned raw or wrapped in an object.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with zero filler, and the key information (input type and target encoding) is front-loaded. Appropriate sizing for a trivial, single-parameter utility.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description implicitly identifies the result as a Base64 encoding of the given text, which is about as complete as an agent needs for this operation. The only missing piece is whether padding or line wrapping applies to the emitted string.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter is fully documented in the schema ('Texto a codificar.'), so the structured data carries the load. The description adds a small but real clarification by specifying the character encoding as UTF-8, which affects the resulting Base64 output for non-ASCII text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Codifica') and resource ('texto UTF-8 em Base64'), which is unambiguous. It does not explicitly reference the inverse sibling base64_decode, but the operation is self-evidently distinct from decode and from the formatting/validation siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent can infer that this tool is for turning plain text into Base64, but there is no explicit when-to-use guidance, no mention of the decode counterpart, and no note about prerequisites. For a single-purpose utility that is largely acceptable, but nothing is stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.