Skip to main content
Glama

Scale Gates and Work Loop Map

scale_gates
Read-onlyIdempotent

Assess one or more work loops against G0–G4 gates and return blocking nodes, readiness, Work Loop Map quadrant, and a recommended sequence; open contested decisions block G1.

Instructions

Gate check and portfolio view for one or more work loops: for each loop the gate it has really reached (G0 Mapped to G4 Core), the nodes blocking the next gate, readiness, and its quadrant on the Work Loop Map (value x readiness), plus a recommended sequence. A loop with a contested decision open cannot pass G1.

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": {
      "loops": "<loops>"
    },
    "name": "scale_gates"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already establish the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description's burden is lower and it does add one genuinely non-obvious rule: an open contested decision caps the loop below G1. However, it does not explain how readiness or the recommended sequence are derived, whether missing nodes are treated as blank, or what happens with multiple loops in the portfolio view.

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?

A single front-loaded sentence that leads with the purpose and then enumerates outputs in a scannable order; the G1 rule is appended where it belongs. It is dense but nearly every clause carries information, with only mild redundancy between the title and the opening phrase.

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?

There is no output schema, and the description compensates well by naming each returned element (gate level, blocking nodes, readiness, quadrant, recommended sequence). The input side is the gap: for a single required parameter with a rich nested structure and 0% coverage, the description should at least sketch the loop record, and it does not.

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?

With schema description coverage at 0% at the top level, the description must carry the input semantics, and it largely does not. It never documents the 'loops' array shape, the twelve named nodes, the node status values (blank/draft/signed with the owner requirement for signed), the 1-5 'value' field, 'handoffs_to', or that 'contested_decisions' is an integer count. Only 'value x readiness' obliquely hints at the value parameter, which is below what a 0%-coverage schema requires.

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 states a concrete analytical purpose: 'Gate check and portfolio view for one or more work loops,' and enumerates exactly what is computed (gate reached G0-G4, blocking nodes, readiness, Work Loop Map quadrant, recommended sequence). That is far more specific than the tool name alone. It does not, however, contrast itself with the likely-adjacent sibling work_loop_canvas, so an agent gets no explicit differentiation signal.

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 statement of when to call this versus an alternative, no prerequisites, and no exclusions. The only conditional in the text ('a loop with a contested decision open cannot pass G1') is a scoring rule about results, not guidance about invocation. Usage is at best implied by the purpose sentence.

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