Skip to main content
Glama
powerdesigner-mcp-dfd
by 011011bjf

close_dfd_model

Closes a Data Flow Diagram model in PowerDesigner, optionally saving changes first when save is true.

Instructions

Close a DFD model (save=true saves first).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model_id": "<model_id>"
    },
    "name": "close_dfd_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/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. It discloses only that save=true triggers a save before closing, but says nothing about unsaved-change handling when save=false, whether unsaved work is discarded, whether the model gets locked/unlocked, or what happens if the model isn't open. For a state-changing session tool, this leaves major behavioral questions unanswered.

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?

A single short sentence with the key conditional behavior front-loaded in parentheses. Efficient, though the parenthetical carries almost all substantive information, leaving the core verb underspecified.

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?

With no annotations, no output schema, and 0% schema description coverage, the description is the only source of behavioral detail, and it does not cover the important case of unsaved changes when save=false. For a model-session tool that can lose work, this is inadequate.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters need explanation from the description. It clarifies 'save' (default false, saves first when true), but 'model_id' is entirely undocumented (format, where to obtain it) in both schema and description, though its meaning is largely inferable from the name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Close') and resource ('DFD model'), which distinguishes it from validate_dfd_model, save_dfd_model, and other DFD tools. However, it does not explain what 'closing' actually entails (releasing a lock? ending an editing session?) or how it differs from close_model, the non-DFD sibling.

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?

No when-to-use guidance beyond the parenthetical about saving. The description does not say when to use this instead of save_dfd_model plus close_model, nor does it state whether closing is required before opening another model. Usage must be inferred from the name alone.

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