Skip to main content
Glama

Exposed Files Check

exposed_files_check
Read-onlyIdempotent

Probe a site for publicly exposed sensitive files attackers scan for: /.env and variants, /.git/config and /.git/HEAD, /.svn/entries, docker-compose files, /.aws/credentials, /.ssh/id_rsa, database dumps (backup.sql, db.sql, dump.sql), backup archives, phpinfo pages, .DS_Store, and similar. Reports ONLY reachability metadata (path, status, content type, size) — file contents are never returned or stored. A random-nonexistent-path baseline filters out SPA/catch-all false positives. For auditing your own sites' exposure.

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": {
      "url": "<url>"
    },
    "name": "exposed_files_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAny URL on the site to probe (origin is derived from it)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint, idempotentHint, destructiveHint=false), the description discloses the return contract ("ONLY reachability metadata — path, status, content type, size"), a privacy guarantee ("file contents are never returned or stored"), and a false-positive mitigation (random-nonexistent-path baseline against SPA catch-alls). These are genuinely non-obvious behavioral traits an agent could not infer from structured fields.

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?

The description is front-loaded with purpose and scope, then layers the non-disclosure guarantee and baseline logic. The long enumeration of probed paths is dense but earns its place by telling the agent what the scan actually covers; minor tightening of the path list would improve it.

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

Completeness5/5

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

With no output schema, the description compensates by specifying the returned fields (path, status, content type, size) and the baseline noise-filtering behavior. For a one-parameter read-only probe, an agent has everything needed to call and interpret it correctly.

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?

There is a single parameter with 100% schema description coverage, which already states "Any URL on the site to probe (origin is derived from it)". The description adds no further meaning about the url parameter — no accepted formats or behavioral notes — so the schema does all the work and the baseline 3 applies.

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 description opens with a specific verb and resource ("Probe a site for publicly exposed sensitive files") and enumerates the exact paths targeted (/.env, /.git/config, /.aws/credentials, db dumps, .DS_Store). This is clearly distinguishable from sibling security tools such as security_headers_audit or safe_browsing_check, which cover different concerns.

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?

The closing line "For auditing your own sites' exposure" supplies an explicit use context and implicitly scopes out unauthorized scanning. It does not name a sibling alternative or state when-not to use the tool, so it falls short of full routing guidance, but the intended context is unambiguous.

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.