Skip to main content
Glama

decode_plantuml

Convert encoded PlantUML strings back to readable diagram code for editing or analysis.

Instructions

Decode encoded PlantUML string back to PlantUML code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
encoded_stringYesEncoded PlantUML string to decode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.8/5.0
Behavior3/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 of behavioral disclosure. It clearly states the transform (decode to PlantUML code) but does not mention error handling, input validation, or side effects. For a simple transform, this is adequate but not rich; a more explicit note about non-mutating behavior would elevate it.

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

Conciseness5/5

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

The description is a single, clear sentence with no redundancy. It is front-loaded with the action verb and immediately conveys the purpose. Every word earns its place.

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

Completeness4/5

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

For a simple one-parameter tool with full schema coverage, the description is complete enough. It states the input and the output implicitly ('back to PlantUML code'). Since no output schema exists, the description's mention of the output helps, though it could specify the return format (e.g., UTF-8 string) for absolute clarity.

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 covers 100% of the parameter with a description ('Encoded PlantUML string to decode') that mirrors the tool description. The description adds no additional semantic detail beyond what the schema already provides, so the baseline of 3 applies.

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 uses a specific verb ('decode') with a clear resource ('encoded PlantUML string') and outcome ('back to PlantUML code'). It distinguishes itself from sibling tools like encode_plantuml and generate_plantuml_diagram by explicitly stating the inverse operation.

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 implies usage: when you have an encoded PlantUML string. However, it does not explicitly state when to use this tool over alternatives, nor does it mention preconditions or exclusions. The sibling context suggests encode_plantuml as the inverse, but the description itself provides no direct comparison.

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