Skip to main content
Glama

o htmlencode

o_htmlencode

HTML entity encode/decode (200 sats/call; free tier 100 calls/mo)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "o_htmlencode"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations supply only openWorldHint, so the description carries most of the burden. It does add genuinely useful non-schema context — a per-call cost of 200 sats and a 100 calls/month free tier, which informs rate and budget planning. It omits what the operation returns, whether it is reversible/pure, and how payloads are supplied.

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?

One compact sentence with the operation in front and cost/limits trailing in parentheses. Nothing is padded, though the parenthetical pricing could be separated for faster scanning.

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 no output schema and no parameters, the description is the only source of truth about how to invoke and interpret this tool, and it does not resolve the encode-vs-decode direction or the return value. For a tool with an empty input schema, that is a meaningful gap.

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 input schema is an empty object, so nominally there are no parameters to document. But a tool that encodes/decodes text must receive input somehow, and the description never explains that mechanism, leaving a real ambiguity rather than a documented zero-parameter contract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb pair and resource ('HTML entity encode/decode'), which is more informative than the name alone. However, it bundles two opposite operations into one tool without saying how the caller selects between them, and there is no indication of what the tool operates on.

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?

It states no conditions for use and does not distinguish this from the many sibling encoder tools (o_base64, o_ascii85, o_atbash, o_caesar, etc.). An agent gets no help deciding when HTML entity encoding is the right choice over a generic 'encode' sibling.

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.

Resources