Skip to main content
Glama

review_workflow_draft

Approve (send, optionally with edited text) or discard a pending AI-drafted workflow message (confirm-gated). Sending reaches the client immediately, so only approve after the coach has seen the final text.

Input Schema

NameRequiredDescriptionDefault
textNo
runIdYes
confirmNoMust be true to actually execute. If false/omitted, returns a preview only.
decisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does the important part well: it discloses that approving sends a message to the client immediately (irreversible external side effect) and that execution is confirm-gated. It leaves open whether discard is permanent and whether an edited `text` is re-persisted to the 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?

Two sentences, no filler. The action space comes first and the safety constraint is front-loaded in the second sentence exactly where an agent will see it.

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

Completeness4/5

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

For a 4-param mutation tool with no annotations and no output schema, the description covers the action semantics and the key risk. Missing pieces are minor: what discard returns, whether preview mode (confirm=false) yields the drafted text, and the meaning of runId.

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?

Schema coverage is only 25% (only `confirm` is documented), so the description has to compensate — it explains that `text` is an optional edit applied on approve, and that decision is a binary approve/discard. Only `runId` is left unaddressed, though its purpose is reasonably inferable as the draft run identifier.

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?

States a specific verb pair (approve/discard) and a specific resource (a pending AI-drafted workflow message), which no sibling does — list_workflow_approvals only lists them and send_message_to_client bypasses the draft entirely. An agent can place this tool without opening the schema.

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?

Gives a clear precondition for the dangerous branch: 'only approve after the coach has seen the final text.' It does not state when to prefer discard over approve, or how a draft gets created in the first place (create_workflow / list_workflow_runs), so routing to the draft-generation side is left implicit.

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.