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

save_dfd_model

Saves a Data Flow Diagram model to its associated file using the provided model ID, ensuring edits are stored for later use.

Instructions

Save a DFD model to its 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": "save_dfd_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool. It does not say whether the save overwrites an existing file, what permissions or open-document state are needed, whether it fails on a locked path, or whether it creates a backup.

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?

It is one short, front-loaded sentence with no wasted words. Brevity here is efficient structurally, even if the content is thin.

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 persistence/mutation tool with no annotations, no output schema, and zero parameter documentation, the definition omits almost everything an agent needs: success/failure signaling, overwrite semantics, and target file location.

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 single parameter model_id is undocumented in both schema and description. The description never explains what model_id identifies, its format, or where the file lives, leaving a real gap that the text should have compensated for.

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 states a specific verb and resource: saving a DFD model. The phrase 'to its file' hints at in-place persistence rather than save-as, which implicitly distinguishes it from siblings like save_model_as, though no sibling is named explicitly.

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 guidance, no prerequisites (must the model already be open? loaded?), and no mention of alternatives such as save_model or save_model_as. The agent is left to infer the choice entirely from tool names.

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