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

add_dfd_process

Add a process to a Data Flow Diagram, optionally as a child of a specified parent process that becomes composite with its own diagram. Use the code as the process number.

Instructions

Add a process. Without 'parent' it goes on the top diagram (the context diagram's single process '0', or the level-1 processes). With parent= it is a child process of that one (the parent becomes composite and gets its own diagram). Use the code as the process number: '0', '1', '1.1'.

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

Input Schema

NameRequiredDescriptionDefault
codeNo
nameYes
parentNo
commentNo
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a real side effect: the parent becomes composite and gains its own diagram. It says nothing about duplicate-code handling, persistence/save requirements, permissions, or what model_id must reference, leaving notable behavioral gaps.

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, purpose front-loaded, followed by the parenting rule and the code convention. Every sentence adds information and nothing is padded.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the two structurally important parameters and one side effect, but leaves model_id, comment, and post-call state (e.g., whether a save is needed) unexplained.

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%, so the description must compensate; it explains 'parent' (a process code of an existing process) and 'code' (the process number, with concrete examples '0', '1', '1.1'). 'name', 'comment', and 'model_id' receive no explanation beyond the schema titles.

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?

"Add a process" names a specific verb and resource, and the description immediately splits the behavior into two cases (top-diagram placement with no parent, child placement with a parent). It does not name the sibling decompose_dfd_process, which is the closest alternative, so it stops short of a 5.

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?

The description gives a clear conditional rule: omit 'parent' to place on the top diagram, supply it to nest under an existing process. It does not say when to prefer this tool over decompose_dfd_process or when not to use it, so there is context but no explicit exclusions.

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