Skip to main content
Glama

b612 (hakuto AI)

b612 検出ルール一覧

b612_rules

コードに当てる検出ルール(ID・重大度・なぜ危険か・直し方)の一覧を返す。呼び出し側の AI がこのルールを手元のコードに当てて検査する(コードは b612 サーバーに送らない)。握りつぶし / 秘密の直書き / 0行更新の見逃し / タイマー多重起動 / 印刷崩れ / 破壊的SQL / XSS 等。ルールID: swallow-empty-catch, swallow-catch-comment-only, swallow-nullish-default, swallow-nullish-any, supabase-update-without-select, hardcoded-secret, console-log-secret, raf-loop-not-idempotent, setinterval-no-clear, top-level-sdk-client, next-force-dynamic, print-transform-scale, global-element-selector, img-no-dimensions, destructive-sql, bulk-update-no-where, dangerous-html, eval-use, mcp-stdout-log, line-postback-encode, dark-body-light-surface, print-white-text, last-child-visual, aspect-ratio-with-object-position, tap-target-too-small, leftover-min-height, overflow-hidden-full-height, empty-element-no-fallback, fail-open-secret-check, charge-before-persist, fetch-result-ignored

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose the key trait that no code is transmitted to the server — an important privacy/side-effect signal. It also specifies the returned fields. It omits auth, caching, or versioning behavior, but for a zero-parameter static catalog those are largely irrelevant.

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?

The purpose is front-loaded in the first sentence, but the description then appends a raw list of roughly 32 rule IDs. Since the tool itself returns those IDs, the enumeration is largely redundant token weight, even if it does signal coverage breadth. The category summary (swallowed errors, hardcoded secrets, destructive SQL, XSS, etc.) already conveys scope more economically.

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

Completeness4/5

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

For a simple, parameterless catalog tool with no output schema, the description covers what is returned, the fields of each rule, and how the caller is expected to use it. An agent has enough to select and invoke it correctly; only the sibling-differentiation gap keeps it from full completeness.

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?

The tool takes zero parameters, so per the rubric the baseline is 4. There is no parameter surface for the description to explain or for the schema to under-document.

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+resource: it returns a catalog of detection rules with their ID, severity, rationale, and fix. The added explanation that the calling AI applies the rules locally makes the operating model concrete. It does not name any sibling (e.g. b612_review_checklist or b612_principles), so the agent must still infer the boundary itself.

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?

The description gives clear context for how the tool is meant to be used: fetch the ruleset, then apply it to your own local code, with code never being uploaded to the server. That workflow guidance is genuinely useful. It provides no explicit when-not-to-use conditions or named alternatives among the b612 siblings.

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