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

add_dfd_data_store

Add a data store (file or table) to a Data Flow Diagram model. Use it at level 1 and below to represent stored data, not in context diagrams.

Instructions

Add a data store (file/table). Do not use stores in a context diagram; they belong to level 1 and below.

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_data_store"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo
nameYes
commentNo
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and it is silent on the mutation itself: whether the model must be open, whether the change is persisted or requires save_dfd_model, and what happens on a level or naming conflict. The diagram-level constraint is a useful domain rule, but it is the only behavioral context offered for a write operation.

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?

Two short sentences, the action stated first and the exclusion immediately after. Nothing is redundant and the most decision-relevant constraint is front-loaded.

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 simple four-parameter creation tool, the description covers what it does and where in a diagram it applies, which is the minimum an agent needs to select it. It is not complete given zero annotation and zero schema coverage, since nothing tells the agent how to populate model_id or whether a save step follows.

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

Parameters2/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 explain the four parameters (code, name, comment, model_id) and it does not. The only semantic hint is '(file/table)', which implies what 'name' refers to, but model_id and the optional code/comment fields are left completely unexplained.

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 pairs a specific verb with a specific resource ('Add a data store') and clarifies the resource as '(file/table)', so an agent knows what is being created. It does not differentiate itself from sibling creation tools like add_dfd_process or add_dfd_external_entity, which keeps it below 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?

It gives an explicit when-not rule ('Do not use stores in a context diagram') plus the positive condition ('they belong to level 1 and below'), which is exactly the kind of placement guidance an agent needs. No alternative tool is named for the fallback case, so it is a clear 4 rather than a 5.

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