Skip to main content
Glama
Smart Quota Orchestrator

Smart Quota Orchestrator

by ElNeMeR70

sqo_perf_audit

Detects N+1 database and HTTP calls, sequential awaits, undisposed Flutter controllers, and jsonDecode in build() to flag performance bottlenecks before they ship.

Instructions

Database N+1 Query, Sequential Async Waterfall & Flutter UI-Jank Profiler (v11.0 Hypernova): catches N+1 DB/HTTP calls inside loops, unbatched sequential awaits, undisposed Flutter controllers, and jsonDecode in build().

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_perf_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceYesWorkspace root directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the specific detection categories it runs, which is real behavioral context beyond the name, but it says nothing about whether the tool is read-only, whether it writes reports to the workspace, permission or dependency requirements (e.g. Flutter/Dart toolchain), or how findings are returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence, but it is front-loaded with marketing noise ('v11.0 Hypernova') and a three-part marketing title before the actionable content. The detection list earns its place; the version branding does not.

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 one-parameter static analysis tool with no output schema, the agent still lacks scope information: applicable project types, what the report contains, and whether the scan is expensive. The pattern list partially compensates, but the definition is not complete enough to call confidently.

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?

Only one parameter (workspace) exists and schema description coverage is 100%, so the baseline applies. The description adds no meaning about what the workspace root should point to, whether it must contain a pubspec.yaml, or how the scan is scoped within it.

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 concrete resource and detection targets: N+1 DB/HTTP calls inside loops, unbatched sequential awaits, undisposed Flutter controllers, jsonDecode in build(). An agent can tell it is a performance-pattern scanner. However, it never distinguishes itself from neighboring audit tools such as sqo_ui_audit or sqo_cache_audit, so routing between them is left to inference.

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, no prerequisites, and no named alternative. The list of detected patterns implies the tool is for performance review, but nothing tells the agent when to prefer it over sqo_ui_audit or sqo_benchmark, or whether it applies only to Flutter/Dart workspaces.

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