Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Toolkit Doctor

toolkit_doctor

Verify Python and engine versions against declared licenses and policy tiers, check workspace writability and pint sanity, and optionally scan installed packages for GPL, AGPL, or unknown licenses.

Instructions

Health check: Python version, installed engine versions vs. declared licenses and policy tiers, workspace writability, pint sanity, and (optionally) a license scan of the whole environment flagging GPL/AGPL/unknown distributions.

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": "toolkit_doctor"
  }
}

Input Schema

NameRequiredDescriptionDefault
scan_envNoAlso scan every installed package for GPL/AGPL/unknown licenses (slower). Default true.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoNon-quantity payload (reports, listings)
errorNo
valueNoPrimary quantity result
valuesNoAll named quantity results (includes the primary)
warningsNo
artifactsNo
provenanceYesWhat produced the result and from which inputs.
review_statusNounreviewed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry behavior alone; it does useful work by naming every check performed and disclosing that the environment scan is slower and flags GPL/AGPL/unknown distributions. It stops short of stating that the tool is read-only/side-effect free, or how it reports a failed check versus returning normally.

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?

One front-loaded sentence that leads with the tool's category and then lists checks in order of importance. It is dense but every clause names a distinct check; no filler.

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?

An output schema exists, so return values need not be explained, and the schema fully documents the one optional parameter. The description fills the remaining gap by enumerating the checks, leaving only error/partial-failure behavior unaddressed.

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 coverage is 100%, and the single parameter already documents its default and cost. The description's "(optionally)" and emphasis on the slower whole-environment scan confirm the tradeoff but add little beyond the schema.

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?

"Health check" plus an explicit enumeration of what gets checked (Python version, engine versions vs. declared licenses and policy tiers, workspace writability, pint sanity) makes the purpose concrete and unambiguous. It reads as a self-diagnostic distinct from the engineering-calculation siblings, though it never states that broader role explicitly.

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 word "Health check" implies first-line troubleshooting, but the description never says when to call it (after install, when a calc fails) or when another tool is the better choice. Usage is inferable rather than stated.

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

Deploy Server

Other Tools