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

layout_dfd

Lays out a DFD's top and child diagrams to prevent flow-label overlap with lane-per-process placement or AutoLayout; save and reopen to see final positions.

Instructions

Lay out the top diagram and every child diagram of a DFD. style='lanes' (default): one row per process, every flow on its own straight lane so no two labels overlap; partners talking to several processes are drawn once per row (graphical synonyms, ': n' suffix). style='auto': PowerDesigner's AutoLayout. Save and reopen the model to see the final label positions.

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": "layout_dfd"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNolanes
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description must cover behavior on its own. It makes real progress: it discloses that the operation affects the top diagram and every child diagram, and that graphical synonyms with ': n' suffixes get created, plus the important post-condition that the model must be saved and reopened to see final label positions. It still omits whether this is destructive/reversible, whether it requires an open model, and any error conditions.

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?

The purpose is front-loaded in the first sentence, followed by the style meanings and a closing caveat about visibility. Dense but every clause carries information; the parenthetical about graphical synonyms is slightly long but materially useful.

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?

For a two-parameter mutation with no annotations and no output schema, the description covers purpose, option semantics, side effects, and the post-call visibility caveat. The main remaining gap is any mention of preconditions such as the model being open.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the parameter meanings, and it does: style values, default, and the concrete outcome of each choice are spelled out. The model_id parameter is left undocumented, though its meaning is evident.

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

Purpose4/5

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

The description opens with a specific verb and resource: 'Lay out the top diagram and every child diagram of a DFD', and the scope of the operation (top-level plus all children) is unambiguous. It does not name a sibling alternative, but the action is clearly distinct from the create/add/check tools in the catalog.

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 style descriptions: 'lanes' gives non-overlapping labels and 'auto' is PowerDesigner's AutoLayout, and the default is stated. However, there is no explicit guidance on when to prefer one style over the other, no prerequisite (e.g., the model must be open), and no when-not-to-use case.

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