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

get_dfd

Retrieve a complete Data Flow Diagram structure by model ID: external entities, data stores, process hierarchy, and all flows with source, destination, data, and diagram.

Instructions

Full structure of a DFD: external entities, data stores, the process tree (level, parent, composite) and every flow with source, destination, data and the diagram it is drawn on (diagram_of=null means the top diagram).

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

Input Schema

NameRequiredDescriptionDefault
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does well by spelling out the return shape, including the non-obvious convention that diagram_of=null denotes the top diagram. However it says nothing about preconditions (e.g. whether the model must first be opened via open_dfd_model or whether model_id refers to an open handle or a persisted model), expected size/latency for large models, or failure behavior. That is a meaningful gap for a whole-model dump with zero annotation coverage.

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?

One dense sentence, front-loaded with the resource ('Full structure of a DFD') followed by the enumerated parts. Nothing is redundant and the parenthetical clarification is worth its words. It is a noun phrase rather than a verb-led statement, which slightly weakens the front-loading of intent.

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?

There is no output schema, so the description must describe the return value, and it does so thoroughly — arguably its strongest contribution. But for a whole-model read tool it leaves open the state precondition (open versus persisted model) and any notion of result size, and it never explains the sole required input. Adequate but with clear gaps.

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 would need to explain the single parameter model_id, and it does not — the only semantic clarification it offers ('diagram_of=null means the top diagram') concerns an output field, not the input. The parameter name is self-descriptive enough that an agent can guess it is the DFD model identifier, and the sibling list (open_dfd_model, list_dfd_models) supplies the source of that id. Marginal value above the schema, but the coverage gap is not compensated.

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 names a specific resource ('Full structure of a DFD') and enumerates exactly what that structure contains: external entities, data stores, the process tree with level/parent/composite, and flows with source, destination, data and owning diagram. An agent can immediately tell this is the whole-model structural read, distinct in nature from siblings like check_dfd or list_dfd_models. It stops short of naming a sibling it is not, so it lands at 4 rather than 5.

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?

There is no when-to-use statement, no when-not-to-use, and no named alternative (e.g. dfd_data_dictionary, check_dfd, get_model_info) that an agent could route against. The enumeration of contents only weakly implies 'use this for a full structural dump'. The caller must infer the selection rule entirely.

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