Skip to main content
Glama

Publish ProteinIQ Workflow

publish_workflow

Validate and publish the current draft as an immutable revision. Does not start a run or spend compute. Publish only after the user has approved the intended workflow.

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": {
      "workflow_id": "<workflow_id>",
      "expectedDraftVersion": "<expectedDraftVersion>"
    },
    "name": "publish_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_idYes
expectedDraftVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / expectedDraftVersion
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "workflow_id"
      -]New value: +[
      +  "workflow_id",
      +  "expectedDraftVersion"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Adds material context beyond the annotations: validation happens before publishing, the result is an immutable revision, no compute is spent, and no run is started. These are real behavioral facts the agent could not infer from readOnlyHint=false / destructiveHint=false. It does not say whether publishing is reversible or what happens to the draft afterward.

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 the action, then the scope limits, then the precondition. Nothing is redundant and every clause carries information.

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?

Behavior is well covered for a mutation with no output schema, but with two required parameters at 0% schema coverage the definition leaves the agent guessing about expectedDraftVersion's staleness semantics — a gap that matters for a publish call.

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?

Schema description coverage is 0%, so the description must carry both parameters — and it explains neither. Critically, the optimistic-concurrency meaning of expectedDraftVersion (reject the publish if the draft has moved on) is nowhere stated, and workflow_id's format is undocumented.

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 pair (validate and publish) against a specific resource (the current draft) with a stated outcome (immutable revision). It implicitly separates itself from start_workflow and validate_workflow by the 'does not start a run' clause, though it never names those siblings directly.

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?

Explicitly states the precondition 'publish only after the user has approved the intended workflow' and explicitly excludes the run-starting case. It lacks a direct pointer to validate_workflow or get_workflow_draft as the alternatives to use first, so it falls just short of full routing guidance.

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