magus v0.4.3 is out. See what's new
¶ View markdown source · ✎ Suggest an edit
2 min read

tool-lead

An advisory by default: it explains, and blocks nothing, on a description whose first sentence opens on the tool itself, holds under 4 words or runs past 40 words.

What it catches

A description whose first sentence opens on the tool itself, holds under 4 words or runs past 40 words.

Dimension

structure: the reader has to reconstruct the order or the purpose. A finding is counted on the dimension of its rule, the cost it names to the reader.

Why

A 2026 study of 856 MCP tool descriptions found 56% did not state their purpose clearly, and a model choosing among many tools has only the description to go on. Over the 22 descriptions magus ships (6 MCP tools, 16 skills) the first sentence runs 7 to 45 words and none opens on "This tool" or on the tool's own name. 2 pass 40 words: magus-context-audit (42) and magus-diagram (45), each a list of nouns before the verb's object. The rule only advises, since 2 firings are too few to deny on.

Default decision

The code is PRF9020. The decision depends on the kind of text judged:

Kind Default
tool-description advise

Changing it

A decisions table sets this rule to deny, advise or off, for everything judged or for the files a glob matches. Proofread reads the table from the file its -decisions flag names:

{
  "rules": {"tool-lead": "deny"},
  "paths": {"blog/**": {"tool-lead": "off"}}
}

rules applies to every file. A glob in paths applies to the files it matches, and the last match wins. A rule set to off never reports.

Seeing it

A finding names the rule, its code and the decision that applies, and links here:

{"rule": "tool-lead", "code": "PRF9020", "decision": "advise", "url": "https://eli.gladman.cc/magus/reference/proofread/tool-lead/"}

proofread rules prints this entry with every other rule's.

See also

proofreadrulestool-leadadvise
Last updated (29d8b3de)
Earlier changes on this page (1)

Full history ↗ · Blame source ↗

Glossary

Op

A single tool-native command a target composes (long form: operation); the middle of the work hierarchy (Spell to Op to Target). Op in full.

CI

An ordinary target you compose yourself with ctx.needs; magus does not hardcode its stages. It is the anchor magus affected ci keys off, and ci strips the rw charm. CI in full.

Tool

An action a model can call through its host: a name, a description, a typed input and a result. magus serves its tools over MCP, each a read of the workspace model or a run of the CLI it already has. Tool in full.

Skill

A packaged set of instructions an agent host loads when a task matches its description: a directory holding a SKILL.md. magus ships its magus-* skills in the binary and writes them with magus agent install. Skill in full.

Run

One target executing under one magus invocation, such as magus run test web or magus affected ci. A run keeps its captured output behind an output reference. Every magus run is a run whether or not any job asked for it; see Job for how the two relate. Run in full.

Advisor

One read-only check from the advice suite: it reads the changeset through magus and writes one titled section of findings. The same advisors run as a pull request comment in CI and inside magus diff --impact locally. Advisor in full.

Conventions

This page uses none of the site's convention markers. The full set is on the conventions page.