Skip to main content
Glama

Stride — AI software delivery platform

Delete diagram

stride.delete_diagram
DestructiveIdempotent

Soft-delete an architecture diagram (sets deletedAt; recoverable via stride.restore_diagram). Use to clean up a diagram generated in error. Returns a no-op success on an already-deleted row.

Input Schema

NameRequiredDescriptionDefault
diagramIdYesUUID of the diagram.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds substantive behavior beyond them: it is a SOFT delete via deletedAt, it is recoverable through stride.restore_diagram, and re-deleting returns a no-op success rather than an error. That is exactly the extra context an agent needs before invoking a destructive tool.

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 sentences, front-loaded with the core action and mechanism, followed by the use case and the edge-case behavior. No filler.

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

Completeness5/5

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

For a single-parameter mutation with no output schema, the description covers action semantics, recoverability, and idempotent edge-case behavior, while annotations carry the safety profile. Nothing material to a correct call is missing.

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?

Only one parameter, diagramId, and the schema documents it at 100% coverage ('UUID of the diagram'). The description adds nothing about the identifier format or sourcing, so baseline 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?

States a specific verb+resource ('soft-delete an architecture diagram') and immediately clarifies the mechanism (sets deletedAt) and the counterpart tool (stride.restore_diagram). This separates it cleanly from siblings like delete_design, delete_process, and restore_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?

Gives a concrete use case ('clean up a diagram generated in error') and names the recovery alternative stride.restore_diagram. It does not spell out when not to use it (e.g., diagrams referenced by other artifacts), but the conditional context is clear.

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.