x402-html-entity
HTML Entity: Encode/decode HTML entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Op to process | |
| text | No | Text to process |
HTML Entity: Encode/decode HTML entities.
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Op to process | |
| text | No | Text to process |
Changes observed during successful MCP inspections.
Input schema / properties / textAdded value: +{
+ "description": "Text to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full disclosure burden. It says nothing about whether the operation is reversible, how malformed entities or named-vs-numeric entities are handled, or what errors can occur — notable gaps for a codec tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One short, front-loaded sentence with no wasted words. It is efficient, though arguably too terse to be actionable rather than a model of conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter text utility with no annotations and no output schema, the description is minimally viable but incomplete: it omits the operation vocabulary and the return shape, so an agent cannot call it confidently without guessing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. The description implies an encode/decode mode parameter but never states the accepted `op` values (the schema has no enum), leaving the most important parameter semantically underspecified in both places.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource: encode/decode of HTML entities. It is clear what the tool does, but it does not distinguish itself from near-siblings like x402-escape-html, x402-strip-html, or x402-html-validate, which a reader may confuse with entity handling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use statement, no prerequisites, and no routing to alternatives. The reader must infer that this is the right tool for entity work purely from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.