Skip to main content
Glama
Smart Quota Orchestrator

Smart Quota Orchestrator

by ElNeMeR70

sqo_shadow_check

Runs a sub-12ms pre-flight check for syntax errors, unbalanced delimiters, broken relative imports, and merge conflicts across supported languages before expensive builds or tests.

Instructions

Speculative <12ms Pre-Flight Syntax, Balanced Delimiter, Broken Relative Import & Merge-Conflict Guard across Python, JSON, TS/JS, Dart, PHP, Go, and Rust BEFORE running expensive builds/tests.

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": {
      "workspace": "<workspace>"
    },
    "name": "sqo_shadow_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetsNoOptional file/folder paths (defaults to git dirty files).
workspaceYesWorkspace root directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It discloses useful traits: the operation is fast, speculative, and runs across eight language ecosystems. But it never states whether the tool is read-only, what it returns on failure, whether it exits with errors or just reports, or what happens when a target path does not exist — and there is no output schema to compensate.

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?

It is a single tightly packed sentence with the trigger condition front-loaded and no filler. The heavy comma-and-ampersand keyword stacking makes it harder to parse than it needs to be, but nothing is wasted.

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?

For a pre-flight validation tool with complete schema coverage, the description covers scope and timing adequately. The significant gap is return semantics: without an output schema, the agent has no idea whether the result is a pass/fail flag, a per-file diagnostics list, or an error count, which matters for planning a build gate.

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 description coverage is 100%, and both parameters (workspace, targets) are already documented in the schema, including the 'defaults to git dirty files' behavior. The description adds no additional meaning about path formats, glob support, or what happens with directories versus files, so the baseline of 3 applies.

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 names the specific checks performed (syntax, balanced delimiters, broken relative imports, merge conflicts), the languages covered, and the timing constraint (<12ms, pre-flight). It clearly distinguishes this from build/test execution. However, it is a keyword-dense noun phrase rather than a verb+resource statement, which slightly reduces crispness.

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?

The phrase 'BEFORE running expensive builds/tests' gives a clear temporal trigger for use. There is no guidance on when NOT to use it, and no explicit routing to alternatives such as sqo_ci_shield or sqo_drift_guard, which may overlap in scope. Usage is implied rather than prescribed.

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