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

export_dfd_images

Export every diagram of a DFD model, including the top-level and each decomposed process, as PNG files into an existing folder, with labels rendered as PowerDesigner displays them after save and reopen.

Instructions

Export every diagram of a DFD model (top and each decomposed process) as PNG files into an existing folder. Labels are placed as PowerDesigner shows them after the model is saved and reopened.

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>",
      "folder": "<folder>"
    },
    "name": "export_dfd_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderYes
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does disclose useful behavior: all diagrams are exported (not a selectable subset), output is PNG, and the target folder must already exist (it will not be created). It omits key operational facts such as whether existing files are overwritten, how files are named, and what the call returns, so it is only partially transparent for a filesystem-writing tool.

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?

Two compact sentences with the action and scope front-loaded; the folder prerequisite is embedded in the first sentence. The second sentence on label placement is a reasonable fidelity caveat, though it borders on tangential detail for an agent deciding whether to call the tool.

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?

For a two-parameter export tool with no output schema and no annotations, the description covers what is produced and where, but leaves gaps an agent would want: file naming, overwrite semantics, and return value. Adequate but not fully self-sufficient.

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 description coverage is 0% for two parameters, so the description must compensate. It clarifies the 'folder' parameter (must be an existing folder, the destination for PNGs) but says nothing about 'model_id' beyond implying a DFD model, leaving its expected identifier form undocumented.

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 (Export), a specific resource (every diagram of a DFD model, top and each decomposed process), and the output format (PNG files). An agent can distinguish this from siblings like layout_dfd or save_dfd_model without opening any schema.

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?

Usage is implied by the output format: use this when you need raster images of a DFD rather than structural edits or model saving. However, there is no explicit when-to-use/when-not guidance and no named alternative (e.g. layout_dfd) for cases where the agent wants a visual layout instead of an export.

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