Skip to main content
Glama

audit_project

Check a project for license and secret risks across vendored assets, declared dependencies, and notices files.

Instructions

License + secret audit of a project: vendored assets, declared dependencies, notices file.

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": {
      "project_dir": "<project_dir>"
    },
    "name": "audit_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNo
project_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/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 not meet it. 'Audit' implies read-only analysis, but 'notices file' is ambiguous — it could mean the audit reads an existing NOTICE file or generates/writes one, which matters a great deal for an agent deciding whether to call it. Nothing is said about permissions, side effects, runtime cost, or whether the result is a report versus a mutated repository.

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 definition is tight and front-loaded with the core action, with no filler sentences. However, it is a sentence fragment that is under-specified rather than concise, and the colon-list format reads as a scope stub rather than usable guidance.

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

Completeness2/5

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

For a two-parameter tool with zero annotation coverage, no output schema, and zero schema description coverage, the description leaves critical questions unanswered. It does not say what the audit returns, whether it writes a notices file, or what a 'profile' selects, so an agent cannot confidently predict the outcome of calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for both parameters and largely fails. 'Of a project' loosely hints at project_dir, but the 'profile' parameter is never mentioned anywhere in the description or schema, leaving its meaning and allowed values entirely opaque.

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-plus-resource ('audit of a project') and enumerates the audited surfaces: vendored assets, declared dependencies, notices file. That is enough for an agent to distinguish this from the sibling check_license, which by name alone targets a single license rather than a whole-project sweep. No explicit sibling naming, so it stops short of 5.

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 routing to alternatives such as check_license or scan_code. An agent must infer that this is the broad project-wide audit versus a single-license check, purely from the words in the description.

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