Skip to main content
Glama

Save workflow draft

save_workflow_draft
Destructive

Validate and save a workflow declaration as a draft. This tool cannot publish or activate the workflow. Each input_bindings entry on a check is a fact ID, { "literal": value } for a fixed plain-text value (never a secret), or { "case": "case_id" | "case_reference" | "external_case_id" }. A parameter left out uses the connector's default.

Input Schema

NameRequiredDescriptionDefault
workflowYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false, so the safety profile is covered structurally. The description adds genuine behavioral context beyond that — validation occurs on save, publishing/activation is out of scope, and omitted parameters fall back to the connector's default — though it never explains the destructive/overwrite risk that destructiveHint=true implies for an existing draft.

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 sentences, front-loaded with the action and its scope limit before the binding-format detail. Given the empty schema, the encoding sentence fully earns its place; there is no filler.

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?

Returns are not explained, which is acceptable given no output schema, and the binding semantics are well covered. The main gap is structural: the sole required parameter is a free-form object with zero schema documentation, and the description does not sketch what a valid workflow declaration contains, leaving the agent unable to construct the input from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema is an untyped open object (additionalProperties: true, 0% description coverage, one nested object), so the description must carry the semantics — and it partially does by decoding input_bindings entry forms (fact ID, {literal}, {case}), flagging that literals must never be secrets, and stating default behavior for omitted parameters. It stops short of describing the rest of the workflow declaration's shape.

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?

Specific verb+resource ("Validate and save a workflow declaration as a draft") plus a scope limit ("cannot publish or activate"). It does not name or differentiate against any sibling tool (e.g. save_intake_draft, list_workflows), so the reader must infer which draft-saving tool applies from the noun alone.

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

Usage Guidelines4/5

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

Provides a clear when-not ("cannot publish or activate the workflow"), which steers an agent away from expecting a live deployment. However it names no alternative tool for actually publishing/activating, and gives no preconditions (e.g. a draft must first exist, or how to discover one via list_workflows).

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