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

dfd_data_dictionary

Creates a Data Flow Diagram data dictionary listing each data element with its definition and carrying flows as JSON and a Markdown table; optionally writes the table to a .md file.

Instructions

Build the data dictionary of a DFD: every data element with its definition and the flows that carry it, as JSON plus a Markdown table. Pass output_path (.md) to also write it to a file.

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

Input Schema

NameRequiredDescriptionDefault
model_idYes
output_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/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 load: it discloses the two output forms (JSON return plus Markdown table) and that output_path causes a file write, which hints at a side effect beyond pure reading. It does not say whether the call is read-only when output_path is omitted, overwrite behavior for an existing file, or what happens with an invalid model_id.

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: the first front-loads what is produced and in what formats, the second covers the optional file output. No filler, though the sentence is somewhat dense with clauses.

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?

For a small two-parameter tool with no annotations and no output schema, the definition should at minimum pin down model_id's origin and the mutation/read-only nature of the file write. It covers the return shape qualitatively but leaves key operational details to inference.

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 coverage is 0%, so the description must compensate. It usefully explains output_path ('Pass output_path (.md) to also write it to a file'), clarifying both the accepted extension and that it is optional/additional. model_id receives no explanation at all, leaving the required parameter uninterpreted.

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 verb and resource ("Build the data dictionary of a DFD") and states the contents (every data element with its definition and carrying flows). It clearly distinguishes itself from the add_dfd_* siblings as a derived report rather than a mutation, though it doesn't explicitly contrast with them.

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 explicit when-to-use or when-not-to-use guidance. The phrase "of a DFD" implies the model must already exist, but the description never states prerequisites (e.g. model must be created/opened) or how this differs from get_dfd or export_dfd_images.

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