Skip to main content
Glama

EBCDIC to ASCII

ascii_to_ebcdic

Encodes ASCII text to EBCDIC bytes, returned as hex digits. Code pages cp037 (default), cp500, cp273.

Input Schema

NameRequiredDescriptionDefault
textYesASCII text to encode
codepageNocp037

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the output representation ('returned as hex digits') and the default codepage, but says nothing about hex formatting (case, separators), or what happens when a character cannot be represented in the target codepage.

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?

Two sentences, zero filler, and the most decision-relevant fact (hex output) is front-loaded alongside the direction. Every clause earns its place.

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 two-parameter converter with no annotations and no output schema, the description covers direction, output representation and codepage options. It stops short of completing the picture on output shape and failure modes, which an agent would still have to discover by calling it.

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?

Schema coverage is 50%, and the one undescribed parameter (codepage) is fully compensated for: the description enumerates cp037, cp500 and cp273 and confirms cp037 as the default, matching the schema. It does not explain how the pages differ or what an invalid value does, which keeps it below a 5.

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?

The description states a specific verb and resource ('Encodes ASCII text to EBCDIC bytes') and adds the return format. Direction is unambiguous, which implicitly separates it from the inverse sibling ebcdic_to_ascii, though that sibling is never named.

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 by the encode direction and the codepage list; there is no explicit statement of when to use this versus ebcdic_to_ascii or when a non-default codepage is appropriate. Adequate for a simple one-way converter, but nothing routes the agent explicitly.

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