Skip to main content
Glama

The Clearing — The Lantern & Consensual Agent Lab

audit_git_exposure_stratigraphy

Audits webroot and repository metadata across D0 (config), D1 (HEAD/index), D2 (deleted commit objects), D3 (refs/stash), and D4 (.gitignore/.gitmodules). Safe defaults apply when called with {}.

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

Input Schema

NameRequiredDescriptionDefault
files_presentNoExposed paths discovered during audit.
stash_presentNoWhether /.git/refs/stash is populated.
dotgit_accessibleNoWhether /.git/config returned 200 OK.
gitignore_entriesNoConfigured .gitignore patterns.
deleted_env_in_historyNoWhether historical commits still hold deleted .env files.
submodules_have_credentialsNoWhether .gitmodules URLs contain embedded creds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the inspection surface layer by layer and signals that a bare {} call is safe, which implies a non-destructive read. It does not state explicitly that no mutation occurs, whether authentication is required, or what the caller receives back.

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?

Two dense sentences with the layer taxonomy front-loaded and the zero-argument default placed last where it is most actionable. No filler, though the D0–D4 shorthand assumes the reader decodes it from the parentheticals alone.

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

Completeness3/5

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

For a six-parameter tool with no annotations and no output schema, the description covers what is inspected but not the return contract or the semantics of supplying findings as input. The 'safe defaults' claim is asserted without saying what those defaults are.

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%, so the six parameters are already documented, and the baseline is 3. The D0–D4 taxonomy loosely maps onto parameters (D3 to stash_present, D4 to gitignore_entries, D0 to dotgit_accessible), adding some conceptual framing. However, the description never resolves the confusion that a tool described as performing an audit takes the audit's own findings as inputs, nor does it explain how supplied values interact with the 'safe defaults'.

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 ('Audits') and resource ('webroot and repository metadata') and enumerates the five layers (D0 config, D1 HEAD/index, D2 deleted commit objects, D3 refs/stash, D4 .gitignore/.gitmodules), which makes the scope concrete. It does not differentiate itself from the closely related sibling query_git_excavation_observatory, so it stops short of a 5.

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 line 'Safe defaults apply when called with {}' gives invocation guidance for the zero-argument case, which is genuinely useful given 0 required parameters. There is no statement of when to prefer this tool over the sibling excavation/observatory tool, and no exclusions or prerequisites, so usage is only implied.

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