Skip to main content
Glama

IranTools (paid)

detect_encoding

Origin URL: https://irantools.johnaio281.workers.dev Origin hostname: irantools.johnaio281.workers.dev Origin brand: IranTools - paid MCP server for AI agents Provider aliases: Encoding detector, Byte-string classifier Family key: irantools.johnaio281.workers.dev::text Endpoint: POST /api/iran/detect_encoding Summary: Detect the encoding of a byte string: ascii, utf-8, utf-16, hex, base64, latin-1. Keyword: encoding detection Keyword: utf8 Keyword: utf16 Keyword: base64 detect Keyword: hex detect Keyword: latin1 Keyword: byte string Use case: detect whether a byte string is UTF-8, UTF-16, hex or base64 Use case: find the encoding of a payload read from a file Use case: decode a base64 blob by detecting its encoding first Source description: Detect the encoding of a byte string: ascii, utf-8, utf-16, hex, base64, latin-1. Auth mode: paid

Price: $0.005 per call (USDC on Base via x402, or USDC on Tempo via MPP).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bytesYes

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?

With no annotations, the description carries the full burden. It discloses payment/auth behavior ('Auth mode: paid', '$0.005 per call'), which is useful, but it does not explicitly state that detection is read-only or describe return format, error behavior, or idempotency.

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

Conciseness2/5

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

The definition is bloated with origin URL, provider branding, endpoint metadata, keywords, and pricing rather than being front-loaded with the tool's purpose. The core description is buried, and many lines do not help an agent select or invoke the tool.

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

Completeness2/5

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

For a simple one-parameter tool with no output schema and 0% schema description coverage, the description should clarify the parameter format and return value. It names possible encodings, which partially implies outputs, but leaves the 'bytes' input format unexplained and omits how results are returned.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain the single 'bytes' parameter. It calls it a 'byte string' and lists encodings to detect, but does not clarify the expected array-of-numbers format, ranges, or whether hex/base64 strings are accepted.

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: 'Detect the encoding of a byte string' and enumerates the possible encodings (ascii, utf-8, utf-16, hex, base64, latin-1). It is clear what the tool does, but it does not differentiate itself from close siblings like detect_format or script_detect.

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

Usage Guidelines4/5

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

It provides concrete use cases such as detecting whether a string is UTF-8, finding the encoding of a payload read from a file, and decoding a base64 blob. It gives clear context for when to use the tool, though it does not mention when not to use it or name alternative tools.

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