Skip to main content
Glama

sourcemap_check

Check whether source maps for a target site's scripts are publicly reachable, exposing original source code. Use this read-only audit only on systems you own or are authorized to test.

Instructions

Check whether source maps for the target scripts are publicly reachable. A reachable source map hands anyone the original source code. Read only.

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": {
      "target": "<target>"
    },
    "name": "sourcemap_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesFull URL of the site or host to check, for example https://example.com. Only check systems you own or are authorized to test.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 burden, and it does declare 'Read only', which is the most important behavioral fact for a security probe. It also explains the consequence of a positive finding (original source exposed), which adds real context. However, it says nothing about the shape of the result (boolean vs. per-script list), whether it follows redirects or fetches the map contents, or any rate/scope limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and followed by the risk rationale and the read-only guarantee. No sentence is filler; each adds either scope, motivation, or a behavioral fact.

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 one-parameter read-only check with no output schema, the description is mostly sufficient, but it never indicates what a result looks like or whether the check enumerates individual scripts. The authorization constraint is a plus. An agent can call it correctly but cannot anticipate the response structure.

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, including an example URL and an authorization note. The description adds no format or interpretation detail beyond the schema, so the baseline of 3 applies.

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?

The description gives a specific verb and resource: check whether source maps for the target's scripts are publicly reachable. It implicitly distinguishes itself from siblings like secret_scan or header_check by naming source maps as the asset. It stops short of explicitly contrasting with any sibling tool, which keeps it at 4.

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 statement of when to use this versus the other exposure checks (api_surface_check, console_exposure_check, secret_scan) or when it is unnecessary. The only guidance is the authorization caveat, which is a legal/safety constraint rather than usage routing. An agent must infer the trigger condition from the purpose sentence alone.

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