Skip to main content
Glama

flowzap

flowzap_apply_change

Apply structured patch operations (insert/remove/update nodes or edges) to FlowZap Code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesCurrent FlowZap Code
operationsYesArray of patch operations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations provided, the description bears the full burden of disclosing behavioral traits. It states the tool applies patches but does not disclose potential side effects, such as whether the operation is destructive (e.g., overwriting the input code) or whether it requires specific prerequisites like valid syntax. Since it mutates code, it should explain what happens to the original code, but it doesn't.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise, but it lacks crucial detail that would make it more effective. It front-loads the primary purpose but omits usage context or behavioral notes. It earns a middle score because it is succinct but not comprehensive.

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?

Given the complexity of a tool that applies patch operations, the description is incomplete. It does not explain the expected format of operations (e.g., how to specify node vs edge updates), nor does it describe the return value or what happens on success/failure. Without an output schema and with only minimal input schema details, an agent has insufficient information to correctly construct a call. It is deficient for a tool of this nature.

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 100%, but the schema is minimal: 'code' is described as 'Current FlowZap Code' and 'operations' as 'Array of patch operations'. The description adds the types of operations (insert/remove/update nodes or edges), which clarifies 'operations', but it doesn't explain the structure of each operation or how 'code' is used (e.g., is it modified in place?). Since the schema is thin, the description provides some value but not enough to compensate for the lack of detail on operation format.

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

Purpose3/5

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

The description states the tool applies structured patch operations (insert/remove/update nodes or edges) to FlowZap Code, which is a specific verb and resource. However, it doesn't clearly distinguish between 'apply_change' and sibling tools like 'flowzap_diff' or 'flowzap_fix', which might have overlapping purposes. The description is clear but not fully differentiated from potential siblings.

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 guidance on when to use this tool versus alternatives. It doesn't mention when not to use it, nor does it reference any sibling tools. The description implies that it is for applying changes, but without context on how it compares to other FlowZap tools (e.g., 'flowzap_fix' might also modify code), an agent lacks direction for selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.