Skip to main content
Glama
RedHold

diagrams-so

Official
by RedHold

Fix one warning

fix_warning

Resolve a specific Well-Architected warning in your diagram while preserving the rest, creating a new version. Use this to address individual issues without altering other elements.

Instructions

Resolve a single Well-Architected warning (from get_warnings), leaving the rest of the diagram untouched. Creates a new version. Costs credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe warning's `message` (as returned by get_warnings)
componentNoThe warning's `component`, if any
diagram_idYesThe diagram id
warning_typeNoThe warning's `type`, e.g. no_encryption_transit
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses that the tool 'Creates a new version' and 'Costs credits', which are significant behavioral side effects critical for an agent to know before invoking it. This adds substantial value.

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?

Three short, focused sentences: the main action, the side effect on versions, and the cost. No unnecessary words, and the key information is front-loaded.

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?

The description covers the essential aspects: targeted scope, version creation, and cost, which are sufficient for a mutation tool. It could mention the return value or failure modes, but given the tool's simplicity and annotations, it is largely complete.

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 schema already describes all four parameters with 100% coverage, including the mapping to get_warnings fields. The description does not add additional parameter meaning, so it stays at the baseline of 3.

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 the specific verb 'Resolve' targeting a 'Well-Architected warning' and adds the constraint 'single' and 'leaving the rest of the diagram untouched', which clearly distinguishes it from broader diagram-editing tools like edit_diagram or update_diagram.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides clear context for use: fixing a single warning from get_warnings, implying it is the targeted alternative to broader diagram edits. However, it does not explicitly name alternatives or state when not to use it, so it falls short of a 5.

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/RedHold/diagrams-mcp-app-core'

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