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

name_dfd_diagram

Rename a Data Flow Diagram (DFD), targeting either the top-level diagram or a composite process's child diagram when a process is specified.

Instructions

Rename a DFD diagram: the top diagram when process is empty, otherwise the child diagram of that composite process (e.g. 'Nivel 2 - 4.0 Gestionar citas').

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

Input Schema

NameRequiredDescriptionDefault
nameYes
processNo
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It discloses the targeting rule and implies a destructive/mutating overwrite of the diagram's name, but says nothing about permissions, whether an existing name is replaced, behavior when the process has no child diagram, or what is returned.

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?

A single front-loaded sentence with a concrete example, no filler. Slightly dense with the nested parenthetical, but every clause carries target-selection information.

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 three-parameter mutation tool with no annotations and no output schema, the biggest ambiguity (which diagram gets renamed) is resolved. Gaps remain around model_id, failure modes, and mutation side effects, so it is adequate but not complete.

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 and it does so only partly: it fully explains the `process` parameter's conditional meaning and gives a naming-format example, and `name` is implied by 'rename'. It says nothing about `model_id`, leaving one of three required parameters undocumented anywhere.

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?

States a specific verb and resource ('Rename a DFD diagram') and immediately narrows the target to one of two diagram levels, so an agent knows exactly what object is mutated. It doesn't distinguish itself from other naming-adjacent siblings, but the operation itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'process is empty vs. non-empty' rule gives conditional context for which diagram is affected, which is real guidance. However, it never says when to choose this tool over alternatives (e.g. decompose_dfd_process, which presumably also creates child diagrams) or what preconditions must hold.

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