Skip to main content
Glama

text_string_escape

Escape or unescape strings for SQL, CSV, shell, regex, PHP, LDAP, XML, and C/C++ formats. Convert text between escaped and unescaped states.

Instructions

Menu ID: string_escape. String Escape/Unescape. Escape and unescape strings for SQL, CSV, Shell/Bash, Regular Expressions, PHP, LDAP, XML attributes, and C/C++ literals. Multi-format escape tool. Use describe_tool with tool_id "string_escape" for full page guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
operationYes
formatYes
Behavior2/5

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

With no annotations provided, the description should disclose behavioral traits but only mentions supported formats. It does not cover error handling, limitations, or whether the operation is reversible, leaving significant gaps for an agent.

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

Conciseness3/5

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

The description is short but includes redundant text like 'Menu ID: string_escape'. It front-loads the purpose but could be more concise by removing the first sentence. The mention of describe_tool adds minor value but also suggests the description is incomplete.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and 0% parameter coverage, the description should provide comprehensive information. It fails to explain the return value, behavior for invalid inputs, or specifics of unescaping. High complexity (multiple formats) requires more detail.

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

Parameters2/5

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

Schema description coverage is 0% (no parameter descriptions in schema). The description hints at 'operation' (escape/unescape) and 'format' (list of formats) but does not explicitly enumerate valid values or provide meaningful context for each parameter.

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 clearly states it escapes/unescapes strings for multiple formats (SQL, CSV, Shell/Bash, etc.), providing a specific verb and resource. However, it does not distinguish itself from the sibling tool 'encoding_decoding_string_escape' which appears to have similar functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description lacks explicit guidance on when to use this tool versus alternatives. It only suggests using 'describe_tool' for full guidance, which is indirect and insufficient for immediate decision-making.

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/Jambozx/onlinecybertools-mcp-server'

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