Skip to main content
Glama

set_chain_status

DestructiveIdempotent

Update a chain's status to active, paused, blocked, complete, or archived and validate state transitions to prevent invalid workflow changes.

Instructions

Update chain status with state transition validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds one genuine behavioral fact beyond that — that transitions are validated — but it never states which transitions are legal, what happens on an invalid transition, or the consequences of terminal states like archived. For a destructive mutation, that is a meaningful gap.

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?

One sentence, front-loaded with the verb and resource, with zero filler. It is efficient, though the brevity is part of the under-specification problem rather than pure conciseness.

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?

An output schema exists, so return values need not be explained. But for a destructive, state-machine-driven tool sitting among many single-purpose transition siblings, the description omits the transition rules, the terminal-state semantics, and the routing rationale — the exact information an agent needs before invoking it.

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

Parameters2/5

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

Reported schema description coverage is 0%, so the description carries the burden and adds nothing: it names neither chain_id nor the status value set. The enum of valid statuses and the field meanings live only in the schema, and the description does not compensate for that thin coverage or explain the relationship between the two parameters.

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 gives a specific verb and resource ('Update chain status'), which is clearer than a tautology. However, it does not distinguish this tool from siblings that perform what look like subsets of the same operation (pause_chain, resume_chain, complete_chain, archive_chain), so an agent cannot tell why it would call the generic setter instead of a named transition.

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 when-to-use guidance at all: no named alternatives, no conditions selecting this tool over the dedicated transition tools, and no preconditions. The only guidance is implied by the words 'state transition validation', which is not enough to route an agent.

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