Skip to main content
Glama
jgsystemsconsulting

jgs-magic-sysmlv1-mcp

set_flow_direction

Set the direction of a parameter to IN, OUT, INOUT, or RETURN for a specified element ID, enabling precise control over data flow in SysML models.

Instructions

Set the direction of a Parameter. Valid values: IN, OUT, INOUT, RETURN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directionYes
element_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It indicates a mutation via 'Set' but does not disclose potential side effects, reversibility, permission requirements, or behavior on invalid input (e.g., what happens if an invalid direction is passed). The presence of an output schema is noted but not described, so the agent lacks information about the response. For a write operation with zero annotation coverage, this is insufficient.

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?

The description is a single sentence followed by a list of valid values. It is extremely concise, front-loaded with the primary action, and contains no filler. Every part is necessary and directly contributes to understanding.

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?

The description is adequate for a simple setter but incomplete in important ways. It does not explain the 'element_id' parameter, nor does it mention any prerequisites or potential outcomes. Given that an output schema exists, the return format may be covered there, but the description itself lacks guidance on how to correctly invoke the tool. It is minimally sufficient for an agent that already understands the domain, but not self-contained.

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 coverage is 0%, so the description must compensate. It partially explains 'direction' by listing valid values, but provides no explanation for 'element_id' (e.g., what it refers to, how to obtain it). The description adds some meaning for one parameter but leaves the other completely undefined, failing to fully bridge the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (set) and the resource (Parameter's direction), and lists the valid values. It distinguishes itself from sibling setters like set_type or set_value by specifically targeting flow direction, so an agent can immediately identify its purpose.

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 description implies when to use the tool (when you need to change the direction of a parameter) but does not explicitly state when not to use it or mention alternatives. It lists valid values, which is more about parameter constraints than usage context. No explicit exclusions or comparisons to sibling tools.

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

Deploy Server

Other Tools