Skip to main content
Glama

IA-QA — 152 QA & Dev Tools for AI Agents

url_encode

Read-onlyIdempotent

Percent-encode a string for safe use in query strings, path segments or form-encoded bodies, so it cannot inject or break a URL.

Input Schema

NameRequiredDescriptionDefault
modeNo"component" (default) or "full" for encodeURI behavior
inputYesString to URL-encode

Output Schema

NameRequiredDescriptionDefault
encodedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "input": "a b&c=d/é"
      +  }
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "encoded": {}
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.