Skip to main content
Glama

hub_audit

Compare declared work with actual events and convert each disagreement into an owned incident task; read-only by default, apply to file one incident task per finding and write one report.

Instructions

Compare what the hub DECLARES with what actually happened, and turn each disagreement into an incident somebody owns. Checks: a money bet whose gate date passed with no decision since · a project whose share of the journal contradicts the MODE its card declares · owner buttons nobody pressed · a card that stopped following its own journal · tasks with no project. Read-only by default; apply files one incident task per finding and writes ONE report. Every finding quotes the rule it enforces with the date that rule was written (HUB/rules.json -> laws), because an engine's opinion carries no weight and your own past decision does. Findings are keyed, so a weekly run never files the same incident twice. NOT a dashboard: the numbers it prints (attention share, close rates) are a thermometer and are never filed as violations.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hub_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNorequired with apply: the function you are performing, e.g. "auditor-weekly"
daysNowindow for the attention/close-rate numbers, default 7
fullNoreturn everything, uncapped. By default long lists are trimmed (and, where the description says so, long texts cut) to fit an agent context, and what was left out is reported in `truncated`.
applyNofile the incidents (requires by). Default false — look first.
staleButtonDaysNoan owner button older than this is a finding, default 7

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.88
    • changedInput schema / properties / full / description
      Previous value: -"return everything, uncapped. By default long lists are trimmed to fit an agent context and what was left out is reported in `truncated`."New value: +"return everything, uncapped. By default long lists are trimmed (and, where the description says so, long texts cut) to fit an agent context, and what was left out is reported in `truncated`."
  2. Addedv0.9.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it declares the default is read-only, that `apply` files exactly one incident task per finding and writes ONE report, that findings are keyed so re-runs are idempotent, and that every finding quotes a rule from HUB/rules.json -> laws. It also discloses the visibility tradeoff that uncapped output is opt-in via `full` and omitted items are surfaced in `truncated`.

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?

Purpose is front-loaded in sentence one, the failure modes are listed compactly with middot separators, and the mode/behavior facts follow in order of decision importance. The aside justifying rule-quoting ('an engine's opinion carries no weight and your own past decision does') is persuasive flourish rather than operational information, and the heavy capitalization/em-dash styling adds length without adding selectable detail.

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?

There is no output schema, so the description must explain what comes back; it covers the report, the `truncated` accounting, incident filing, and idempotency, which is enough to call the tool safely. It never sketches the shape of a finding or the report beyond 'one incident task per finding,' leaving an agent to discover the field layout only after invoking it.

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 100%, so the baseline is 3; the description goes further by giving `apply` a concrete effect ('files one incident task per finding and writes ONE report') and implying `by` is the caller identity tied to that write, plus explaining why the keyed findings matter for repeat runs. The audit-specific checks give context for `staleButtonDays` and `days` without restating formats. It stops short of documenting how `truncated` behaves numerically, which the schema covers anyway.

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?

The opening sentence states a specific verb pair and resource: 'Compare what the hub DECLARES with what actually happened, and turn each disagreement into an incident somebody owns.' It then enumerates the exact checks (money bet with passed gate date, project share vs declared MODE, unpressed owner buttons, card off its journal, projectless tasks), and the closing 'NOT a dashboard' line separates it from a reporting/metrics sibling. An agent can tell what this does and what it is not without opening the schema.

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?

It clearly frames the two modes: read-only by default ('look first') versus `apply`, and notes a recurring use case ('a weekly run never files the same incident twice'). It also carves out a non-use — the attention/close-rate numbers 'are never filed as violations.' What it lacks is an explicit contrast with named siblings such as hub_lint or hub_report; the differentiation is by description of behavior rather than by instructing which tool to pick.

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