Skip to main content
Glama
slajzad
by slajzad

convert_notation

Convert and normalize diagrams between compact DSL and JSON spec, enabling editing in either notation.

Instructions

Convert a diagram between the compact DSL and the JSON spec (both directions), normalising it on the way. Useful for editing a diagram that was written in the other notation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoTarget notation. Default 'json'.
dslNoDiagram in the it-architecture DSL (preferred). Call get_authoring_guide once to learn it.
specNoStructured diagram spec; alternative to 'dsl'.
titleNoOverrides the title in dsl/spec.
subtitleNo
directionNoFlow direction; LR is the default.
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions conversion and normalisation but does not clarify side effects, permissions, idempotency, or whether the operation is read-only.

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?

Two succinct sentences with no wasted words; front-loaded with key purpose and usage hint.

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

Completeness3/5

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

Given the complexity of nested objects and no output schema, the description covers the core conversion purpose but could elaborate on what 'normalising' entails and the outcome when both dsl and spec are provided.

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

Parameters4/5

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

Schema coverage is high (83%) and the description adds value by directing users to call get_authoring_guide to learn the DSL, providing guidance beyond the schema.

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 clearly states the verb 'convert' and the resource 'diagram between the compact DSL and the JSON spec (both directions)', and distinguishes it from siblings like validate, render, and preview which have different purposes.

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 use case ('editing a diagram that was written in the other notation') but does not explicitly state when not to use it or compare with alternatives such as validate or render.

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/slajzad/mcp-architecture'

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