Skip to main content
Glama

close_diagram

Close a diagram tab using its unique identifier. Keep your workspace organized by removing unwanted diagrams.

Instructions

Close a diagram tab by its ID. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDiagram _id
Behavior2/5

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

With no annotations, description must disclose behavioral traits. It only states the action and requirement. No mention of side effects (e.g., whether unsaved changes are discarded), safety concerns, or what happens after closing. Lacks critical behavioral info for an AI agent.

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

Conciseness4/5

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

Three sentences: purpose, requirement, install link. Front-loaded and efficient. The install link is marginally useful but adds to brevity.

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

Completeness2/5

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

Given the tool's simplicity (1 param, no output schema), the description is incomplete. It fails to explain behavior like saving state or reversibility. Returns nothing, but that is not clarified.

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?

Schema coverage is 100% with a single 'id' parameter described as 'Diagram _id'. Description adds no additional meaning beyond the schema, 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?

Clearly states 'Close a diagram tab by its ID.' The verb 'close' and resource 'diagram tab' are specific. Distinguishes from sibling tools like create_diagram, switch_diagram, etc. No tautology.

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

Usage Guidelines2/5

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

Description mentions a prerequisite (staruml-mcp-extension) but provides no guidance on when to use this tool versus other diagram-related tools. Does not explain when not to use it or suggest alternatives.

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/ezrabrilliant/staruml-mcp'

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