Skip to main content
Glama
getoolkit-mcp

getoolkit-mcp

by qwehkkk

URL encode/decode

url_encode

Percent-encode or decode text for URLs: use component mode to escape reserved characters like & = ? in a single parameter, or full mode to escape only spaces and non-URI characters.

Instructions

Percent-encode or decode text. Component mode (default) escapes reserved characters like & = ? for embedding in a single URL parameter; full mode only escapes spaces and non-URI characters.

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": {
      "mode": "<mode>",
      "text": "<text>"
    },
    "name": "url_encode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
textYes
componentNoComponent-level encoding (encodeURIComponent)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 and does disclose the escaping behavior of each mode, which is genuinely useful. It omits failure behavior — e.g., what happens when decoding malformed percent-encoded input — and any note that decode is effectively the inverse operation, leaving a real gap for a no-annotation tool.

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?

Two tight sentences with zero filler. The core operation is front-loaded and the mode explanation follows immediately, so an agent gets the essential behavior in the first clause.

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?

An output schema exists, so return values need no explanation, and the description covers both the operation and the mode semantics. The main missing piece is decode-error handling, which matters slightly more given the absence of annotations.

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

Parameters4/5

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

Schema coverage is only 33%, so the description must compensate, and it does: it explains the default value of component (true), what component mode escapes (reserved characters like & = ?), and what full mode escapes. The mode enum is self-explanatory in the schema; the only remaining gap is that 'text' input is never discussed.

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 opens with a specific verb pair and resource ('Percent-encode or decode text'), making the operation unambiguous, and it explains the two modes' scopes. It does not need to differentiate from siblings like base64 or hash_text since those are clearly distinct operations, but it also never explicitly contrasts itself with them.

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 gives clear situational guidance for the key decision: use component mode 'for embedding in a single URL parameter' versus full mode for broader escaping. It does not state when to use url_encode at all versus not, nor any exclusions, but for a simple two-mode utility the mode-selection guidance is the guidance that matters.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.