Skip to main content
Glama
hlteoh37

mcp-devutils

by hlteoh37

string_escape

Escape or unescape strings for JSON, CSV, regex, SQL, or shell. Use it to format text correctly and avoid errors in your target context.

Instructions

[PRO — 3 trial uses left] Escape or unescape strings for various contexts: JSON, CSV, regex, SQL, or shell

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to escape or unescape
actionNoAction: escape or unescape (default: escape)
formatYesTarget format to escape for
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It merely restates the action and formats already covered by the schema, without disclosing behavioral traits such as how escaping handles edge cases, whether it is safe for SQL injection contexts, or what the output looks like. This adds no value beyond the structured schema.

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?

The core description is a single, front-loaded sentence that efficiently conveys purpose. However, the '[PRO — 3 trial uses left]' prefix is irrelevant noise that does not earn its place, slightly reducing the conciseness score.

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?

Given the tool's simplicity and full schema parameter descriptions, the description is minimally viable. However, with no output schema, it does not mention that the tool returns the transformed string or any caveats about usage. A bit more context (e.g., return value or safety notes) would make it complete.

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?

The schema already describes all three parameters with 100% coverage, including the action default. The description adds no extra meaning to the parameters—it only repeats the enum values already present in the schema. Thus, baseline 3 is appropriate.

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 clearly states the tool's action ('Escape or unescape') and resource ('strings'), and explicitly lists the supported formats (JSON, CSV, regex, SQL, or shell). This distinguishes it from siblings like escape_html (HTML-only) and base64 (encoding), making the purpose unambiguous.

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?

The description provides the context of formats (JSON, CSV, regex, SQL, shell), implying when to use the tool. However, it does not explicitly state when to choose this tool over alternatives (e.g., 'use escape_html for HTML') or any exclusions, leaving the guidance only implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlteoh37/mcp-devutils'

If you have feedback or need assistance with the MCP directory API, please join our Discord server