Skip to main content
Glama

mechacut

text_escape

Escape one value for html/sql/shell/csv/json/url dialects — the injection gate weak models type by hand. Closed escapers per dialect. 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": {
      "value": "<value>",
      "dialects": "<dialects>"
    },
    "name": "text_escape"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
dialectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Closed escapers per dialect' usefully hints at a fixed, non-extensible dialect set and 'Escape one value' constrains the operation to a single value, but nothing states that the tool is a pure, non-mutating read, how multi-dialect requests are handled, or whether the escaping is reversible via text_decode.

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 opening clause is well front-loaded and information-dense. The trailing fragments 'the injection gate weak models type by hand' and 'Free' are vague editorial filler that do not add callable information, so the definition is compact but not fully waste-free.

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?

With two required parameters at 0% schema coverage, no annotations, and no output schema, the description should explain the shape of the result, especially for multiple dialects. It omits return format, error handling for unsupported values, and any note on ordering, which is more than a minor gap for this complexity.

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?

Schema description coverage is 0%, so the description must supply parameter meaning; it does convey that 'value' is a single value and that dialects come from a closed list of six. However, it never clarifies that 'dialects' is an array whose members may be combined, nor in what order stacked escaping applies or how multiple outputs are returned.

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 gives a specific verb and resource ('Escape one value') plus the exact dialect set (html/sql/shell/csv/json/url), so an agent knows precisely what operation is performed. It does not distinguish itself from nearby siblings such as text_sanitize, text_redact, or text_encode, leaving the agent to infer the boundary.

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 phrase 'the injection gate weak models type by hand' implies the use case is escaping untrusted input for safe embedding, but this is oblique rather than an explicit when-to-use statement. There is no when-not condition and no named alternative for cases like sanitizing or decoding, so 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.