Skip to main content
Glama

Convert text encoding

convert-encoding

Convert a text file between UTF-8, Windows-1252 and other character sets. Accepts *. Returns the result file.

Input Schema

NameRequiredDescriptionDefault
filesYesAccepts *; at most 20 MB in total.
optionsNoOptional settings; omitted ones use their default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare a non-read-only, non-destructive, non-open-world operation, and the description adds that the result file is returned, which is useful output context. It does not clarify whether the source file is modified, whether conversion is lossy, or how the result is delivered (new upload vs. base64).

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

Conciseness3/5

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

Two sentences are tight and front-loaded, but the middle sentence 'Accepts *.' is a truncated fragment that carries no meaning without the schema and wastes a line. Overall it is short but not fully polished.

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

Completeness3/5

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

For a nested-object tool with multiple enum options and no output schema, the description covers the core action and the fact that a file comes back, which is the minimum viable. It omits the newline normalization capability and any note on how the returned file is presented to the caller.

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

Parameters3/5

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

Schema description coverage is 100%, so both the file input mechanism and the enum-bearing options object are already documented in structured fields. The description contributes nothing about the 'to'/'from'/'newlines' options, and its 'Accepts *.' fragment merely echoes the schema's 'Accepts *; at most 20 MB' note.

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+resource ('Convert a text file') and names the relevant character sets, which clearly separates it from sibling converters like convert-data, convert-image, and convert-office. It stops short of explicitly naming those siblings as alternatives.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus convert-data or text-to-pdf, and no mention of prerequisites such as supplying either upload_id or content_base64. The agent must infer usage entirely from the name and schema.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources