Skip to main content
Glama

mechacut

text_punycode

IDN domains both ways: unicode <-> xn-- via the exact stdlib RFC-3492 reference. Phishing inspection (is this homoglyph domain the same after encoding?) and agent link hygiene. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>"
    },
    "name": "text_punycode"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the behavioral burden. It usefully signals determinism and fidelity ('exact stdlib RFC-3492 reference') and that it is free/no-cost, but says nothing about error behavior for invalid domains, whether one output or both forms are returned, or how IDN flags/TLDs are handled.

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

Conciseness4/5

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

Front-loaded with the core capability and scope ('both ways', the RFC reference) in two tight sentences. The trailing 'Free.' and the 'agent link hygiene' phrase are slightly promotional but not costly.

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 single-parameter, no-output-schema tool this is close to adequate, but an agent still cannot predict the return shape (single string vs. both encodings) or failure mode. With no annotations and no output schema, the description should have covered those basics.

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?

One parameter with 0% schema coverage; the description implies 'domain' holds a domain name in either unicode or xn-- form, which adds real meaning over the bare string type. It does not clarify whether full URLs, subdomains, or bare TLDs are acceptable, leaving an edge-case gap.

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 transformation (unicode <-> xn-- punycode for IDN domains) implemented via the RFC-3492 reference algorithm. An agent can tell this is an encoding/decoding utility rather than something like text_url_canonical, though the description never explicitly contrasts with that sibling.

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?

Gives two concrete usage scenarios (phishing/homoglyph inspection and agent link hygiene) which imply when to reach for it. However, it names no exclusions and no alternative tool for the cases it does not cover, so routing guidance is only implied.

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.