Skip to main content
Glama

punycode_convert

Read-onlyIdempotent

Convert a domain between Unicode (IDN) and Punycode/ACE (xn--) form, both directions, auto-detected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesDomain in Unicode (пример.рф) or ACE form (xn--e1afmkfd.xn--p1ai).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes
decodedYesUnicode / IDN form
encodedYesPunycode / ACE (xn--) form

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds useful behavior beyond that, specifically 'both directions, auto-detected, but it does not describe output shape or invalid-input handling, which keeps it from rating higher.

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?

A single, front-loaded sentence states the action and scope with no filler. The terms 'both directions, auto-detected' are compact and meaningful, so the description is efficiently structured.

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?

For a one-parameter, idempotent, read-only conversion tool with an output schema, the description is largely sufficient for an agent to call it correctly. It could add normalization or URL-handling details, but these are not essential for this simple converter.

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% and the value parameter already includes concrete Unicode and ACE examples, so the schema handles the parameter semantics. The description reinforces but does not materially extend meaning beyond what is already documented.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Convert a domain between Unicode (IDN) and Punycode/ACE (xn--) form.' It explicitly covers both directions and is clearly distinguishable from the sibling lookup tools ip_geolocation and whois_lookup.

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?

The description conveys clear usage: use it when you have a domain string in either Unicode or ACE form and need the other form, with direction auto-detected. It does not explicitly name alternatives or exclusions, but the siblings are unrelated lookup tools, so the usage context remains clear.

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.