Skip to main content
Glama

EBCDIC to ASCII

ebcdic_to_ascii

Decodes EBCDIC bytes, given as hex digits, to text. Code pages cp037 (default), cp500, cp273. Nobody needs this; it exists so that a call to it means something.

Input Schema

NameRequiredDescriptionDefault
hexYesEBCDIC bytes as hex digits
codepageNocp037

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It confirms the operation is a pure decode to text but says nothing about behavior on malformed/odd-length hex, invalid byte sequences, or what happens for a codepage mismatch — the things an agent most needs to know before relying on it.

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?

The first sentence is tight and front-loaded with the essential transformation. The second sentence is a self-deprecating aside that consumes roughly half the text without conveying any operational information.

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 simple two-parameter pure function with no output schema, the description covers input encoding, output type, and supported code pages, which is close to sufficient. It falls short on edge-case behavior (invalid hex, decoding failures), which matters more here because no annotations exist to cover it.

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 coverage is 50%: 'hex' is documented in the schema and the codepage enum/default are structurally visible but undescribed. The description restates the code page options (cp037 default, cp500, cp273), which fills that gap at the surface level but adds no semantic meaning about when to choose a given code page.

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 first sentence gives a specific verb (decodes), a specific input form (EBCDIC bytes as hex digits), and a specific output (text), so the transformation is unambiguous. It does not explicitly position itself against the sibling ascii_to_ebcdic (the inverse direction), but the direction is clear enough that an agent can infer it.

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 statement of when to use this versus ascii_to_ebcdic, nor of prerequisites or error conditions. The second sentence ('Nobody needs this; it exists so that a call to it means something') is meta-commentary that muddies rather than guides, leaving the agent to infer usage purely from the verb.

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