Skip to main content
Glama

revise_workflow

Start a new review linked to an earlier one when a workflow changes. It identifies changed fields and requires fresh evidence for every check.

Instructions

Start a new review linked to an earlier one, for a changed workflow. It lists the changed fields, and every check needs fresh evidence.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "review_id": "<review_id>",
      "trigger": "<trigger>",
      "data": "<data>",
      "actions": "<actions>",
      "approval": "<approval>",
      "recovery": "<recovery>"
    },
    "name": "revise_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesWhat data the workflow reads, and where it comes from.
actionsYesWhat the workflow can do: draft, send, refund.
triggerYesWhat starts the workflow, e.g. a new support ticket.
approvalYesWho or what must approve before an action happens.
recoveryYesHow the workflow is stopped and its effects undone.
review_idYesThe review's id, from start_review or list_reviews.

Output Schema

NameRequiredDescriptionDefault
reviewYes
open_findingsYesChecks that have not passed yet.
recommendationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare that the tool is not read-only, not idempotent, and not destructive. The description adds the important behavioral point that revising creates a new review rather than modifying the old one, and that every check requires fresh evidence, so prior test results do not carry over. That last point is a significant additional detail no annotation conveys, although it still does not say how the earlier review is treated, for example whether it is superseded or left open.

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

Conciseness4/5

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

Two short sentences are front-loaded with the core action, and the second sentence adds the non-obvious rules. The wording is slightly compressed: 'It lists the changed fields' takes a mental leap to connect to the six arguments.

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?

With six required parameters, full schema coverage, an output schema, and non-trivial annotations, the description covers the essentials: what it creates, what it links to, and the fresh-evidence rule. What is left is minor: the prior review's fate and the required permissions/context are not described.

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 all six arguments are documented in the schema; two sentences cannot improve on that and do not try. The phrase 'It lists the changed fields' loosely implies that trigger, data, actions, approval, and recovery are the fields being compared against the prior review, which adds some framing, but no argument is explained in the description itself.

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?

The description gives a specific action: starting a new review that is linked to an earlier review to cover a changed workflow. This sets it apart from `start_review`, which begins a review from scratch, and from the list tools. It does not name the sibling tool it differs from, so the reader must infer the contrast from the phrase 'linked to an earlier one'.

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?

'for a changed workflow' implies when to use it: you already have a review, and the workflow definition changed, so you need a linked revision. There is no explicit statement of when not to use it, and no direct reference to alternatives such as start_review for a brand-new workflow. This is usable guidance, but it is inferred rather than stated.

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