Skip to main content
Glama

gluecron_prioritize_workflow_run

Idempotent

Move a QUEUED workflow run into the priority lane: the runner claims it ahead of the class order, highest level first (normal < high < critical), then oldest (issue #10898). The lane holds at most a third of the runner slots, so prioritizing many runs cannot starve the rest. Calling again on a prioritized queued run changes its level. Only queued runs; a running or finished run is reported, not changed. Requires 'repo' scope and write access; high and critical also require a site admin.

Input Schema

NameRequiredDescriptionDefault
repoYes
levelNonormal (default) | high | critical — high and critical need a site admin
ownerYes
run_idYesThe run's id, or a unique leading part of it (8+ hex characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / level
      Added value: +{
      +  "description": "normal (default) | high | critical — high and critical need a site admin",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), it discloses the scheduling semantics (priority lane, level ordering normal < high < critical, then oldest), the lane capacity cap of a third of runner slots preventing starvation, re-invocation changing level, and explicit auth requirements ('repo' scope, write access, site admin for high/critical). This is exactly the operational context an agent needs.

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?

Front-loaded with the core action, then layers ordering, capacity, repeat-call, state, and auth constraints in dense but non-redundant sentences. Every sentence adds information an agent would otherwise have to guess.

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

Completeness5/5

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

For a mutation tool with no output schema, the description covers preconditions (queued only), side effects (claim ordering, lane capacity), idempotency behavior, and permission requirements. Nothing material to calling it correctly is missing.

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 50% (owner and repo undocumented), but the description compensates for the key parameter by explaining the level ordering and that high/critical require site admin, and echoing run-id targeting via 'queued run'. owner/repo remain undescribed but are self-evident conventions.

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 and resource: moving a QUEUED workflow run into a priority lane, with the exact claim ordering (level, then oldest). It is clearly distinguishable from siblings like cancel_workflow_run, list_workflow_runs, or get_workflow_run, which operate on runs but do not reorder scheduling.

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 when-to-use condition (only queued runs) and a when-not condition (a running or finished run is reported, not changed), plus repeat-call semantics. It does not name an alternative sibling tool, but the state constraint and level guidance are sufficient to route an agent correctly.

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