Skip to main content
Glama

probe_exposure

Probes a deployed app's origin for exposed .env/.git/debug paths, missing security headers, and source-map leaks to flag pre-launch exposure risks.

Instructions

Preflight check #11: GET-only probes against the given URL's origin (5s timeouts, no cross-host redirects): /.env, /.git/HEAD, /.git/config, /debug, plus security headers (CSP/HSTS/X-Content-Type-Options) and source-map references on the base page.

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

Input Schema

NameRequiredDescriptionDefault
urlYesBase URL of the deployed app, e.g. https://app.example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so well: GET-only (non-mutating), 5s timeouts, no cross-host redirects, and the exact probe list. It stops short of stating whether the caller must be authorized to test the target or how failures are surfaced.

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 dense sentence that front-loads the action and target, then lists the checks so an agent can judge relevance at a glance. The parentheticals are information-bearing rather than filler, though the sentence is long.

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?

The input side is fully covered and the check set is explicit, but with no output schema and no description of what findings look like (per-path hits vs. missing-header notes), the agent cannot anticipate the response shape.

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

Parameters4/5

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

Schema coverage is 100% for the single url parameter, so baseline is already met; the description additionally clarifies that probes are made against the URL's origin rather than the full path, which is meaningful disambiguation beyond the schema's 'Base URL of the deployed app'.

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 action (GET-only probes) against a specific resource (the URL's origin) and enumerates the exact paths and header checks, so the agent knows precisely what the tool inspects. It does not, however, distinguish itself from siblings like scan_secrets, which may overlap in intent.

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 'Preflight check #11' label implies this belongs to a staged pre-deployment sequence, giving implicit usage context. There is no explicit when-to-use/when-not guidance and no routing to or away from the sibling scanning tools.

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