Skip to main content
Glama

Update edges

update_edges
DestructiveIdempotent

Change the label or kind of existing edges in a Wavelength flow, by edge id. No AI call. Saves a versioned snapshot labeled 'Edited by AI agent (exact)'. Returns the applied count, a rejected list with reasons, node and edge counts, and a link to open it.

Input Schema

NameRequiredDescriptionDefault
itemsYesThe items to apply, in order.
flow_idYesThe id of the flow to edit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare the safety profile (destructive, idempotent, not read-only). The description adds valuable context: no AI call, a versioned snapshot with a specific label, and the exact return payload including applied count, rejected reasons, counts, and link. This goes beyond annotations, though it doesn't cover auth or rate limits.

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?

Three short sentences, front-loaded with purpose, then behavior and returns. No wasted words; each sentence adds distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema, the description supplies return values, snapshot behavior, and AI-call status. Coupled with comprehensive annotations and full schema coverage, an agent has enough to invoke correctly.

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%, so the schema documents id, kind, label, source, target, note. The description only restates 'by edge id' and 'label or kind', adding minimal meaning beyond the schema; baseline 3 is appropriate.

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 (Change) and resource (label or kind of existing edges) scoped by edge id. It distinguishes itself from add_edges/remove_edges by targeting existing edges, but does not name a sibling alternative explicitly, so 4.

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?

No explicit when/when-not guidance or alternatives. 'Change ... existing edges' implies use for modifying edge attributes rather than adding/removing, but an agent must infer this from sibling names alone.

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.

Resources