Skip to main content
Glama

api_surface_check

Probes common API and exposure routes using plain GET requests to find endpoints that answer without authentication. Read-only; classifies exposure file bodies without returning them.

Instructions

Inventory common API and exposure routes on the target with plain GET requests and report which ones answer with no authentication at all. Exposure file bodies are classified, never returned. Read only, no payloads.

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": "api_surface_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.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 and does add useful context: it uses plain GET requests, reports unauthenticated routes, and never returns exposure file bodies. It still omits rate limits, redirect behavior, and whether scanning may be intrusive or leave artifacts.

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 three short sentences and front-loads the core inventory-and-report purpose. There is minor overlap between 'plain GET requests', 'Read only', and 'no payloads', but no significant wasted wording.

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?

Given that this is a security scanning tool with no annotations and no output schema, the description explains the main purpose and payload-handling constraint but leaves result shape, scan scope, and operational limits unspecified. Adequate, but not complete for the tool's complexity.

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?

The single target parameter is fully described in the schema, including an example URL and authorization warning. The description adds no additional meaning about the target parameter beyond what the schema already provides.

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 states a specific action and resource: inventory common API and exposure routes, using plain GET requests, and report unauthenticated responses. This is clear enough to distinguish it from a broad secret scan, though it does not explicitly name sibling alternatives.

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 description implies reconnaissance usage and the schema warns to only test owned or authorized systems. It does not explicitly say when to prefer this over console_exposure_check, header_check, sourcemap_check, token_config_check, or secret_scan.

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